Page 1 of 1

[b37] compile error on Ubuntu 11.10

Posted: Wed Jan 11, 2012 11:40 pm
by Intrpt
Hi,

When try'n to compile the game have this error:

Code: Select all

intrpt@Satellite:~/tome$ make
==== Building physfs (debug) ====
Creating ../bin/Debug
Creating ../obj/Debug/physfs
physfsrwops.c
In file included from ../src/physfs/physfsrwops.c:24:0:
../src/physfs/physfsrwops.h:30:17: fatal error: SDL.h: No such file or directory
compilation terminated.
make[1]: *** [../obj/Debug/physfs/physfsrwops.o] Error 1
make: *** [physfs] Error 2
Image
Is there a way to solve this?
:wink:

Re: [b37] compile error on Ubuntu 11.10

Posted: Thu Jan 12, 2012 12:31 pm
by Avianpilot
Crap, I have had that error before on my 10.04 machine and managed to fix it, but I don't remember what I did since I was just kind of muddling my way through it.

I guess the first question would have to be, are you using SDL 1.3? From your screenshot I can tell that that you have 1.2 installed, but the newer versions of Tome require 1.3 to compile.