Bug #18988 2013-05-03 20:06

maxis11

Can't build codeblocks with wxWidgets 2.9.5

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../../../src/include -I./gizmosled/include -I/usr/local/lib/wx/include/gtk2-unicode-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I./ledpanel/include -I./lcdWindow/include -I./led/include -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT matrixobject.lo -MD -MP -MF .deps/matrixobject.Tpo -c ./ledpanel/src/matrixobject.cpp  -fPIC -DPIC -o .libs/matrixobject.o
./led/src/xrc/xh_stateLedHandler.cpp: In member function 'virtual wxObject* wxStateLedXmlHandler::DoCreateResource()':
./led/src/xrc/xh_stateLedHandler.cpp:29:9: error: invalid use of incomplete type 'class wxXmlNode'
In file included from /usr/local/include/wx-2.9/wx/xrc/xmlres.h:31:0,
                 from ./led/include/xrc/xh_stateLedHandler.h:4,
                 from ./led/src/xrc/xh_stateLedHandler.cpp:1:
/usr/local/include/wx-2.9/wx/xrc/xmlreshandler.h:27:27: error: forward declaration of 'class wxXmlNode'
./led/src/xrc/xh_stateLedHandler.cpp:35:9: error: invalid use of incomplete type 'class wxXmlNode'
In file included from /usr/local/include/wx-2.9/wx/xrc/xmlres.h:31:0,
                 from ./led/include/xrc/xh_stateLedHandler.h:4,
                 from ./led/src/xrc/xh_stateLedHandler.cpp:1:
/usr/local/include/wx-2.9/wx/xrc/xmlreshandler.h:27:27: error: forward declaration of 'class wxXmlNode'
./led/src/xrc/xh_stateLedHandler.cpp:40:16: error: invalid use of incomplete type 'class wxXmlNode'
In file included from /usr/local/include/wx-2.9/wx/xrc/xmlres.h:31:0,
                 from ./led/include/xrc/xh_stateLedHandler.h:4,
                 from ./led/src/xrc/xh_stateLedHandler.cpp:1:
/usr/local/include/wx-2.9/wx/xrc/xmlreshandler.h:27:27: error: forward declaration of 'class wxXmlNode'
./led/src/xrc/xh_stateLedHandler.cpp:41:56: error: invalid use of incomplete type 'class wxXmlNode'
In file included from /usr/local/include/wx-2.9/wx/xrc/xmlres.h:31:0,
                 from ./led/include/xrc/xh_stateLedHandler.h:4,
                 from ./led/src/xrc/xh_stateLedHandler.cpp:1:
/usr/local/include/wx-2.9/wx/xrc/xmlreshandler.h:27:27: error: forward declaration of 'class wxXmlNode'
make[6]: *** [xh_stateLedHandler.lo] Ошибка 1
make[6]: *** Ожидание завершения заданий...
mv -f .deps/matrixobject.Tpo .deps/matrixobject.Plo
make[6]: Выход из каталога `/home/maxis11/codeblocks/src/plugins/contrib/wxContribItems/wxled'
make[5]: *** [all-recursive] Ошибка 1
make[5]: Выход из каталога `/home/maxis11/codeblocks/src/plugins/contrib/wxContribItems/wxled'
make[4]: *** [all-recursive] Ошибка 1
make[4]: Выход из каталога `/home/maxis11/codeblocks/src/plugins/contrib/wxContribItems'
make[3]: *** [all-recursive] Ошибка 1
make[3]: Выход из каталога `/home/maxis11/codeblocks/src/plugins/contrib'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Выход из каталога `/home/maxis11/codeblocks/src/plugins'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/home/maxis11/codeblocks/src'
make: *** [all-recursive] Ошибка 1

It seems that something in wxWidgets changed
Category
Application::Crash
Group
Platform:All
Status
Closed
Close date
2013-05-25 13:52
Assigned to
jenslody
biplab 2013-05-25 13:52

This bug is now fixed in HEAD.

Thank you for reporting it.