Page 1 of 1

Error trying to generate the asm output

Posted: Fri Nov 22, 2019 8:50 pm
by ricardo_sdl
I used this command:

Code: Select all

pbcompiler LateRun.pb -c
But I only get this error message:

Code: Select all

******************************************
PureBasic 5.71 LTS (Linux - x64) Free
******************************************

Loading external modules...
Error: Can't load OS libraries, please re-install PureBasic.
PureBasic editor and compilation are running fine. The checkinstall script informs that the setup o run PureBasic is correct.
This is my system:
Linux lubuntu 4.18.0-10-generic #11-Ubuntu SMP Thu Oct 11 15:13:55 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Am I missing something that I need to install?

Re: Error trying to generate the asm output

Posted: Fri Nov 22, 2019 9:13 pm
by #NULL
Try setting the PUREBASIC_HOME envar.

Code: Select all

export PUREBASIC_HOME=~/purebasic_570_b4 ; export PATH=$PUREBASIC_HOME/compilers:$PATH ; pbcompiler -c file.pb

Re: Error trying to generate the asm output

Posted: Fri Nov 22, 2019 9:24 pm
by ricardo_sdl
Thank you #NULL! Worked nicely now.