Author Topic: missing XRC in wxWidgets 2.6  (Read 10728 times)

Brainspoon

  • Guest
missing XRC in wxWidgets 2.6
« 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.

Anonymous

  • Guest
missing XRC in wxWidgets 2.6
« Reply #1 on: April 27, 2005, 03:36:36 pm »
I forgot to say "Hi folks" :D

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
missing XRC in wxWidgets 2.6
« Reply #2 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

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

Offline Frank3000

  • Multiple posting newcomer
  • *
  • Posts: 17
missing XRC in wxWidgets 2.6
« Reply #3 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
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

  • Guest
missing XRC in wxWidgets 2.6
« Reply #4 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

Anonymous

  • Guest
missing XRC in wxWidgets 2.6
« Reply #5 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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
missing XRC in wxWidgets 2.6
« Reply #6 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.
Be patient!
This bug will be fixed soon...

Anonymous

  • Guest
missing XRC in wxWidgets 2.6
« Reply #7 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.

brainspoon

  • Guest
missing XRC in wxWidgets 2.6
« Reply #8 on: April 29, 2005, 11:02:09 am »
It's me, back with a registered nick

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
missing XRC in wxWidgets 2.6
« Reply #9 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.
Be patient!
This bug will be fixed soon...

Offline fiammy

  • Multiple posting newcomer
  • *
  • Posts: 46
    • Nebulagame
missing XRC in wxWidgets 2.6
« Reply #10 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?

Anonymous

  • Guest
missing XRC in wxWidgets 2.6
« Reply #11 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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
missing XRC in wxWidgets 2.6
« Reply #12 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.
Be patient!
This bug will be fixed soon...