Help - Search - Members - Calendar
Full Version: How do u compile or install Rise of the triad
MandrivaUsers.org > General Help > Games
mdk-frodo
Great I just found and forgot that theres rott for linux cool smile.gif win32 version is no good and is not playable
now that I'm more than 50% sure I want linux for ever how do I compile rott since I
can't get the installer working as it asks me for cd of rott dark war ?

Can I install rott shareware with the installer ? and if yes how on earth do you do that?

If no what I need to compile it?

I installed lost of stuff related to sdl and I can't hit the right spot I get this on a terminal

................................................................................
...........................................................
[frodo@telefonica rott]$ make
gcc -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -c -o cin_actr.o cin_actr.c
gcc -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -c -o cin_efct.o cin_efct.c
gcc -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -c -o cin_evnt.o cin_evnt.c
gcc -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -c -o cin_glob.o cin_glob.c
gcc -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -c -o cin_main.o cin_main.c
gcc -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -c -o cin_util.o cin_util.c
gcc -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -c -o dosutil.o dosutil.c
gcc -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -c -o engine.o engine.c
gcc -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -DUSE_EXECINFO=1 -c -o fx_man.o fx_man.c
fx_man.c:24:23: SDL_mixer.h: No such file or directory
fx_man.c:56: error: `MIX_CHANNELS' undeclared here (not in a function)
fx_man.c: In function `channelDoneCallback':
fx_man.c:130: warning: implicit declaration of function `Mix_FreeChunk'
fx_man.c:130: warning: implicit declaration of function `Mix_GetChunk'
fx_man.c: In function `output_version_info':
fx_man.c:369: warning: implicit declaration of function `MIX_VERSION'
fx_man.c:370: warning: implicit declaration of function `Mix_Linked_Version'
fx_man.c:370: warning: assignment makes pointer from integer without a cast
fx_man.c: In function `FX_Init':
fx_man.c:430: warning: implicit declaration of function `Mix_OpenAudio'
fx_man.c:438: warning: implicit declaration of function `Mix_AllocateChannels'
fx_man.c:442: warning: implicit declaration of function `Mix_CloseAudio'
fx_man.c:456: warning: implicit declaration of function `Mix_ChannelFinished'
fx_man.c:459: warning: implicit declaration of function `Mix_QuerySpec'
fx_man.c: In function `FX_SetVolume':
fx_man.c:500: warning: implicit declaration of function `Mix_Volume'
fx_man.c: In function `FX_SetReverseStereo':
fx_man.c:513: warning: implicit declaration of function `Mix_SetReverseStereo'
fx_man.c:513: error: `MIX_CHANNEL_POST' undeclared (first use in this function)
fx_man.c:513: error: (Each undeclared identifier is reported only once
fx_man.c:513: error: for each function it appears in.)
fx_man.c: In function `doSetPan':
fx_man.c:599: warning: implicit declaration of function `Mix_Playing'
fx_man.c:614: warning: implicit declaration of function `Mix_SetPanning'
fx_man.c: At top level:
fx_man.c:666: error: syntax error before "Mix_Chunk"
fx_man.c: In function `setupVocPlayback':
fx_man.c:670: error: `chan' undeclared (first use in this function)
fx_man.c:670: error: `priority' undeclared (first use in this function)
fx_man.c:677: error: `size' undeclared (first use in this function)
fx_man.c:689: error: `ptr' undeclared (first use in this function)
fx_man.c:695: error: `chunk' undeclared (first use in this function)
fx_man.c:695: warning: implicit declaration of function `Mix_LoadWAV_RW'
fx_man.c:703: error: `callbackval' undeclared (first use in this function)
fx_man.c: In function `FX_PlayVOC':
fx_man.c:740: error: `Mix_Chunk' undeclared (first use in this function)
fx_man.c:740: error: `chunk' undeclared (first use in this function)
fx_man.c:758: warning: implicit declaration of function `Mix_PlayChannel'
fx_man.c: In function `FX_PlayLoopedVOC':
fx_man.c:782: error: `Mix_Chunk' undeclared (first use in this function)
fx_man.c:782: error: `chunk' undeclared (first use in this function)
fx_man.c: In function `FX_PlayVOC3D':
fx_man.c:829: error: `Mix_Chunk' undeclared (first use in this function)
fx_man.c:829: error: `chunk' undeclared (first use in this function)
fx_man.c: In function `FX_PlayVOC3D_ROTT':
fx_man.c:852: error: `Mix_Chunk' undeclared (first use in this function)
fx_man.c:852: error: `chunk' undeclared (first use in this function)
fx_man.c: In function `FX_StopSound':
fx_man.c:980: warning: implicit declaration of function `Mix_HaltChannel'
fx_man.c: In function `FX_StopAllSounds':
fx_man.c:991: warning: implicit declaration of function `Mix_HaltGroup'
fx_man.c: At top level:
fx_man.c:1072: error: syntax error before '*' token
fx_man.c:1072: warning: type defaults to `int' in declaration of `music_musicchunk'
fx_man.c:1072: warning: data definition has no type or storage class
fx_man.c: In function `MUSIC_SetVolume':
fx_man.c:1125: warning: implicit declaration of function `Mix_VolumeMusic'
fx_man.c: In function `MUSIC_SongPlaying':
fx_man.c:1155: warning: implicit declaration of function `Mix_PlayingMusic'
fx_man.c: In function `MUSIC_Continue':
fx_man.c:1161: warning: implicit declaration of function `Mix_PausedMusic'
fx_man.c:1162: warning: implicit declaration of function `Mix_ResumeMusic'
fx_man.c: In function `MUSIC_Pause':
fx_man.c:1170: warning: implicit declaration of function `Mix_PauseMusic'
fx_man.c: In function `MUSIC_StopSong':
fx_man.c:1183: warning: implicit declaration of function `Mix_HaltMusic'
fx_man.c:1186: warning: implicit declaration of function `Mix_FreeMusic'
fx_man.c: In function `MUSIC_PlaySongROTT':
fx_man.c:1237: warning: implicit declaration of function `Mix_LoadMUS'
fx_man.c:1237: warning: assignment makes pointer from integer without a cast
fx_man.c:1242: warning: implicit declaration of function `Mix_PlayMusic'
fx_man.c: In function `MUSIC_FadeVolume':
fx_man.c:1292: warning: implicit declaration of function `Mix_FadeOutMusic'
fx_man.c: In function `MUSIC_FadeActive':
fx_man.c:1299: warning: implicit declaration of function `Mix_FadingMusic'
fx_man.c:1299: error: `MIX_FADING_OUT' undeclared (first use in this function)
make: *** [fx_man.o] Error 1
[frodo@telefonica rott]$
................................................................................
...........................................................

Can someone make a ņist of what rpm is needed if I have to compiile

I'm new to linux and I don't know any C++ or C programming

I hope I can get this game running on mandrake LE 2005

Thanks in advance
dexter11
QUOTE
SDL_mixer.h: No such file or directory

First try to find this SDL_mixer.h file in the software installer (try to find the package which contains this file). If it's not installed then install it. Then try to compile rott again.
mdk-frodo
Hi Dexter, thanks I'm on it how I can compile it meanwhile I'm in rpm hell
SoulSe
The SDL library is a vital API for most games. I haven't used Mandrake for ages, but I would guess that something like urpmi SDL should do the trick.
Qchem
Many distros have this in the sdl_mixer-devel package. I found this out by searching for sdl_mixer.h on rpm.pbone.net
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.