what is the path of PUREBASIC_HOME ?

Mac OSX specific forum
Wolfram
Enthusiast
Enthusiast
Posts: 529
Joined: Thu May 30, 2013 4:39 pm

what is the path of PUREBASIC_HOME ?

Post by Wolfram »

If I run the command line compiler I get the error "Can't load OS libraries, please re-install PureBasic."

What is the right path off the PUREBASIC_HOME variable?
Wolfram
Enthusiast
Enthusiast
Posts: 529
Joined: Thu May 30, 2013 4:39 pm

Re: what is the path of PUREBASIC_HOME ?

Post by Wolfram »

I found ou,t since sierra, you must define the $PUREBASIC_HOME in a startup.plist file and put it into the ~/LaunchAgents

Alternative you can defined in the same line as you open the pbcompiler

Code: Select all

PUREBASIC_HOME=/Applications/PB/PureBasic_546_x64.app/Contents/Resources pbcompiler -e myTestApp.app -d -o PB_Editor_CreateExecutable=1 Test_PB.pb
Post Reply