Standalone Debugger/Compiler or using an external editor

Mac OSX specific forum
OrangeJuice
User
User
Posts: 24
Joined: Sat Jul 24, 2010 11:56 am

Standalone Debugger/Compiler or using an external editor

Post 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.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Standalone Debugger/Compiler or using an external editor

Post by Fred »

just setup the PUREBASIC_HOME envvar to the PB dirs and it should be fine.
OrangeJuice
User
User
Posts: 24
Joined: Sat Jul 24, 2010 11:56 am

Re: Standalone Debugger/Compiler or using an external editor

Post by OrangeJuice »

Thank you, I will try that when I get home.
OrangeJuice
User
User
Posts: 24
Joined: Sat Jul 24, 2010 11:56 am

Re: Standalone Debugger/Compiler or using an external editor

Post 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?
OrangeJuice
User
User
Posts: 24
Joined: Sat Jul 24, 2010 11:56 am

Re: Standalone Debugger/Compiler or using an external editor

Post 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.
Post Reply