javagamer
May 2nd, 2008, 09:49 PM
Hi,
I've scoured the net and I can't seem to find a way to get Sauerbraten to compile on Hardy64, I got Sauerbraten from CVS and cd'ed to src, but once I type make I get an error:
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ishared -Iengine -Ifpsgame -Irpggame -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -c -o shared/tools.o shared/tools.cpp
shared/tools.cpp: In function ‘char* makerelpath(const char*, const char*, const char*)’:
shared/tools.cpp:29: error: no matching function for call to ‘min(int, long int)’
make: *** [shared/tools.o] Error 1
Can anyone help? I'm rather new to Ubuntu so I might be missing something obvious.
I've scoured the net and I can't seem to find a way to get Sauerbraten to compile on Hardy64, I got Sauerbraten from CVS and cd'ed to src, but once I type make I get an error:
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ishared -Iengine -Ifpsgame -Irpggame -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -c -o shared/tools.o shared/tools.cpp
shared/tools.cpp: In function ‘char* makerelpath(const char*, const char*, const char*)’:
shared/tools.cpp:29: error: no matching function for call to ‘min(int, long int)’
make: *** [shared/tools.o] Error 1
Can anyone help? I'm rather new to Ubuntu so I might be missing something obvious.