How to build the SDK on OSX

From modwiki

Jump to: navigation, search

Contents

What you'll need

Things you might want

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.

Image:Q4square_25.png Quake 4: 
There is an XCode project for the Quake 4 SDK. Gen. Meister has the project, and it was given to him by TTimo.
Personal tools
Main