There shouldn't be. Are you using 64-bit Ubuntu?
Viewing post in RCBasic - BASIC Programming Language for Games comments
Yep: GNU/Linux 5.10.32-051032-generic x86_64
, Ubuntu 20.04 LTS.
fish-3.1> env PAGER=cat dpkg -l libsdl2
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-===========================================================================================================================================================================================
ii libsdl2 2.0.14 amd64 Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer.
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.