User forums > Using Code::Blocks
In Build, Trying to Bring In A Non-standard Include Folder
sefronia:
In my global assignments I have the compiler set to GNU GCC Compiler. And yet, your theory, jens, is that somehow there are M$ (Is this Microsoft?) options associated with my configuration. So the MinGW compiler (synonymous with GNU GCC Compiler, am I correct?) sees these MS options (Zi, D_DEBUG, MDd) with which it is not familiar and interprets them to be directories which it then cannot find. Is my understanding of this correct? Might this have something to do with the fact that I have had this code running successfully in MS Visual Studio PE2005, and something in the code is telling CodeBlocks to associate these heldover options? Or is it more likely that I have not yet made all of my CodeBlocks compiler and project assignments comprehensively accurate and specific enough yet?
In my next post I will attach the very short piece of code which I am attempting to compile and run. Thanks!
oBFusCATed:
That happens when you switch the compiler for the target/project you are compiling.
From MS C++ to GCC and the reverse. C::B doesn't know how to match the options from one compiler to the other.
sefronia:
oBFusCATed,
I certainly don't mean to sound flippant here, but what's the fix?
Thanks,
sefronia
oBFusCATed:
Hm, you have not clicked around the Build options dialog, it seems ...
So here is your solution: project -> build options -> the target you are building and the project (root) -> compiler settings -> other settings -> delete anything wrong here
sefronia:
OK, I have nothing assigned under compiler settings -> other settings. I only have made assignments under linker settings and search directories tabs in the same window, and there I have assigned paths to my external library and my external includes. Thx, s.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version