Hi,
I am currently trying to support code::blocks for this cross platform c++ library.
http://openframeworks.cc/downloadone of the things about the exes that are compiled, is that they have to be run from a shell script that basically does this:
export LD_LIBRARY_PATH=$(pwd)/libs/
I can't for the life of me figure out how to alter the executing command in C::B so that it would run this shell script...
here's an example of the what I mean:
Executing: xterm -T 'moviePlayerExample' -e'LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH /usr/bin/cb_console_runner "/home/zach/codeBlocks/of_0.02_codeblocks/apps/moviePlayerExample/bin/Debug/moviePlayerExample" ' (in /home/zach/codeBlocks/of_0.02_codeblocks/apps/moviePlayerExample/.)I have found this:
xterm -T $TITLE -e
in
settings > environment settings > general settingsnow my question is:
can I either:
a) alter this: LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH /usr/bin/cb_console_runner
b) alter the exe name which is run (and run my script instead)
c) alter this xterm script somehow to do something that might be helpful ?
also, are there project specific settings I can alter to help me do this? I've been looking around alot, and online...
some people have the same questions I do:
http://www.rtsoft.com/forums/showthread.php?t=1731http://forums.codeblocks.org/index.php?topic=6364.msg48846http://www.ogre3d.org/phpBB2/viewtopic.php?t=25644&view=previous&sid=ce193664e1d3d7c4af509e6f4e2718c6thanks for C::B
and thanks in advance for any help
take care
zach