User forums > Using Code::Blocks
Code::Blocks doesn't compile on Ubuntu Linux with wx 2.5
mandrav:
--- Quote from: Funto on July 30, 2005, 11:55:10 am ---
--- Quote ---libwx_gtk2-2.4.so: cannot open shared object file: No such file or directory
--- End quote ---
When you installed wxWidgets, did it install itself in the /usr/local/lib directory? (it's the default setting, to override this you should add the --prefix=/your/directory).
If this is the case, you should edit /etc/ld.so.conf and add /usr/local/lib to this file, so that the .so will be found :)
--- End quote ---
After you edit /etc/ld.so.conf don't forget to run "sudo ldconfig" to update the linker's cache.
Yiannis.
subflood:
Ok I did that but then when I tried to run it again I got something about it couldn't find libcodeblocks.so so, I copied libcodeblocks.so to /usr/lib I think and It works now.
Ceniza:
Ok, I just compiled Code::Blocks with wxWidgets 2.4.2 under Linux and it seems to, finally, be working. Just a few Gtk-CRITICAL when I quit.
It's a shame I'm low of time right now 'cause I would like to try compiling HEAD (as I said, it compiled with wxWidgets 2.6.1 but crashes, same for VERSION_1_0) and tomorrow begins a new semester @ college so I should get in bed soon.
Anyway, I hope to get some time soon to make some tests for the help plugin.
BTW, now the emulated Linux isn't a problem: 1GB DDR3200 dual channel + P4 3.0GHz 800MHz FSB HT :)
Funto:
I've got the Gtk-CRITICALs too, and they're even followed by a segfault :(
fiammy:
What do you use as building command for configure? I get the errors that are associated with Unicode when I try to build it with wxWidgets 2.6.1
Thanks
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version