The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: Glitch on July 16, 2003, 08:55:16 am



Title: Missing some files
Post by: Glitch on July 16, 2003, 08:55:16 am
I just retrieved the source files from CVS, but I seem to be missing SDL.h and al.h.  They don't seem to be anywhere in the CVS structure.  Is there something obvious I'm missing, or can I retrieve these files elsewhere?


Title: Re: Missing some files
Post by: Novus on July 16, 2003, 12:18:19 pm
Quote
I just retrieved the source files from CVS, but I seem to be missing SDL.h and al.h.  They don't seem to be anywhere in the CVS structure.  Is there something obvious I'm missing, or can I retrieve these files elsewhere?
You seem to be missing the SDL and OpenAL header files. You can get SDL here (http://www.libsdl.org/) or from most Linux distributions. OpenAL should not be necessary; UQM compiles fine without it for me. However, it can be downloaded here (http://www.openal.org/). Again, if you are using Linux, check your distribution.


Title: Re: Missing some files
Post by: Mika on July 16, 2003, 06:29:58 pm
Read INSTALL in sc2/ dir, it lists all required libs (+ download locations).


Title: Re: Missing some files
Post by: Glitch on July 16, 2003, 09:18:57 pm
I'm attempting to compile this with MSVC++ 7.0, and I'm getting several linking errors having to do with the unresolved external symbols "_inflate", etc. in some of the zip functions.  Any thoughts?

:: Edited out stupid questions ::


Title: Re: Missing some files
Post by: meep-eep on July 17, 2003, 09:58:22 am
You'll need zlib. See INSTALL.


Title: Re: Missing some files
Post by: Glitch on July 17, 2003, 10:49:13 am
I have zlib, that's the problem.  Before I installed zlib, I got errors complaining about its absence.  Now that it's installed, I'm getting linking errors.  I just can't win.


Title: Re: Missing some files
Post by: meep-eep on July 17, 2003, 08:21:51 pm
Hmm. If you're using the UrQuanMasters.dsp project file that is included with the source, it should link with zlib.lib.
I'm not a Windows user myself, but I know it worked for other people.
Maybe someone else has a useful hint.


Title: Re: Missing some files
Post by: Glitch on July 17, 2003, 08:43:53 pm
Out of frustration, I did a clean build and it linked fine this time.  I don't really know why; I didn't change anything from the last build.

Thanks for putting up with my stupid questions; this looks great!


Title: Re: Missing some files
Post by: Mika on July 17, 2003, 08:51:48 pm
Linking error indicates it isn't finding your zlib.lib; either it's in wrong dir, you haven't added it to library search path from Tools/Options/Projects/VC++ Directories/Library Files, or it's wrong version. The one I use is from http://www.winimage.com/zLibDll/zlib114dll.zip and works fine for VC7.


Title: Re: Missing some files
Post by: Glitch on July 17, 2003, 08:58:22 pm
Thank you for your help; I edited the post above.