Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Brainspoon on April 27, 2005, 03:35:29 pm
-
Maybe I am blind but i can't find XRC in the wxWidgets 2.6 sources so i can't follow the last step to compile it.
The XRC folder under contrib/src/ was empty or only one file in it. I can't remember exactly.
-
I forgot to say "Hi folks" :D
-
XRC is an integral part of wxWidgets now. Updated build instructions for wxWidgets-2.6.0 can be found here (http://www.codeblocks.org/index.php?name=PNphpBB2&file=viewtopic&p=1118#1118)
Yiannis.
-
Hi,
to quote the CHANGES.txt (wxWidgets-2.6.0):
2.5.3
- the XRC contrib library was moved to the core
No need to compile it separately.
Cheers,
Frank
-
Thanks alot.
Does this apply to Linux too? If i remember correctly i had an error concerning XRC but i can't remember which one. I'll have to try it again
-
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
-
/usr/bin/ld: cannot find -lwx_gtk2_xrc-2.4
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.
-
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.
-
It's me, back with a registered nick
-
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?
Yeah, I just built it with wxGTK-2.6 and I noticed the same problems. I will investigate more...
Yiannis.
-
I'm sorry, but has anybody has had success building CodeBlocks 1b7 under Linux with wxWidgets 2.5.2 or 2.6.0? I've tried, but there are the errors in two files (advancedcompileroptionsdlg.cpp and compileroptionsdlg.cpp) concerning the wxSpinCtrl that make it unbuildable for me...
Is wxGTK not ok for those functions?
-
I compield it with 2.6, but don't ask me how. It's behaving very buggy. Always flickering and you can't type in it because the cursor disappears after every letter
-
I'm sorry, but has anybody has had success building CodeBlocks 1b7 under Linux with wxWidgets 2.5.2 or 2.6.0? I've tried, but there are the errors in two files (advancedcompileroptionsdlg.cpp and compileroptionsdlg.cpp) concerning the wxSpinCtrl that make it unbuildable for me...
Is wxGTK not ok for those functions?
Is there a reason why you didn't post the two errors?
Yiannis.