I am going to install Ubuntu 20.04 and see if I can reproduce your issue.
Viewing post in RCBasic - BASIC Programming Language for Games comments
I have tried installing it on a fresh install of Ubuntu 20.04 in a VM and it worked fine. I have a few ideas on what it could be.
First of all, the install.sh installs the version of SDL2 that is in your distros repos. You said you have SDL2-2.0.14 which is 4 versions newer than what is in the Ubuntu 20.04 repo. It is possible that you might have 2 different versions of SDL2 installed. You might want to check that and uninstall one.
Next, try this: export DISPLAY=:0
Hi noobCode!!
The only SDL2 version I got installed is 2.0.14. The Ubuntu repo SDL2 version is old, and it doesn’t support a lot of applications that is already using the new version, that’s why I’m using v.2.0.14.
As I’ve said, I think it seems to be a version issue, probably SDL2 version, as you supposed.
The DISPLAY
envvar is already exported, and de value is :0
(my X11 display ID).
You can get the SDL 2.0.14 here, if you want to test it, but I think it isn’t necessary, I’ve already identified the cause (the SDL2 version).
Thanks!!
Ok. Sorry about all that trouble. I tested the linux version with Ubuntu, PopOS, Fedora, ElementaryOS, and Solus to make sure it worked across a wide range of distros. It's really hard to make linux software work with every distro and every configuration. I am working on a script to be able to just build it from source to help people run it on linux OS's that I haven't accounted for so hopefully that will be able to help out people in your situation.
Thanks again for your patience.