View Full Version: code::blocks

C++ Learning Community > C++ for Linux > code::blocks


Title: code::blocks
Description: libwx_gtk2-2.6.so.0


icon0x - November 17, 2006 03:48 PM (GMT)
After installing code::blocks an run the app i get the following error,

CODE

codeblocks: error while loading shared libraries: libwx_gtk2-2.6.so.0: cannot open shared object file: No such file or directory


An i am unable to find this using google, n e ideas?

Ravotus - November 18, 2006 09:30 PM (GMT)
You need the wxWidgets library file (shared library). But I don't think you need to download the entire toolkit, you just need that shared library file. It doesn't look like they have a download on the Code::Blocks site, so I'm afraid I can't point you there. Try doing a google search.

gnschmidt - November 18, 2006 11:14 PM (GMT)
The library you need is wxGTK. Be sure to download version 2.6.3 and check the INSTALL file to see if you need a Unicode build. (If so, compile wxGTK using ../configure --enable-Unicode.) (Until code:blocks switch to 2.8, do not use the development series 2.7.1 or the upcoming stable release 2.8 as they break many APIs -- always for good reason, but it's still a pain for people wanting to use features only found from 2.7 onwards!)

If you have any difficulty compiling/using wxWidgets, feel free to contact me at gnschmidt at users dot sourceforge dot net or try the incredibly helpful forum at
http://wxforum.shadonet.com/index.php.

dr voodoo - November 19, 2006 07:18 PM (GMT)
Perhaps your distro comes with a finished package which you could install.

icon0x - November 22, 2006 05:52 PM (GMT)
ahh yes




Hosted for free by InvisionFree