News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

missing XRC in wxWidgets 2.6

Started by Brainspoon, April 27, 2005, 03:35:29 PM

Previous topic - Next topic

Brainspoon

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.

Anonymous


mandrav

XRC is an integral part of wxWidgets now. Updated build instructions for wxWidgets-2.6.0 can be found here

Yiannis.
Be patient!
This bug will be fixed soon...

Frank3000

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
Klingon multitasking systems do not support 'time-sharing'. When a Klingon program wants to run,
it challenges the scheduler in hand-to-hand combat and owns the machine.

Anonymous

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

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
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.
Be patient!
This bug will be fixed soon...

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: AnonymousYeah 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.
Be patient!
This bug will be fixed soon...

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?

Anonymous

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

mandrav

Quote from: fiammyI'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.
Be patient!
This bug will be fixed soon...