I downloaded the source code from the sourceforge project page, uqm-0.6.2-source.tgz. I am using macports, and have libsdl-framework-1.2.9 and libsdl_image-framework-1.2.4 installed. I ran the following commands. build.sh uqm configure build.sh uqm depend build.sh uqm
I get the following error, but I am not sure what to do about it. Can anyone give me advice?
...
CC obj/debug/src/sc2code/libs/graphics/sdl/3do_blt.c.o In file included from src/sc2code/libs/graphics/sdl/sdl_common.h:25, from src/sc2code/libs/graphics/sdl/3do_blt.c:21: /Library/Frameworks/SDL_image.framework/Headers/SDL_image.h:30:17: error: SDL.h: No such file or directory /Library/Frameworks/SDL_image.framework/Headers/SDL_image.h:31:25: error: SDL_version.h: No such file or directory /Library/Frameworks/SDL_image.framework/Headers/SDL_image.h:32:24: error: begin_code.h: No such file or directory /Library/Frameworks/SDL_image.framework/Headers/SDL_image.h:114:24:In file included from src/sc2code/libs/graphics/sdl/sdl_common.h:25, from src/sc2code/libs/graphics/sdl/3do_blt.c:21: /Library/Frameworks/SDL_image.framework/Headers/SDL_image.h:30:17: error: SDL.h: No such file or directory /Library/Frameworks/SDL_image.framework/Headers/SDL_image.h:31:25: error: SDL_version.h: No such file or directory /Library/Frameworks/SDL_image.framework/Headers/SDL_image.h:32:24: error: begin_code.h: No such file or directory /Library/Frameworks/SDL_image.framework/Headers/SDL_image.h:114:24: error: close_code.h: No such file or directory error: close_code.h: No such file or directory lipo: can't figure out the architecture type of: /var/tmp//ccIvPXR9.out make: *** [obj/debug/src/sc2code/libs/graphics/sdl/3do_blt.c.o] Error 1
I recall the "official" distributions of SDL and SDL_image not doing #includes in the manner prescribed by Apple. If the top of your SDL_image.h file does not look like this:
...then your frameworks do not use the nifty Apple magic for locating headers in other frameworks. See your gcc and cpp manpages for more detailed information, but you'll have to muck with your headers a bit to get the preprocessor+compiler to look for everything in the right places.
Worst-case scenario, you can download the binary distribution, pull the frameworks out of it, and diff them for anything obvious.
Logged
"I’m not a robot like you. I don’t like having disks crammed into me… unless they’re Oreos, and then only in the mouth." --Fry