User forums > Embedded development
About OpenOCD..
MortenMacFly:
--- Quote from: PaowZ on October 24, 2009, 12:56:10 am ---and tried to launch from that directory..
--- End quote ---
that won't work. The update script creates a version of C::B that needs to be "make install"'ed afterwards. Otherwise the launch script does not have the correct path's set. Alternatively you can adopt the launch script and do exactly what C::B pops up: Export an envvar to the path where your C::B shared (data) folder is.
MortenMacFly:
Adopt e.g. this script to your needs (path's):
--- Code: ---#!/bin/sh
APP_DIR=/home/mortenmacfly/bin/codeblocks_svn
CODEBLOCKS_DATA_DIR=/home/mortenmacfly/bin/codeblocks_svn
export CODEBLOCKS_DATA_DIR
export LD_LIBRARY_PATH=$APP_DIR:$LD_LIBRARY_PATH
$APP_DIR/codeblocks $@
--- End code ---
PaowZ:
Ok.. I'll give it a try asap..
Thanks again ;)
PaowZ:
Hi!
Is this script supposed to be run under GNU/Linux ? I can see the #!/bin/sh for a linux shell. If so, I'm running WinXP and even under a Cygwin terminal I can't get the job done.
I modify the update.bat script to point to a valid zip exe (not the cygwin one..) but nothing much..
Like this guy, http://forums.codeblocks.org/index.php?topic=10764.0%3Bprev_next=next, setting CODEBLOCKS_DATA_DIR doesn't help..
Unlike this one, http://forums.codeblocks.org/index.php?topic=10677.0%3Bprev_next=next who did manage to run C::B after an update.bat run.
I'm starting to feel a bit dumb.. :shock:
I think I gonna do the whole process since the beginning..
PaowZ:
Ok.. this time, everything went fine, except that I can't see any MCU tab.. now it's an openOCD issue :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version