News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

wx_pch.h problem/warnings

Started by nacitar, February 22, 2006, 03:10:13 AM

Previous topic - Next topic

nacitar

I absolutely must figure out why this is happening, the program works without it for now, but this error needs to go away, i have no idea how to fix it.  I'm using the february 21 2006 nightly and using the VC Toolkit 2003.  Here is my error...

-------------- Build: default in wxTester ---------------
cl.exe /nologo /MD /GA /GX /O1 /DNDEBUG /DWIN32 /D_WINDOWS /DWINVER=0x400 /D_MT /DwxUSE_GUI=1 /GX  /IC:\Dev\wxWidgets-2.6.2\include /IC:\Dev\wxWidgets-2.6.2\lib\vc_lib\CodeBlocks\msw /IC:\Dev\wxWidgets-2.6.2\contrib\include /IC:\Dev\VCToolkit2003\include /IC:\Dev\PlatformSDK2003SP1\Include /IC:\Dev\DotNetSDK\v2.0\include /IC:\Dev\DirectXSDK\Include  /c wx_pch.h /Fowx_pch.h.gch\default_wx_pch.h.gch
cl : Command line warning D4024 : unrecognized source file type 'wx_pch.h', object file assumed
cl : Command line warning D4027 : source file 'wx_pch.h' ignored
cl : Command line warning D4021 : no action performed


Why am i getting that?  the wx_pch.h file is there, and the wx_pch.h.gch folder is being created, but the .gch file itself is not.  What might my problem be?
Jacob McIntosh - Software Developer

nacitar

forgot to mention, this was made with the static lib option for wxwidgets application template, made just to test things out... I also added a few windows libs to make it happy.
Jacob McIntosh - Software Developer

MortenMacFly

#2
Quote from: nacitar on February 22, 2006, 04:06:44 AM
forgot to mention, this was made with the static lib option for wxwidgets application template, made just to test things out... I also added a few windows libs to make it happy.
Try not to use "precompiled headers" (PCH) - to be found on the project setup - with a Microsoft compiler/linker.
Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

mandrav

Precompiled headers currently are only supported for GCC...
Be patient!
This bug will be fixed soon...

MortenMacFly

#4
Quote from: mandrav on February 22, 2006, 08:42:36 AM
Precompiled headers currently are only supported for GCC...
...that's what I actually tried to say, too. :lol:
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

nacitar

Ah, that explains it.  No worries :).  Thanks for the quick reply, I just wanted to know _why_ I got that message so that I could adjust.  CodeBlocks is seeming to be rather nice so far.
Jacob McIntosh - Software Developer