News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Too many warnings

Started by freddysatellite, March 04, 2007, 04:41:22 PM

Previous topic - Next topic

freddysatellite

I was installing CodeBlockers from source and during make i've noticed a lot of warnings because GCC_PRAGMA not defined.. Is that okey
-I've downloaded the March-02-2007 build

I am using Ubuntu (drapper)
I have installed wxWidget 2.8.0 from the Sypnatic package manager
then configure with this line
./configure --with-wx-config=/usr/bin/wx-config --enable-contrib --prefix=/opt/codeblocks-svn

Is that okey to have all those warnings?

OOPS... Did not make it complete got these errors:
make[3]: *** [codeblocks] Error 1
make[3]: Leaving directory `/home/federico/Desktop/develop/trunk/src/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/federico/Desktop/develop/trunk/src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/federico/Desktop/develop/trunk/src'
make: *** [all-recursive] Error 1

Auria

Quoteinstalled wxWidget 2.8.0

Code::Blocks doesn't yet support wxWidgets 2.8, install 2.6 and it should work

freddysatellite

Well I did start the process from zero using 2.6.3 wxWidgets, and after several minutes i've got these errors:
./wxsbitmapiconproperty.cpp:165: error: 'cbU2C' was not declared in this scope
make[6]: *** [wxsbitmapiconproperty.lo] Error 1
make[6]: Leaving directory `/home/federico/develop/trunk/src/plugins/contrib/wxSmith/wxwidgets/properties'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/federico/develop/trunk/src/plugins/contrib/wxSmith/wxwidgets'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/federico/develop/trunk/src/plugins/contrib/wxSmith'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/federico/develop/trunk/src/plugins/contrib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/federico/develop/trunk/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/federico/develop/trunk/src'
make: *** [all-recursive] Error 1

stahta01

FYI:

wxSmith is changing very fast and the developer uses windows.
Very often extra includes are needed for Linux.
Note, I think the issue you reported was already reported else where, please try the newest SVN and see if the error goes away.

If that does NOT work try adding the following include.

#include <globals.h> // cbU2C

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]