Page 1 of 1
Standalone Debugger/Compiler or using an external editor
Posted: Wed Aug 18, 2010 10:46 pm
by OrangeJuice
Does anyone now how I can get the standalone Debugger/Compiler to run/run from bash?
I always get "Cannot run xyz.pb" when I try.
The reason why I want to do this is because I would like to use PureBasic with the TextMate Editor.
Re: Standalone Debugger/Compiler or using an external editor
Posted: Thu Aug 19, 2010 8:42 am
by Fred
just setup the PUREBASIC_HOME envvar to the PB dirs and it should be fine.
Re: Standalone Debugger/Compiler or using an external editor
Posted: Thu Aug 19, 2010 5:44 pm
by OrangeJuice
Thank you, I will try that when I get home.
Re: Standalone Debugger/Compiler or using an external editor
Posted: Thu Aug 19, 2010 7:39 pm
by OrangeJuice
Didn't work. The Debugger still crashes and the commandline compiler has this to say:
"Loading external modules...
Error: Line 0 - Can't load any OSLibraries! Please re-install PureBasic."
I gradually kept adding to the envars everything i could Imagine, so they look like that now:
"export PATH=/Applications/PureBasic/compilers:/Applications/PureBasic/purelibraries:/Applications/PureBasic/subsystems:/Applications/PureBasic/catalogs:$PATH
export PUREBASIC_HOME=/Applications/PureBasic:Applications/PureBasic/compilers:/Applications/PureBasic/purelibraries:/Applications/PureBasic/subsystems"
Did I miss something?
Re: Standalone Debugger/Compiler or using an external editor
Posted: Fri Aug 20, 2010 6:14 pm
by OrangeJuice
Not to spam my own question thread, but the problem might actually have its source in my OS installation. While it would be strange that the debugger works when used from the PB ide, I did encounter a problem with another debugger unrelated to PureBasic: the freepascal debugger crashes on my system as well. Maybe there is something going on with my XCode installation. I will try it on a fresh OS install when I find the time to do that.