User forums > Using Code::Blocks
problem with non-standar-location shared libraries
gzahl:
In the end i solved the issues by using boost::build, but im a little sad, that its hard in c::b and kdevelop to link shared libraries right. Does C::B use a makefile? Can you compile C::B programs without C::B straightforward? Im new to C::B, so maybe im wrong, but it is not very clear how it does, what it does. Even if the menu structue a lot better than in kdevelop.
Now C::B calls an instance of bjam and this works for me.
Greetings
Manu
Game_Ender:
I think this is a missing feature of Code::Blocks. Given the main developers seem to use windows most of the time I can see why this hasn't been done. Any reasonably large Unix program uses environment variables, and these might need to change based on certain circumstances. There should just be a list of environment variables for each target that are set before running it. LD_LIBRARY_PATH is just one example.
afb:
It would be nice to clean this up, yes... Also need to add support for DYLD_LIBRARY_PATH which is the same thing (as LD_LIBRARY_PATH) but for the Darwin/Mac OS X platform.
Working on this along with a patch to permit using Terminal.app instead of xterm.
Navigation
[0] Message Index
[*] Previous page
Go to full version