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?
what is the path of PUREBASIC_HOME ?
what is the path of PUREBASIC_HOME ?
macOS Catalina 10.15.7
Re: what is the path of PUREBASIC_HOME ?
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
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
macOS Catalina 10.15.7
Re: what is the path of PUREBASIC_HOME ?
Thanks for this helpful tip, I ran into this problem tonight!
(If you're calling pbcompiler via RunProgram(), just prepare it by SetEnvironmentVariable("PUREBASIC_HOME", ...) with the pbcompiler's corresponding /Resources/ path)
(If you're calling pbcompiler via RunProgram(), just prepare it by SetEnvironmentVariable("PUREBASIC_HOME", ...) with the pbcompiler's corresponding /Resources/ path)
Re: what is the path of PUREBASIC_HOME ?
Deleted (topic error: Mac OSX)
Last edited by Marc56us on Mon Nov 29, 2021 7:07 am, edited 1 time in total.
Re: what is the path of PUREBASIC_HOME ?
Marc56us, is your advice for Linux installation? This was a MacOS thread, but similar error and solution.