User forums > Help
SVN fails to build
Biplab:
--- Quote from: wizzard on March 21, 2007, 08:38:37 pm ---also, the last svn build that I had installed won't run anymore ;(
$ codeblocks
codeblocks: error while loading shared libraries: libwx_gtk2u_xrc-2.6.so.0: cannot open shared object file: No such file or directory
--- End quote ---
You must run ldconfig in su mode after issuing make install or otherwise Code::Blocks will not load properly.
Harry Hataway:
Ooopz, that's bad.... i've built wxWidgets 2.8 on my distro ,tried to compile Code::Blocks and i got this :
--- Code: --- globals.cpp: In function 'void PlaceWindow(wxWindow*, cbPlaceDialogMode, bool)':globals.cpp:875: error: 'class wxWindow' has no member named 'CentreOnScreen'
make[3]: *** [globals.lo] Error 1
make[3]: Leaving directory `/swDevel/trunk/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/swDevel/trunk/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/swDevel/trunk/src'
--- End code ---
LMAO! At first , my wxWidgets install was too old for CB (2.4). Now i've installed 2.8 and it don't work either =P.
I'll wait for the Wx 2.8-compatible CB then.. :)
Auria:
--- Quote from: Harry Hataway on March 24, 2007, 03:32:17 pm ---Ooopz, that's bad.... i've built wxWidgets 2.8 on my distro ,tried to compile Code::Blocks and i got this :
--- Code: --- globals.cpp: In function 'void PlaceWindow(wxWindow*, cbPlaceDialogMode, bool)':globals.cpp:875: error: 'class wxWindow' has no member named 'CentreOnScreen'
make[3]: *** [globals.lo] Error 1
make[3]: Leaving directory `/swDevel/trunk/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/swDevel/trunk/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/swDevel/trunk/src'
--- End code ---
LMAO! At first , my wxWidgets install was too old for CB (2.4). Now i've installed 2.8 and it don't work either =P.
I'll wait for the Wx 2.8-compatible CB then.. :)
--- End quote ---
Chnage the 'CentreOnScreen()' bit to 'Centre(wxCENTRE_ON_SCREEN)' and it should work
Harry Hataway:
It worked! Thanks alot! :D
Navigation
[0] Message Index
[*] Previous page
Go to full version