Hi,
I'm on Gentoo ~amd64 with wx2.6, and for some time I can't build codeblocks with contribute plugins enabled.
The error message is:
make[6]: Entering directory `/var/tmp/portage/dev-util/codeblocks-9999-r19/work/codeblocks-9999/src/plugins/contrib/wxSmith/wxwidgets/defitems'
if /bin/sh ../../../../../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../../../src/include -I/usr/lib64/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../../../../src/include -I../../../../../../src/include/wxFlatNotebook/include -I../../../../../../src/include/wxscintilla/include -I../../../../../../src/include/wxFlatNotebook -I../../../../../../src/include/propgrid/include -DWXMAKINGLIB_PROPGRID -DwxPG_COMPATIBILITY_1_0_0 -Ulinux -Uunix -O2 -ffast-math -march=opteron -fweb -frename-registers -O2 -pipe -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT wxstoolbar.lo -MD -MP -MF ".deps/wxstoolbar.Tpo" -c -o wxstoolbar.lo `test -f './wxstoolbar.cpp' || echo './'`./wxstoolbar.cpp; \
then mv -f ".deps/wxstoolbar.Tpo" ".deps/wxstoolbar.Plo"; else rm -f ".deps/wxstoolbar.Tpo"; exit 1; fi
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../../../src/include -I/usr/lib64/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../../../../src/include -I../../../../../../src/include/wxFlatNotebook/include -I../../../../../../src/include/wxscintilla/include -I../../../../../../src/include/wxFlatNotebook -I../../../../../../src/include/propgrid/include -DWXMAKINGLIB_PROPGRID -DwxPG_COMPATIBILITY_1_0_0 -Ulinux -Uunix -O2 -ffast-math -march=opteron -fweb -frename-registers -O2 -pipe -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT wxstoolbar.lo -MD -MP -MF .deps/wxstoolbar.Tpo -c ./wxstoolbar.cpp -fPIC -DPIC -o .libs/wxstoolbar.o
./wxstoolbar.cpp: In function 'const wxsStyleSet*<unnamed>::GetwxsToolBarStylesStyleSet()':
./wxstoolbar.cpp:77: error: 'wxTB_TOP' was not declared in this scope
./wxstoolbar.cpp:78: error: 'wxTB_LEFT' was not declared in this scope
./wxstoolbar.cpp:79: error: 'wxTB_RIGHT' was not declared in this scope
./wxstoolbar.cpp:80: error: 'wxTB_BOTTOM' was not declared in this scope
make[6]: *** [wxstoolbar.lo] Error 1
make[6]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999-r19/work/codeblocks-9999/src/plugins/contrib/wxSmith/wxwidgets/defitems'
I'm building a svn head version...
Thanks in advance,
Teodor
Look at this thread i think it must be related
http://forums.next.codeblocks.org/index.php/topic,6339.0.html
oBFusCATed: why don't you install wx 2.8.4? There's an ebuild right here (http://bugs.gentoo.org/show_bug.cgi?id=145884) which installs in another slot.
That's what I'm using right now in my Gentoo amd64 (with many packages ~amd64) and it's working lovely, even better than with 2.6.3.
Quote from: oBFusCATed on July 04, 2007, 12:31:44 AM
make[6]: Entering directory `/var/tmp/portage/dev-util/codeblocks-9999-r19/work/codeblocks-9999/src/plugins/contrib/wxSmith/wxwidgets/defitems'
if /bin/sh ../../../../../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../../../src/include -I/usr/lib64/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../../../../src/include -I../../../../../../src/include/wxFlatNotebook/include -I../../../../../../src/include/wxscintilla/include -I../../../../../../src/include/wxFlatNotebook -I../../../../../../src/include/propgrid/include -DWXMAKINGLIB_PROPGRID -DwxPG_COMPATIBILITY_1_0_0 -Ulinux -Uunix -O2 -ffast-math -march=opteron -fweb -frename-registers -O2 -pipe -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT wxstoolbar.lo -MD -MP -MF ".deps/wxstoolbar.Tpo" -c -o wxstoolbar.lo `test -f './wxstoolbar.cpp' || echo './'`./wxstoolbar.cpp; \
then mv -f ".deps/wxstoolbar.Tpo" ".deps/wxstoolbar.Plo"; else rm -f ".deps/wxstoolbar.Tpo"; exit 1; fi
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../../../src/include -I/usr/lib64/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../../../../src/include -I../../../../../../src/include/wxFlatNotebook/include -I../../../../../../src/include/wxscintilla/include -I../../../../../../src/include/wxFlatNotebook -I../../../../../../src/include/propgrid/include -DWXMAKINGLIB_PROPGRID -DwxPG_COMPATIBILITY_1_0_0 -Ulinux -Uunix -O2 -ffast-math -march=opteron -fweb -frename-registers -O2 -pipe -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT wxstoolbar.lo -MD -MP -MF .deps/wxstoolbar.Tpo -c ./wxstoolbar.cpp -fPIC -DPIC -o .libs/wxstoolbar.o
./wxstoolbar.cpp: In function 'const wxsStyleSet*<unnamed>::GetwxsToolBarStylesStyleSet()':
./wxstoolbar.cpp:77: error: 'wxTB_TOP' was not declared in this scope
./wxstoolbar.cpp:78: error: 'wxTB_LEFT' was not declared in this scope
./wxstoolbar.cpp:79: error: 'wxTB_RIGHT' was not declared in this scope
./wxstoolbar.cpp:80: error: 'wxTB_BOTTOM' was not declared in this scope
make[6]: *** [wxstoolbar.lo] Error 1
make[6]: Leaving directory `/var/tmp/portage/dev-util/codeblocks-9999-r19/work/codeblocks-9999/src/plugins/contrib/wxSmith/wxwidgets/defitems'
I had the same issue on Windows with wx26. Just comment these 4 lines in question and you're done. Byo will (hopefully) take care of it and create a wx28 guard around these things.
With regards, Morten.
as questioned in the other thread. I think we should ditch wx26x.
It is becoming the limiting factor, too limiting.
Quote'm on Gentoo ~amd64 with wx2.6, and for some time I can't build codeblocks with contribute plugins enabled.
wxSmith currently requires wx2.8. I 'd suggest you install it anyway because we 're planning on moving C::B completely to wx2.8.4.
Quote from: mandrav on July 04, 2007, 11:18:20 AM
wxSmith currently requires wx2.8.
Just for curiosity/interest: What makes you say so? I'm still running wxSmith fine with wx26.
Quote from: MortenMacFly on July 04, 2007, 12:17:45 PM
Quote from: mandrav on July 04, 2007, 11:18:20 AM
wxSmith currently requires wx2.8.
Just for curiosity/interest: What makes you say so? I'm still running wxSmith fine with wx26.
Hehe, I bet it runs fine for you:
Quote from: MortenMacFly on July 04, 2007, 07:58:24 AM
Just comment these 4 lines in question and you're done.
That's what makes me say so :).
Okay,
today I found some time to upgrade my box and fix the problem with codeblocks.
I've emerged the wx2.8 (using the ebuild from bugs.gentoo.org) and now it compiles fine. :D :D :D :lol: :P
Thank to all of you for the great job :)