Forum Archive

Go Back   3D Realms Forums > 3D Realms Topics > Other Apogee/3D Realms Games > Rise of the Triad (1995) Source Code
Blogs FAQ Members List Social Groups Calendar Mark Forums Read

Notices

 
 
Thread Tools
Old 01-11-2003, 09:33 AM   #1
Relic2K
Compile error?
I have installed all the packages that were required, libSDL, SDL_Mixer, etc and when I go to compile either the release code or the CVS code this is what I get for an error;

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: `MIX_FADING_OUT' undeclared (first use in this function)
make: *** [fx_man.o] Error 1

Any ideas why this is occuring ? I have the retail version that I am trying to compile the source for.

OS=Mandrake 9
drivers= latest NVidia drivers
vid card = G4 Ti 4600 w/128
[img]images/icons/confused.gif[/img]
Relic2K is offline  
Old 01-11-2003, 11:45 AM   #2
jbailey

jbailey's Avatar
Re: Compile error?
You need to be sure all your include directories and
library directories are properly specified in the compiler environment. The reason for the error is that the compiler can't find the reference called for, it's probably in one of the header files. Do a file search for 'MIX_FADING_OUT' in all your header and lib files, which ever file it's being reported in, make sure that file's directory is in the environment, or you could copy the header file into the local source directory and change the global calls to local ones e.g. - #include <stdio.h> <- global call #include "stdio.h" <- local call. If your using a gui instead of a command-line compiler, go to your project settings and check that the proper directories are specified.

jbailey
__________________
Download Winrott here:

http://www.riseofthetriad.dk/DL_GlROTT.htm

jbailey
jbailey is offline  
Old 01-11-2003, 02:13 PM   #3
jbailey

jbailey's Avatar
Re: Compile error?
try this link:

http://www.3drealms.com/stuff/rottcdi.zip

it might help. if not, try using a slow down utility like moslo...

jbailey
__________________
Download Winrott here:

http://www.riseofthetriad.dk/DL_GlROTT.htm

jbailey
jbailey is offline  
Old 01-11-2003, 02:41 PM   #4
Relic2K
Re: Compile error?
Okay you will have to explain what exactly that is ? I downloaded it, but not a clue how to use it. Oh yeah I should add too, that my wife is running NTFS filesystem, not sure if that would matter at all but it may.
Relic2K is offline  
Old 01-11-2003, 03:37 PM   #5
jbailey

jbailey's Avatar
Re: Compile error?
If you mean moslo, it's a utility that you put on your environment path and say for example you want to run some old dos program that is not running properly due to the increased speed of your system, what moslo does is to 'emulate' a slower system a good example command line for moslo would be:

moslo /20 execuatable name

this means 20% speed of your system (or it may mean 20% speed of a ibm xt, not sure which).

If all of that doesn't work try:

http://www.brain.uni-freiburg.de/~kl...00/tppatch.zip

this program will patch executables that give the 'runtime 200 error' so they will run properly on fast computers.

jbailey
__________________
Download Winrott here:

http://www.riseofthetriad.dk/DL_GlROTT.htm

jbailey
jbailey is offline  
Old 01-12-2003, 12:41 AM   #6
Relic2K
Re: Compile error?
I finally got it to compile, I had to redownload the SDL Source packages again, and force them to install. I was missing the SDL_mixer_devel package. Now a bigger problem though. My ROTT 1.2 Retail will not install on XP ? The Install.exe will not run it just gives me an error 200 and that all. I though it may have been corrupted so I downloaded the ROTT 1.3 shareware just to check, and it did the same thing. I have PKWare 5.0 installed but it will not look at the extracted retail files..rott12r._1, rott12r._2...etc. Any ideas ? Damn this is starting to fustrate me LOL.
Relic2K is offline  
Old 01-15-2003, 10:45 AM   #7
Relic2K
Re: Compile error?
That didn't work either.
Relic2K is offline  
Old 01-15-2003, 02:24 PM   #8
rdc
Re: Compile error?
I have the Darkwar CD and what I did was just copy all the files from the RottInst folder on the CD (the files were not compressed) to my ROTT folder instead of running the install. You don't mention if you have a CD, but you if do, you might want to check for a similiar folder.
rdc is offline  
Old 01-16-2003, 05:21 AM   #9
Relic2K
Re: Compile error?
I don't have that game.
Relic2K is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 10:42 PM.

Page generated in 0.14347601 seconds (100.00% PHP - 0% MySQL) with 16 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.

Website is 1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.