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)
I have not used the command line to compile SDL code, but there are two common problems people have compiling SDL code from the command line on Mac OS X. First, the Mac version of SDL is a framework, not a library, so you must use the -framework flag to link to SDL. Second, the Mac version of SDL uses Cocoa so you must link to the Cocoa framework.
If neither of these suggestions solve your problem, you will have to provide more information for anyone to be able to help you. You will have to explain how you are trying to compile your code and explain the errors you're getting.
There used to be an Xcode template for SDL so you could avoid all this nitty gritty but I don't think it's been updated for latest Xcode not to mention you said you don't want to use Xcode anyways.
Don't talk about writing games, don't write design docs, don't spend your time on web boards. Sit in your house write 20 games when you complete them you will either want to do it the rest of your life or not * Andre Lamothe