How to build the SDK on OSX
From modwiki
Contents |
What you'll need
- A copy of the Linux Doom 3 SDK (ftp://ftp.idsoftware.com)
- The XCode project from id (ftp://ftp.idsoftware.com/idstuff/doom3/source/mac)
- XCode 1.2 (http://connect.apple.com)
- Mac OS X 10.4 users need XCode 2.x
- Mac OS X Panther 10.3 or Mac OS X 10.4 Tiger
- Misc Mac OS X build files (http://home.comcast.net/~lowkory/OSX_build_files.zip) [feel free to mirror]
- NOTE: XCode 2.x users need to change the build settings under rules in the get info dialog. Change System C Rule and System Assembler Rule to GCC 3.3. This needs to be done for idlib, game, and game-d3xp.
Things you might want
- PearPC (http://pearpc.sourceforge.net/)
- PearPC OSX Guide (http://os-emulation.net/pearpc/web/installX.html#installX)
How to build it
It's quite simple actually. Just extract the OSX_build_files zip into your build directory, modify the make file to suit your needs, and run make. The OSX_build_files zip just has a makefile and osx/apple_bool.h which is just #define bool unsigned char. OSX_build_files will also replace renderer/qgl.h so if you've been monkeying with that make sure the mac stuff includes <OpenGL/gl.h> (not <gl.h>) and you'll be fine.
PearPC
You can build the SDK in a Win32 or Linux environment with PearPC (a PowerPC emulator.) The guide above is quite good and will show you how to setup a nice mac environment you can transfer files to and from etc. Only problem with this method is that builds can take a long time, plan to let it go overnight. This is extremely useful for those who don't own a mac.

