Code::Blocks Forums
User forums => Help => Topic started by: smallB on December 01, 2012, 05:42:40 pm
-
Guys, I'm trying to build POCO lib with codeblocks, according to:
http://gluescript.sourceforge.net/?q=node/22
Last bullet there states (I did successfully all previous steps):
"Make sure the Foundation project selects the gcc compiler, not the g++ compiler because zlib compilation fails with g++."
How can I make sure that gcc will get selected not g++?
Thanks.
-
How can I make sure that gcc will get selected not g++?
In the compiler setup, setup gcc.exe as compiler for C++, too.
If this conflicts with other project of yours, make a copy of the GCC compiler and name it "GCC, C only" or alike. Then use this compiler with the projects targets, where needed.
-
Hi Morten
Thanks for your reply. Now I'm getting error:
C:\...\poco-1.5.0\Foundation\src\Environment_VX.cpp|41|fatal error: envLib.h: No such file or directory|
Any idea why? And how to fix it?
-
There is also the warning:
"Make sure you use the latest version of MinGW! Don't use the version that is shipped with Codelite or Code::Blocks"
Are you?
-
#scarphin no, I'm using gcc 4.7.1 by tdm
-
Files ending in _VX.cpp are only needed for VxWorks embedded devices.
Files ending in _WINCE.cpp are only needed for Windows CE.
I simply removed all the files that were giving errors from the project and it compiled without trouble.