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.
Standalone Debugger/Compiler or using an external editor
-
- User
- Posts: 24
- Joined: Sat Jul 24, 2010 11:56 am
Re: Standalone Debugger/Compiler or using an external editor
just setup the PUREBASIC_HOME envvar to the PB dirs and it should be fine.
-
- User
- Posts: 24
- Joined: Sat Jul 24, 2010 11:56 am
Re: Standalone Debugger/Compiler or using an external editor
Thank you, I will try that when I get home.
-
- User
- Posts: 24
- Joined: Sat Jul 24, 2010 11:56 am
Re: Standalone Debugger/Compiler or using an external editor
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?
"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?
-
- User
- Posts: 24
- Joined: Sat Jul 24, 2010 11:56 am
Re: Standalone Debugger/Compiler or using an external editor
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.