Mac OSX PBcompiler

Just starting out? Need help? Post your questions and find answers here.
Iordanis
New User
New User
Posts: 4
Joined: Mon Feb 05, 2018 6:54 pm
Location: Thessaloniki , Greece

Mac OSX PBcompiler

Post by Iordanis »

Hello,

I am trying to use the compiler form the command line on OSX . I have 5.62 version.
I found it in /Applications/Purebasic.app/Contents/Resources/PBcompiler
and added it to my path. I run pbcompiler -h and it worked.
But when I tried to comile a simple file , it gave me the following:

Loading external modules...
Error: Can't load OS libraries, please re-install PureBasic.

Any ideas what might be wrong in my setup?

Thank you
"A good beginning is half the task"
Mac OSX 10.13.3 - PureBasic 5.62 (MacOS X - x64)
Fred
Administrator
Administrator
Posts: 16623
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Mac OSX PBcompiler

Post by Fred »

You will need to set PUREBASIC_HOME env var to the root path (you can try /Applications/Purebasic.app/Contents/Resources/)
Iordanis
New User
New User
Posts: 4
Joined: Mon Feb 05, 2018 6:54 pm
Location: Thessaloniki , Greece

Re: Mac OSX PBcompiler

Post by Iordanis »

Thank you.

I had the variable PUREBASIC_HOME renamed in my bash_profile thats why it wasnt working. :mrgreen:
"A good beginning is half the task"
Mac OSX 10.13.3 - PureBasic 5.62 (MacOS X - x64)
Post Reply