User forums > Using Code::Blocks
missing XRC in wxWidgets 2.6
Anonymous:
It looked so promising but then came this. sorry that the errors are in german
Compiling src/app.cpp...
src/resources/icons/app.xpm:2: Warnung: »app« definiert, aber nicht verwendet
Compiling src/dlgabout.cpp...
Compiling src/dlgaboutplugin.cpp...
Compiling src/environmentsettingsdlg.cpp...
Compiling src/impexpconfig.cpp...
Compiling src/main.cpp...
Compiling src/prefix.c...
Compiling src/printdlg.cpp...
Linking executable devel/codeblocks.exe...
/usr/bin/ld: cannot find -lwx_gtk2_xrc-2.4
collect2: ld gab 1 als Ende-Status zurück
make: *** [devel/codeblocks.exe] Fehler 1
mandrav:
--- Quote ---/usr/bin/ld: cannot find -lwx_gtk2_xrc-2.4
--- End quote ---
Just edit the top of Makefile.unix and adjust the libraries.
Replace wx_gtk2_stc-2.4 with wx_gtk2_stc-2.6 and remove wx_gtk2_xrc-2.4.
I haven't tried it under linux yet (with wx2.6 that is), but it's something along those lines...
HTH,
Yiannis.
Anonymous:
Yeah i already did it and it works fine now.
But the interface of the program is heavily flickering. I don't know why. Doesn't it like the nvidia driver?
When compiling a small programm with Codeblocks I get an error that it can't find wx/msw/chkconf.h which i obviously do not have because I am on Linux. Is there some configuration missing?
It also does not save all global preferences like the don't show tips at startup.
brainspoon:
It's me, back with a registered nick
mandrav:
--- Quote from: Anonymous ---Yeah i already did it and it works fine now.
But the interface of the program is heavily flickering. I don't know why. Doesn't it like the nvidia driver?
--- End quote ---
Yeah, I just built it with wxGTK-2.6 and I noticed the same problems. I will investigate more...
Yiannis.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version