Compiling problems on ubuntu Linux (betas 8 and 9b) [SOLVED]
Posted: Thu Aug 26, 2010 3:03 pm
Dear all,
I am trying to compile TOME4 on Ubuntu 10.4 and failing at the make stage. The output is the following:
To my knowledge I have all the prerequisites. It seams to be missing some SDL stuff. I have installed the following packages:
libsdl1.2debian, libsdl1.2debian-alsa, libsdl-mixer1.2, libsdl-image1.2 and libsdl-ttf2.0-0.
Thanks for your work on an awesome game and in advance for your help on this issue.
Best,
Michael
I am trying to compile TOME4 on Ubuntu 10.4 and failing at the make stage. The output is the following:
Code: Select all
$ make
==== Building physfs ====
Creating bin/Debug
Creating obj/Debug/physfs
physfsrwops.c
In file included from src/physfs/physfsrwops.c:24:
src/physfs/physfsrwops.h:30:17: error: SDL.h: No such file or directory
In file included from src/physfs/physfsrwops.c:24:
src/physfs/physfsrwops.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/physfs/physfsrwops.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/physfs/physfsrwops.h:71: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/physfs/physfsrwops.h:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/physfs/physfsrwops.c:26: error: expected ‘)’ before ‘*’ token
src/physfs/physfsrwops.c:100: error: expected ‘)’ before ‘*’ token
src/physfs/physfsrwops.c:114: error: expected ‘)’ before ‘*’ token
src/physfs/physfsrwops.c:125: error: expected ‘)’ before ‘*’ token
src/physfs/physfsrwops.c:139: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/physfs/physfsrwops.c:162: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/physfs/physfsrwops.c:174: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/physfs/physfsrwops.c:180: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/physfs/physfsrwops.c:186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
make[1]: *** [obj/Debug/physfs/physfsrwops.o] Error 1
make: *** [physfs] Error 2
libsdl1.2debian, libsdl1.2debian-alsa, libsdl-mixer1.2, libsdl-image1.2 and libsdl-ttf2.0-0.
Thanks for your work on an awesome game and in advance for your help on this issue.
Best,
Michael