The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
August 15, 2022, 08:45:04 am
Home Help Search Login Register
News: Paul & Fred have reached a settlement with Stardock!

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Compile troubles
« previous next »
Pages: [1] Print
Author Topic: Compile troubles  (Read 2894 times)
[Insert name here]
Guest


Email
Compile troubles
« on: August 30, 2005, 04:34:09 am »

Hi, been trying to compile the game But having troubles.  everytime I get this error when I type the command:

$ ./build.sh uqm config
'echo -n' capable echo found.
Sed stream editor found.
 tr found.
Make found.
GNU C compiler found.
windres found.
Little-endian machine detected.
build/unix/build.sh: sdl-config: command not found
build/unix/build.sh: sdl-config: command not found
build/unix/build.sh: sdl-config: command not found
Fatal: Could not determine version of Simple DirectMedia Layer

Man I feel stupid cause I don't know whats wrong. I probably forgot to add something or messed something up somehow.  Huh
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Compile troubles
« Reply #1 on: August 30, 2005, 06:05:03 am »

You need the SDL library. And if you don't have that, then you probably haven't got some of the other required libraries. Look in the file called INSTALL, where they're all listed.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
[Insert name here]
Guest


Email
Re: Compile troubles
« Reply #2 on: August 30, 2005, 06:21:41 am »

SO what do I do with the library? Your refering to SDL 1.2 right? Cause I had that installed but didn't know what to do with it.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Compile troubles
« Reply #3 on: August 30, 2005, 08:50:20 am »

If you're compiling under MinGW, there are detailed instructions in INSTALL.mingw in the UQM source distribution. Also, see this thread.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Compile troubles
« Reply #4 on: August 30, 2005, 02:51:56 pm »

Also note that you need the development files for SDL. Not just the runtime files.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
[Insert name here]
Guest


Email
Re: Compile troubles
« Reply #5 on: August 31, 2005, 06:35:54 am »

Lets see what I got from install.mingw,
http://www.libsdl.org/release/SDL-devel-1.2.8-mingw32.tar.gz : Downloaded, opened it and put in it's own folder.
http://www.libsdl.org/projects/SDL_image/release/SDL_image-devel-1.2.4-VC6.zip : Downloaded, unzipped.
http://ftp://opensource.creative.com/pub/sdk/OpenALSDK.exe : Downloaded installed.
http://www.vorbis.com/files/1.0/windows/OggVorbis-win32sdk-1.0.zip : Downloaded, unzipped.
http://www.gzip.org/zlib/zlib122-dll.zip : Downloaded, unzipped.
http://sc2.sourceforge.net/misc/_G_config.h : Downloaded.

I've copied all DLL's to \[MinGW]\lib and all header files to \[MinGW]\include. Copied the Ogg and Vorbis folders to the include directory.

Also note that you need the development files for SDL. Not just the runtime files.

? Dunno what you mean by that. I have SDL 1.2 and SDL development 1.2.8 for mingw32.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Compile troubles
« Reply #6 on: August 31, 2005, 01:25:54 pm »

Lets see what I got from install.mingw,
I've copied all DLL's to \[MinGW]\lib and all header files to \[MinGW]\include. Copied the Ogg and Vorbis folders to the include directory.
Based on your description, you haven't installed SDL properly. Follow the installation instructions in the SDL package. The error message you're getting is because the SDL configuration detection script (sdl-config) hasn't been installed properly.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Compile troubles
« Reply #7 on: August 31, 2005, 03:04:45 pm »

Also note that you need the development files for SDL. Not just the runtime files.
? Dunno what you mean by that. I have SDL 1.2 and SDL development 1.2.8 for mingw32.
Quote
The runtime files are the ones UQM needs to run. The development files are the ones that UQM needs to compile. But you've got the right package. What you need to do is put the dir that contains sdl-config in your search path.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!