PureBasic Linux - Segmentation fault (core dumped)
Posted: Thu Mar 25, 2021 1:07 pm
I'm having trouble getting PureBasic for Linux setup. I've run ./checkinstall.sh and still have some missing dependencies such as libgnome-2.0 but I don't think this should be a problem if I'm building from the command line and use a limited set of commands for testing.
I've tried to build on Ubuntu 16.04 LTS and Debian 10.8 but I keep getting the following error:
My program is simple:
I am logging into the machine remotely so I am calling pbcompiler directly:
I also had the same result trying PureBasic 5.62 on Ubuntu so this isn't an issue with the most recent build.
Does anyone have any idea what's wrong or how to debug this further?
I've tried to build on Ubuntu 16.04 LTS and Debian 10.8 but I keep getting the following error:
Code: Select all
******************************************
PureBasic 5.73 LTS (Linux - x64) Free
******************************************
Loading external modules...
Starting compilation...
Starting compilation...
3 lines processed.
Creating the executable.
Segmentation fault
Error: AssemblerCode: Select all
OpenConsole()
PrintN("123")Code: Select all
export PUREBASIC_HOME=/opt/purebasic/
$PUREBASIC_HOME/compilers/pbcompiler test.pb -e testDoes anyone have any idea what's wrong or how to debug this further?