Code::Blocks Forums
User forums => Help => Topic started by: DrATEasy on November 17, 2010, 02:47:20 am
-
I installed Code::Blocks 8.02 or codeblocks-10.05-0.mdv2010.i586.rpm and after I start from the application menu I get Staring Code::Blocks... and it close. When I do it from the terminal I get:
[.. /]$ codeblocks
codeblocks: symbol lookup error: codeblocks: undefined symbol: _ZTI14wxFlatNotebook
I checked and verified that libwxgtku2.8 and wxgtk2.8 are installed.
Please help...
Tx,
Ron
-
You are mixing 8.02 and 10.05, remove all versions of C::B and install only 10.05.
wxFlatNotebook was removed in 10.05.
-
It still exists, but as contrib-item in wxSmith and is still used by some plugins as far as I know (lib_finder ?).
Nevertheless it has been moved to a different place and mixing shared libraries can not work !
-
I uninstalled 8.02 and installed 10.05. The setup stops in the middle and bail out with no message?? I looks at the /usr/share and there is no codeblocks folder. Any idea?
Tx,
Ron
-
I never used mandriva, but you should also look in /usr/lib for libcodeblocks* libwxsmith* and in /usr/lib/codeblocks if it exists.
-
Thanks for your help.
I managed to delete these files and reinstall. Now I get the splash screen and then it exit:
> codeblocks
codeblocks: relocation error: /usr/lib/libcodeblocks.so.0: symbol _Z18wxSafeConvertWX2MBPKw, version WXU_2.8 not defined in file libwx_baseu-2.8.so.0 with link time reference
If I run it with -d it opens. What am I missing?
Tx,
Ron
-
You have incompatible wxwidgets libs.
-
So what next?
Tx,
Ron
-
I have 2.8.10 as far as I can tell from the software management app.
Tx,
Ron
-
Success!
I managed to fix it by uninstalling
wxgtk2.8
which uninstall everything (including codeblocks), and then downloading (from http://www.rpmfind.net/) and installing the following:
wxgtk2.8-2.8.10-6mdv2010.1.i586.rpm
libwxgtku2.8-2.8.10-6mdv2010.1.i586.rpm
libcodeblocks0-10.05-1mdv2010.1.i586.rpm
codeblocks-10.05-1mdv2010.1.i586.rpm
Yay!
:D