compiling with sdl 1.2 ?

Everything about ToME 4.x.x. No spoilers, please

Moderator: Moderator

Post Reply
Message
Author
shirish
Yeek
Posts: 10
Joined: Sat Nov 19, 2011 9:39 am

compiling with sdl 1.2 ?

#1 Post 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.
Intel Core i5-7400, Intel(R) HD Graphics 630 (Kaby Lake GT2), Asus PRIME Z270-P, D-Link 502-T router, 64-bit Debian Testing, Debian Mate 1.24.0

Laerte
Halfling
Posts: 88
Joined: Sat Sep 11, 2010 12:23 pm

Re: compiling with sdl 1.2 ?

#2 Post 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.

Post Reply