SDL with g++ on OSX Lion

Started by
0 comments, last by martinis_shaken 12 years, 1 month ago
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)
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.

This topic is closed to new replies.

Advertisement