How to install the SDL library on Debian?

How to install the SDL library on Debian?

Debian-based systems (including Ubuntu) can simply do “sudo apt-get install libsdl2-2.0” to get the library installed system-wide, and all sorts of other useful dependencies, too. “sudo apt-get install libsdl2-dev” will install everything necessary to build programs that use SDL.

What kind of operating system does SDL support?

SDL supports most popular flavors of Unix: Linux 2.6+, the various BSDs (FreeBSD, NetBSD, OpenBSD), Solaris, and other things like them. First! Do you need to compile SDL yourself?

How to install SDL on a Red Hat system?

Red Hat-based systems (including Fedora) can simply do “sudo yum install SDL2” to get the library installed system-wide, or “sudo yum install SDL2-devel” to get headers and other build requirements ready for compiling your own SDL programs. Gentoo users can “sudo emerge libsdl2” to get everything they need.

How does the SDL2 port use Emscripten?

The SDL2 port literally uses Emscripten to compile SDL’s C code and link it to your app. Our buildbot tries to build with Emscripten for each commit, and uploads successful builds to a public webserver. If you want to grab these, it can save you some hassle. You can grab the prebuilt library here

Which is version of Visual Studio does SDL support?

SDL currently provides Visual Studio project files for Visual Studio 2008, 2010, 2012, and 2013 in various flavors, and the CMake files can often generate project files for other Windows compilers. Win32 and Win64 are both supported, and we support any Windows version back to Windows XP.

Is the SDL library compatible with iOS 5?

SDL supports iOS 5.1.1+ and ships with iOS project files (in the Xcode-iOS directory) which will produce a static library. This library should be usable across all supported iOS devices (including iPhones, iPods, and iPads), and the emulator.

Is it possible to build SDL with any compiler?

This means it’s possible to build SDL with almost any Windows compiler and have it work with a program built with any other.