Author Topic: Downloaded CodeBlocks does not run on openSUSE 11.3  (Read 6425 times)

Offline UberNewb

  • Multiple posting newcomer
  • *
  • Posts: 35
Downloaded CodeBlocks does not run on openSUSE 11.3
« on: March 04, 2011, 08:52:00 am »
I downloaded CodeBlocks from here :
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
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.


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Downloaded CodeBlocks does not run on openSUSE 11.3
« Reply #1 on: March 04, 2011, 11:12:10 am »
Search please...
Here is the same topic as the one you've started -> http://forums.codeblocks.org/index.php/topic,13607.0.html
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline UberNewb

  • Multiple posting newcomer
  • *
  • Posts: 35
Re: Downloaded CodeBlocks does not run on openSUSE 11.3
« Reply #2 on: March 05, 2011, 08:05:48 am »
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.



Offline olipfei

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: Downloaded CodeBlocks does not run on openSUSE 11.3
« Reply #3 on: March 05, 2011, 05:31:38 pm »
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

Offline pirx67

  • Multiple posting newcomer
  • *
  • Posts: 40
Re: Downloaded CodeBlocks does not run on openSUSE 11.3
« Reply #4 on: March 05, 2011, 09:32:32 pm »
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

Maybe this will help you also ...

Greets.

Offline UberNewb

  • Multiple posting newcomer
  • *
  • Posts: 35
Re: Downloaded CodeBlocks does not run on openSUSE 11.3
« Reply #5 on: March 06, 2011, 04:44:22 am »
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
from the thread you linked to
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]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Downloaded CodeBlocks does not run on openSUSE 11.3
« Reply #6 on: March 06, 2011, 11:26:39 am »
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
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline pirx67

  • Multiple posting newcomer
  • *
  • Posts: 40
Re: Downloaded CodeBlocks does not run on openSUSE 11.3
« Reply #7 on: March 06, 2011, 10:51:05 pm »
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

Offline UberNewb

  • Multiple posting newcomer
  • *
  • Posts: 35
Re: Downloaded CodeBlocks does not run on openSUSE 11.3
« Reply #8 on: March 07, 2011, 04:31:27 am »
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!