Code: Select all
/Applications/PureBasic.app/Contents/Resources/compilers/pbcompiler
When I try and compile from the command line I get this error
Code: Select all
PureBasic 6.21 - C Backend (MacOS X - arm64) Free
Loading external modules...
Error: The 'PUREBASIC_HOME' env variable needs to be set to the install directory before using PureBasic.
I've tried setting the env variable in ~/.zprofile as :
export PUREBASIC_HOME="/Applications/PureBasic.app/"
This is the ' install directory'
and
export PUREBASIC_HOME="/Applications/PureBasic.app/Contents/MacOS/PureBasic"
This is the folder where the PureBasic app binary is.
and finally
export PUREBASIC_HOME="/Applications/PureBasic.app/Contents/Resources/compilers/pbcompiler"
this is where the compiler is , not the install directory.
None work.I can confirm that the env variable is set when I check with
Code: Select all
env
Thanks
