Known issue? Trying to run 32-bit SDL2 applications on 64-bit Linux

Hi,

I found while testing SDL2, that when running on a 32-bit distribution of Ubuntu, with a 32-bit compiled application, SDL2 works fine. Similarly, on a 64-bit distribution, 64-bit compiled applications work fine as well.

When I try using a 32-bit application on a 64-bit distribution of Ubuntu (with ia32-libs, etc installed), the application will run, but reports that it cannot find any video devices.

Is this a known issue? It would be great to be able to use or test 32-bit applications from a 64-bit host OS. Thanks!

This should work, it does on my system (Ubuntu 13.04 64 bits) and others
have reported success after installing the right libraries.

Asumming support for OpenGL and X11 got compiled in successfully, you could
try installing libgl1-mesa-glx:i386 for OpenGL support and a bunch of the X
libraries for the i386 architecture (I can’t find a definitive list from my
system because I have a ton of X11 libraries installed and you probably
just need a few).

2013/9/17 Joshua Granick > Hi,

I found while testing SDL2, that when running on a 32-bit distribution of
Ubuntu, with a 32-bit compiled application, SDL2 works fine. Similarly, on
a 64-bit distribution, 64-bit compiled applications work fine as well.

When I try using a 32-bit application on a 64-bit distribution of Ubuntu
(with ia32-libs, etc installed), the application will run, but reports that
it cannot find any video devices.

Is this a known issue? It would be great to be able to use or test 32-bit
applications from a 64-bit host OS. Thanks!
_____________**
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Gabriel.

Is this a known issue? It would be great to be able to use or test
32-bit applications from a 64-bit host OS. Thanks!

This definitely works; I’m shipping games like this, as are many others.

The usual culprit is that SDL was built without X11 and GLX support,
because the 32-bit build environment didn’t have pieces the configure
script needed.

–ryan.