Jump to content
  • Advertisement
Sign in to follow this  
lqf2009

Compile SDL under mac os

This topic is 3158 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!