Page 1 of 1

Mac OSX PBcompiler

Posted: Mon Feb 19, 2018 12:32 am
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

Re: Mac OSX PBcompiler

Posted: Mon Feb 19, 2018 10:31 am
by Fred
You will need to set PUREBASIC_HOME env var to the root path (you can try /Applications/Purebasic.app/Contents/Resources/)

Re: Mac OSX PBcompiler

Posted: Mon Feb 19, 2018 3:37 pm
by Iordanis
Thank you.

I had the variable PUREBASIC_HOME renamed in my bash_profile thats why it wasnt working. :mrgreen: