Compile SDL under mac os

Started by
1 comment, last by samuraicrow 14 years, 5 months ago
Hello! I want to compile SDL under mac os.But I don't know how to compile it,Please tell me ,if you know! Thank you for your help!
Advertisement
Quote:I want to compile SDL under mac os.But I don't know how to compile it,Please tell me ,if you know!
The easiest way is probably to use the Xcode projects that come with the SVN checkout.
If you are using Snow Leopard (MacOSX 10.6.x) you'll need to get the X server and compile against that as your graphics driver. SDL version 1.2.14 does this by default.

If you're just trying to get it working, download MacPorts instead. It will set up the X server and SDL for you with one command.

This topic is closed to new replies.

Advertisement