"~/purebasic/compiler" is in my $PATH (I can call pbcompiler and pbcompilerc from any directory), and I do manage to compile projects directly from the PB ide.
But, if I use
Code: Select all
pbcompiler main.pb -o ../bin/myproject -t -z -pf -dc
And usingPureBasic 6.04 LTS (Linux - x64)
Loading external modules...
Error: Can't load OS libraries, please re-install PureBasic.
Code: Select all
pbcompilerc main.pb -o ../bin/myproject -t -z -pf -dc
I do not understand why it would work from the IDE and not from the command line.PureBasic 6.04 LTS - C Backend (Linux - x64)
Loading external modules...
Error: Can't load the 'c' subsystem.
Anybody can point me my (probably obvious) mistake?