Sorry, I got my names wrong.
But 12.04 backports does include libsdl2. No support in raring.
JosephOn Wed, Oct 16, 2013 at 08:14:53PM +0300, neoaggelos at gmail.com wrote:
Correct, but build-dep libsdl1.2-dev is easier for starters. Also, libsdl2 is for the salamander (Ubuntu 13.10), and that’s Ubuntu 12.04.
– Aggelos Kolaitis
On 16 ??? 2013, at 8:10 ?.?., “T. Joseph Carter” <@T_Joseph_Carter> wrote:
SDL 1.2’s build deps are not quite sufficient. In saucy you actually can install libsdl2.
On anything older, you need at least these packages to build:
libdbus-1-dev libgl1-mesa-dev libglu1-mesa-dev libpulse-dev
libx11-dev libxcursor-dev libxext-dev libxi-dev libxinerama-dev
libxrandr-dev libxss-dev libxt-dev libxv-dev libxxf86vm-devOn Linux (always the case for Ubuntu?) you also need:
libasound2-dev libts-dev libudev-dev
On a Debianish system with a FreeBSD kernel, you need:
libusb2-dev libusbhid-dev
The major change I know about from SDL 1.2 to 2.0/2.0.1 is the use of libudev. Possibly also libdbus, but I couldn’t swear to that. Without libudev, joysticks don’t work the way they’re supposed to on Linux. And it’s likely that libsdl1.2’s dependencies pull in some old cruft SDL doesn’t actually use anymore. Some of that was my fault?I see that some of my packaging mistakes on SDL 1.2 made back when dinosaurs ruled the earth persist to this day. sigh
Joseph
On Wed, Oct 16, 2013 at 02:43:20PM +0300, neoaggelos at gmail.com wrote:
Mercurial (hg) and cmake are two very different things.
However, instead of talking endless instructions, here is how you would do something like this:
-- install needed tools, depencies: -- note: this will not install SDL-1.2, just fetch the appropriate deps $ sudo apt-get build-dep libsdl1.2-dev $ sudo apt-get install mercurial -- get the latest version $ mkdir libraries && cd libraries $ hg clone https://hg.libsdl.org/SDL -- compile and install $ cd SDL $ mkdir build && cd build $ ../configure $ make $ sudo make installOn 16 ??? 2013, at 12:34 ?.?., Josef tigert? <josefcool.95 at gmail.com> wrote:
Hi, i greatly appriciate this mailing list and hope i can contribute with help in the future!
I’m a beginner at programming and SDL, and
i am trying to set set up SDL2 on my computer with Linux Ubuntu 12.04 installed.
As i understand, to be able to use SDL you need: SDL header & source files, dev libaries and runtime binaries. On the libsdl.org site you can download these for windows and mac but with linux you need to “contact your distrbution maintainer”. With more research i understand that for Linux OS distrobutions, SDL lib & runtime libraries are downloaded with terminal through mercurial or cmake, but this could be incorrect?
To put it simply, how do you download/install SDL on Linux Ubuntu 12.04?
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org