Sunday, January 10, 2010

compiling #sdl #quake on #ubuntu

project url is here http://www.libsdl.org/projects/quake

download the code and data
wget http://www.libsdl.org/projects/quake/src/sdlquake-1.0.9.tar.gz
wget http://www.libsdl.org/projects/quake/data/quakesw-1.0.6.tar.gz

install sdl dev files
sudo apt-get install libsdl1.2-dev

tar -x --strip-components=1 -f sdlquake-1.0.9.tar.gz
tar -x -f quakesw-1.0.6.tar.gz

I had an error when i ran make after ./configure

add `AM_PROG_AS' Makefile.am: to `configure.in'

i modified the configure.in this way added AM_PROG_AS
also removed gcc flag -mpentiumpro

touch INSTALL NEWS README AUTHORS ChangeLog
automake --add-missing

autoreconf
and then
./configure
make

you will get an linking error related to d_copy.S
grep d_copy *
search for it and remove all references from Makefile and Makefile.in , Makefile.linuxi386, Makefile.am

then do again ./configure
make
./sdlquake



or full screen

./sdlquake -fullscreen

or without sound

./sdlquake -nosound




for a better engine try something based on ioquake

i like the video of elite force raytraced

1 comment:

Unknown said...

periculos