try build solarus in ubuntu 12.04, apt-get error

Started by yangchao, March 14, 2015, 08:58:53 PM

Previous topic - Next topic
Hi
I try to build solarus in linux platform. According to "Compilation instructions" operation,but get errors:

sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libluajit-5.1-dev libphysfs-dev libopenal-dev libmodplug-dev libvorbis-dev
[sudo] password for ljh:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libsdl2-dev
E: Unable to locate package libsdl2-image-dev
E: Unable to locate package libsdl2-ttf-dev

SDL2 is not available on Ubuntu 12.04.
But if you search Debian packages of SDL2, you will find some and they work with Ubuntu 12.04. Make sure you take SDL 2.0.1 or above, because SDL 2.0.0 is buggy.

How can I do,  dos update Debian packages in ubuntu 12.04?

One way is to download the .deb files of Debian. You need libsdl2-dev, libsdl2-image-dev and libsdl2-ttf-dev and their dependencies.
https://packages.debian.org/sid/libsdl2-dev
https://packages.debian.org/sid/libsdl2-image-dev
https://packages.debian.org/sid/libsdl2-ttf-dev
You can install them by double-clicking their .deb files.


August 10, 2015, 09:13:07 PM #5 Last Edit: August 13, 2015, 03:33:32 AM by zutokaza
I just want to know if you ever got it working because I am doing the same with 12.04 Ubuntu.

Temporary Fix if you still can't get it to work.
http://forum.solarus-games.org/index.php/topic,361.0.html
Solarus Works on ReactOS Opensource Windows OS

https://www.reactos.org/forum/viewtopic.php?f=2&t=14759&p=120616#p120616

Yes it works, I was doing on one of my machines a few months ago before upgrading to 14.04.