Jump to content
  • Advertisement
Sign in to follow this  
LilrooJoe

SDL with g++ on OSX Lion

This topic is 2478 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

Dose anyone know how to set up SDL (simple direct media layer) on OSX Lion so I can compile my code with g++ ? I have read the "readme" that comes with the package and I have placed the frameworks folder in the relevant directory, however, this does not seem to be enough. Can anyone help me ? I have been stuck with this problem for a week now, and any suggestions would be great. (I do not want to use Xcode)

Share this post


Link to post
Share on other sites
Advertisement
http://lazyfoo.net/S...son01/index.php

Lazy foo has a great tutorial for setting up SDL in various environments. It is also an amazing resource for the basics of SDL. As for G++ in OS X, there isn't a direct example (as the OSX tutorial only supports XCode). However, there is a tutorial for command-line in linux that uses g++. May be your best bet for getting started.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!