Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Brainspoon on April 27, 2005, 03:35:29 pm

Title: missing XRC in wxWidgets 2.6
Post 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.
Title: missing XRC in wxWidgets 2.6
Post by: Anonymous on April 27, 2005, 03:36:36 pm
I forgot to say "Hi folks" :D
Title: missing XRC in wxWidgets 2.6
Post by: mandrav on April 27, 2005, 04:03:58 pm
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.
Title: missing XRC in wxWidgets 2.6
Post by: Frank3000 on April 27, 2005, 04:08:48 pm
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
Title: missing XRC in wxWidgets 2.6
Post by: Anonymous on April 27, 2005, 04:32:06 pm
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
Title: missing XRC in wxWidgets 2.6
Post by: Anonymous on April 29, 2005, 12:20:41 am
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
Title: missing XRC in wxWidgets 2.6
Post by: mandrav on April 29, 2005, 10:19:12 am
Quote
/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.
Title: missing XRC in wxWidgets 2.6
Post by: Anonymous on April 29, 2005, 10:58:14 am
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.
Title: missing XRC in wxWidgets 2.6
Post by: brainspoon on April 29, 2005, 11:02:09 am
It's me, back with a registered nick
Title: missing XRC in wxWidgets 2.6
Post by: mandrav on April 29, 2005, 02:06:21 pm
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?

Yeah, I just built it with wxGTK-2.6 and I noticed the same problems. I will investigate more...

Yiannis.
Title: missing XRC in wxWidgets 2.6
Post by: fiammy on April 30, 2005, 10:47:20 am
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?
Title: missing XRC in wxWidgets 2.6
Post by: Anonymous on May 03, 2005, 11:05:03 am
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
Title: missing XRC in wxWidgets 2.6
Post by: mandrav on May 03, 2005, 12:06:02 pm
Quote from: fiammy
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.