User forums > Using Code::Blocks
wxGTK2-2.4.12 xrc compile problem
grv575:
rebuild wx (see wiki). make sure it's monolithic.
Ci:
I installed the wxGTK from src.rpm package. There was included a patch so I think it was apply. But still nothong. I get the same errors.... :?
rickg22:
I guess the last resort is to download the wxwidgets gtk source directly from sourceforge, unzip (or untar) it to a directory, apply the patch mentioned in the wiki, and then compile it yourself.
Sorry, i'm not very good in Linux... but hey, i did the procedure manually and worked like a charm :)
zieQ:
My opinion would be to set C::B to use the non-monolithic version since it is often the normal installation on linux I think. But I know, all devs will be annoyed by the change...
Ci:
I compiled wxGTK step by step like is in wiki............................... and..........................
--- Code: ---Linking executable devel/codeblocks.exe...
.objs/src/app.o(.gnu.linkonce.t._ZN13CodeBlocksAppC1Ev[CodeBlocksApp::CodeBlocksApp()]+0x16): In function `CodeBlocksApp::CodeBlocksApp()':
src/app.cpp:79: undefined reference to `vtable for CodeBlocksApp'
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `wxwxListStringNode::~wxwxListStringNode()'
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `vtable for wxFileProto'
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `wxwxListStringNode::~wxwxListStringNode()'
collect2: ld returned 1 exit status
make: *** [devel/codeblocks.exe] Błąd 1
--- End code ---
:? :? :? :? :? :? :? :? :? :? :? :? :? :? :? :x :x :x :x :x :x :x :x :x :x :x :x :x :x :x :x
Navigation
[0] Message Index
[*] Previous page
Go to full version