Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: TheAudiophileDutchman on June 21, 2008, 05:17:13 pm
-
Just downloaded C::B v8.02 and Juce 1.46. Building the Juce source as a static lib, using C::B together with the MSVC++ Express 2008 Compiler, works like a charm! :)
...but, as a C::B newbee, trying to do the exact same thing with the supplied MinGW (GCC) Compiler results in countless errors & warnings... Why? How to solve? :?
TAD
-
Can't tell about 1.46... I've only used 1.45 so far. That one, however, compiles just fine out of the box.
Without knowing the version of your gcc and at least some of the error messages, it's impossible to tell what's going on, too.
Two possibilitites I see are:
a) Maybe you're using the wrong projectfile to build it, and the error messages are because MSVC commandline options are fed to gcc
b) Maybe you're using a very new version (4.3/4.4) of gcc. The newest versions are very strict regarding standard compliance which sometimes causes problems with code that would compile fine with older compilers.
-
Thanks for your quick response. Here's some extra info:
Included in the C::B v8.02 package are the following gcc related files:
gcc-core-3.4.5-20060117-1-vista.tar.gz
gcc-g++-3.4.5-20060117-1-vista.tar.gz
mingw-runtime-3.14.tar.gz
mingw32-make-3.81-2.tar.gz
mingw-utils-0.3.tar.gz
w32api-3.11.tar.gz
binutils-2.18.50-20080109.tar.gz
gdb-6.7.50.20071127-mingw.tar.bz2
Attached you can find the gcc build log of Juce 1.46 with 16 errors and 130 warnings. :?
[attachment deleted by admin]