I downloaded CodeBlocks from here :
http://www.codeblocks.org/downloads/26 (http://www.codeblocks.org/downloads/26)
using this link :
http://sourceforge.net/projects/codeblocks/files/Binaries/10.05/Linux%20%2832%20bit%29/codeblocks-10.05-0-suse112.i686.rpm (http://sourceforge.net/projects/codeblocks/files/Binaries/10.05/Linux%20%2832%20bit%29/codeblocks-10.05-0-suse112.i686.rpm)
and installed the rpm using openSUSE's Software Manager.
It appeared to install fine, but when I try to run codeblocks I get this :
Quote
edgar@linux-xdcd:~> 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
This error seems fairly common but I'm still not sure how to resolve it, because I don't know what package to install to fix it.
Any help would be appreciated. Thanks, UberNewb.
Search please...
Here is the same topic as the one you've started -> http://forums.next.codeblocks.org/index.php/topic,13607.0.html
Quote from: oBFusCATed
The C::B you're trying to install is compiled with different wxGTK, from the one you have on your system.
You've 2 options:
1. Build C::B from source
2. Or search for the correct packages...
The only package available for wxGTK is version 2.8.10.1-11.2, and that is the one installed on my system. I've tried downloading rpms of CodeBlocks from download.opensuse.org, but they all complain about libcodeblocks.so.0 being missing or unavailable.
Is it really my only option to compile CodeBlocks from the source code? Compiling wxWidgets looks rather complicated to do.
On my openSUSE 11.3 I installed wxGTK from here
http://download.opensuse.org/repositories/X11:/wxWidgets/openSUSE_11.3/i586/
(the wxGTK-* rpms dating from last October) and the Code::Blocks rpms from here
http://download.opensuse.org/repositories/devel:/tools:/ide/openSUSE_11.3/i586/
which currently runs seemlessly in this conjunction. Hope this helps!
Regards,
Oliver
Another (similar?) solution is described in the following OpenSuSE forum post:
http://forums.opensuse.org/english/get-technical-help-here/applications/447515-code-blocks-not-starting.html#post2232508 (http://forums.opensuse.org/english/get-technical-help-here/applications/447515-code-blocks-not-starting.html#post2232508)
Maybe this will help you also ...
Greets.
Quote from: pirx67
Another (similar?) solution is described in the following OpenSuSE forum post:
Well, I installed this :
http://software.opensuse.org/ymp/devel:tools:ide/openSUSE_11.3/codeblocks.ymp?base=openSUSE%3A11.3&query=codeblocks (http://software.opensuse.org/ymp/devel:tools:ide/openSUSE_11.3/codeblocks.ymp?base=openSUSE%3A11.3&query=codeblocks)
from the thread you linked to
http://forums.opensuse.org/english/get-technical-help-here/applications/447515-code-blocks-not-starting.html#post2232508 (http://forums.opensuse.org/english/get-technical-help-here/applications/447515-code-blocks-not-starting.html#post2232508)
and everything installed fine, and I ran it from the command line and ended up with this (see attachment 1).
I don't think that is what CodeBlocks is supposed to look like. It's SVN version 7009. There are a ton of grayed out toolbars taking up most of the vertical screen space. It's nothing like what CodeBlocks looks like in Vista.
Quote from: olipfei
On my openSUSE 11.3 I installed wxGTK from here
http://download.opensuse.org/repositories/X11:/wxWidgets/openSUSE_11.3/i586/
(the wxGTK-* rpms dating from last October) and the Code::Blocks rpms from here
http://download.opensuse.org/repositories/devel:/tools:/ide/openSUSE_11.3/i586/
which currently runs seemlessly in this conjunction. Hope this helps!
Regards,
Oliver
Well, I guess I'll try those tomorrow. When you say wxGTX-* rpms, do I need all 4 of them or can I just download wxGTX-2.8.11.0-27.1.i586.rpm and the CodeBlocks rpm?
[attachment deleted by admin]
UberNewb:
Why don't you close the toolbars you don't like and then reorder the ones you use the way you like them.
It is simple drag and drop + using the View -> Toolbars menu
Quote from: UberNewb on March 06, 2011, 04:44:22 AM
I don't think that is what CodeBlocks is supposed to look like. It's SVN version 7009. There are a ton of grayed out toolbars taking up most of the vertical screen space. It's nothing like what CodeBlocks looks like in Vista.
When I start a fresh installed Code::Blocks under Ubuntu here it looks very similar to your screen shot. You've only got one more toolbar and some more menu bar items because you have some more plugins installed than me (Doxygen ...).
I think your installation is OK. Try to work with it. Observe the handles on the toolbars to move them around...
pirx67
Quote from: oBFusCATed
UberNewb:
Why don't you close the toolbars you don't like and then reorder the ones you use the way you like them.
It is simple drag and drop + using the View -> Toolbars menu
There we go, much better! Thank you. My vertical screen space is much better now.
Quote from: pirx67
When I start a fresh installed Code::Blocks under Ubuntu here it looks very similar to your screen shot. You've only got one more toolbar and some more menu bar items because you have some more plugins installed than me (Doxygen ...).
I think your installation is OK. Try to work with it. Observe the handles on the toolbars to move them around...
pirx67
Okay, I guess that's normal then.
Thanks everyone!