The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: JHGuitarFreak on December 13, 2006, 06:45:28 am



Title: UQM building on MAC OS X
Post by: JHGuitarFreak on December 13, 2006, 06:45:28 am
well i'm starting my wonderful exploration of MAC compiling, and i've com across a problem...

i get this in the terminal on mac os x 10.4.8
Code:
:/uqm-0.5.0-fmv root# ./build.sh uqm config
'echo -n' capable echo found.
Sed stream editor found.
tr found.
Make found.
cc1: error: SDL/SDL_version.h: No such file or directory
GNU C compiler found.
Rez resource compiler (Apple Developer Tools) found.
Big-endian machine detected.
Simple DirectMedia Layer not found.

and i'm trying to guess where i put the sdl frameworks without success.

need alot of help on this. so any help be it alot or barely at all i will be very grateful.


Title: Re: UQM building on MAC OS X
Post by: 0xDEC0DE on December 13, 2006, 07:59:22 am
/Library/Frameworks, of course.

My advice would be to bust open the .app file for UQM 0.5.0 and put all the included frameworks the game provides into the aforementioned folder if you want the game to build against known good libraries.

I've also got a current-CVS version available here if you want to lift frameworks that will play nice with universal builds:

http://www.submedia.net/uqm/


Title: Re: UQM building on MAC OS X
Post by: JHGuitarFreak on December 13, 2006, 08:09:35 am
/Library/Frameworks, of course.

My advice would be to bust open the .app file for UQM 0.5.0 and put all the included frameworks the game provides into the aforementioned folder if you want the game to build against known good libraries.

I've also got a current-CVS version available here if you want to lift frameworks that will play nice with universal builds:

http://www.submedia.net/uqm/

thanks man, i truly appreciate the advice


Title: Re: UQM building on MAC OS X
Post by: Naozane on January 27, 2007, 07:44:45 am
I am encountering a similar error when trying to compile from the 0.6.2 source on my iBook.  I tried pulling the various frameworks from the 0.6.2 .app (installed from a .dmg) into /Library/Frameworks and have ensured that I've got the latest version of Xcode from ADC.  The results are as follows:

$ ./build.sh uqm
'echo -n' capable echo found.
Sed stream editor found.
tr found.
Make found.
build/unix/build.sh: line 1: libmikmod-config: command not found
build/unix/build.sh: line 1: libmikmod-config: command not found
build/unix/build.sh: line 1: libmikmod-config: command not found
GNU C compiler found.
We have a C preprocessor.
We have a C dependency generator.
We have a C compiler.
We have a linker.
We have a Objective-C preprocessor.
We have a Objective-C dependency generator.
We have a Objective-C compiler.
Rez resource compiler (Apple Developer Tools) found.
We have a MacOS X resource compiler (Rez).
Little-endian machine detected.
Simple DirectMedia Layer not found.


Full disclosure: this is the first time I've done anything substantially more complicated than Hello World! in around, oh, a decade.  I'm also more than a little tired now.  It's highly likely I'm doing something obvious wrong - any ideas?

Perhaps I shouldn't be doing this after the week I've had...   ;D

Quick update - installing libmikmod again via Fink took care of those errors.  I also attempted to update SDL, with no luck.