SDL 2 in unstable builds

edited 2014 May 28 in Developers
We are switching to using SDL 2.0 in the unstable builds. Thus far Doomsday has been using SDL 1.2, and it is presently only used for joystick input and the SDL_mixer audio plugin. When trying the next unstable builds, please let us know if you encounter any problems wrt. missing DLLs in the deployment or any other problems.

If you happen to be making builds from the master branch, you'll need to update your config_user.pri and define the SDL2_DIR (or SDL2_FRAMEWORK_DIR on Mac OS X) and SDL2_MIXER_DIR variables. (These are just like the previous SDL config variables except prefixed SDL2.)

In the future we might look into utilizing SDL2 also for keyboard input on Windows, as there are a number of known issues with Qt key input when it comes to game-style interactions on that platform.

Comments

  • There is one downside to the upgrade, if you happen to be on Ubuntu 12.04 Precise: the SDL2 libraries are not available in that old version of Ubuntu. If you use our prebuilt binary packages, you will need to manually install SDL2 (for instance) from Michael Imamura's PPA. Alternatively, you can build everything from source with a manually installed SDL2.
Sign In or Register to comment.