User forums > Using Code::Blocks
link errors
matt_matrus:
thanks for the advice, i shall try gcc 3.4 tomorrow
matt:
Well, i just tried did a cvs checkout and got it to compile first time on Mandriva 2005! But, when i try to run codeblocks.exe in output, it says:
--- Code: ---./codeblocks.exe: error while loading shared libraries: libcodeblocks.so: cannot open shared object file: No such file or directory
--- End code ---
I ran
--- Code: ---make -f Makefile.unix update
--- End code ---
. Has this replaced the shell script?
p.s. i couldn't be bothered to try with fc4
matt_matrus:
Sorry, forgot to login!
I got it to work by copying libcodeblocks.so to /usr/lib. Is there no way to run it from its own directory properly, because there is no longer a "run.sh" script.
Thanks
mandrav:
--- Quote ---Is there no way to run it from its own directory properly, because there is no longer a "run.sh" script.
--- End quote ---
run.sh is created when you run the update script.
Yiannis.
matt_matrus:
I couldn't find run.sh anywhere in the cvs version (probably me being stupid). So i downloaded the final-beta, ran make -f Makefile.unix update, and copied the script to the cvs version's directory. With a bit of path tweaking in the script voila! :D
Edit:
To make everything work i needed to run codeblocks with the --prefix option and rename the wxwindows templates to have a capital second w (i.e. wxWindows.* instead of wxwindows.*)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version