Sign in to follow this  
LilrooJoe

SDL with g++ on OSX Lion

Recommended Posts

LilrooJoe    100
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
[url="http://lazyfoo.net/SDL_tutorials/lesson01/index.php"]http://lazyfoo.net/S...son01/index.php[/url]

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this