Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: jravan on October 07, 2005, 04:00:09 am
-
By default, where are "system" header files searched for? My code can't find "<windows.h>" which seems to already be in the CodeBlocks /include directory. I'm using the VC++ Toolkit compiler.
Or do I need the platform SDK installed? I've been using Visual Studio 6.0 up to this point and I'm afraid I might mess something up by installing the platform SDK on a machine that has Visual Studio 6.0 already installed on it.
regards,
-jim
-
I'm using the VC++ Toolkit compiler. Or do I need the platform SDK installed?
If you're using the VC++ toolkit, then yes, you NEED the platform SDK.
-
If you have an include/ folder in codeblocks installation dir, then this is the MinGW compiler dir.
For VCToolkit you need the PlatformSDK. When you install it, go to "Settings->Compiler->[choose vctoolkit]->Programs" and press "Auto-detect"...
-
And for the first question, when you use <foo.h> syntax, the compiler search into the provided include path (/I options with VC++) for the file and stop with an error message if the file is not found.