Page 1 of 1

compiling with sdl 1.2 ?

Posted: Wed Dec 21, 2011 5:09 pm
by shirish
Hi all,
Can somebody tell how can I compile the game using SDL 1.2 . I know the wiki says SDL 1.3 and I also have it but I also have SDL 1.2 installed which all the other stuff uses. I also have premake4 installed.

Code: Select all

$ dpkg -L libsdl-1.3-0
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libsdl-1.3-0
/usr/share/doc/libsdl-1.3-0/README
/usr/share/doc/libsdl-1.3-0/changelog.Debian.gz
/usr/share/doc/libsdl-1.3-0/CREDITS
/usr/share/doc/libsdl-1.3-0/BUGS
/usr/share/doc/libsdl-1.3-0/README-SDL.txt
/usr/share/doc/libsdl-1.3-0/copyright
/usr/lib
/usr/lib/libSDL-1.3.so.0.0.0
/usr/lib/libSDL-1.3.so.0
libsdl1.2

Code: Select all

$ dpkg -L libsdl1.2debian
/.
/usr
/usr/lib
/usr/lib/libSDL-1.2.so.0.11.3
/usr/share
/usr/share/doc
/usr/share/doc/libsdl1.2debian
/usr/share/doc/libsdl1.2debian/CREDITS
/usr/share/doc/libsdl1.2debian/README-SDL.txt
/usr/share/doc/libsdl1.2debian/copyright
/usr/share/doc/libsdl1.2debian/changelog.Debian.gz
/usr/share/doc/libsdl1.2debian/README
/usr/share/doc/libsdl1.2debian/BUGS
/usr/lib/libSDL-1.2.so.0
and

Code: Select all

$ sdl-config --version
1.2.14
I am an end-user. I do have svn repo .

Code: Select all

~/games/ToME/t-engine4$ svn info
Path: .
URL: http://svn.net-core.org/repos/t-engine4
Repository Root: http://svn.net-core.org/repos/t-engine4
Repository UUID: 51575b47-30f0-44d4-a5cc-537603b46e54
Revision: 4754
Node Kind: directory
Schedule: normal
Last Changed Author: dg
Last Changed Rev: 4754
Last Changed Date: 2011-12-21 20:12:05 +0530 (Wed, 21 Dec 2011)
Looking forward to some ideas.

Re: compiling with sdl 1.2 ?

Posted: Thu Dec 22, 2011 8:33 pm
by Laerte
You will also need the -dev (or how is named in you distro) packages, then you will need to adapt the instructions here.

Tome4 needs the version 1.3 of SDL, there is no way around this.