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
Mac OSX PBcompiler
Mac OSX PBcompiler
"A good beginning is half the task"
Mac OSX 10.13.3 - PureBasic 5.62 (MacOS X - x64)
Mac OSX 10.13.3 - PureBasic 5.62 (MacOS X - x64)
Re: Mac OSX PBcompiler
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
Thank you.
I had the variable PUREBASIC_HOME renamed in my bash_profile thats why it wasnt working.
I had the variable PUREBASIC_HOME renamed in my bash_profile thats why it wasnt working.
"A good beginning is half the task"
Mac OSX 10.13.3 - PureBasic 5.62 (MacOS X - x64)
Mac OSX 10.13.3 - PureBasic 5.62 (MacOS X - x64)