Installing and using SDL in Mac OS X
Hello everyone filfil96 here, I started searching for tutorials on developing games for the Mac OS X a couple of months ago and I found a couple of good ones (oh well I guess you can't trust the Internet
) but anyway I've got some very simple questions here that I would like answered please:
-Does Xcode include SDL?
-If it does, then how do include it? is it just like including OpenGL?
-If it doesn't include SDL then where can I install it?
-Where are any good SDL tutorials ?(My googling power is 0 to none
)
-Would you recommend SDL?
Thanks guys! I hope I'm not being too much of a burden
filfil96
) but anyway I've got some very simple questions here that I would like answered please:-Does Xcode include SDL?
-If it does, then how do include it? is it just like including OpenGL?
-If it doesn't include SDL then where can I install it?
-Where are any good SDL tutorials ?(My googling power is 0 to none
)-Would you recommend SDL?
Thanks guys! I hope I'm not being too much of a burden

filfil96
filfil96 Wrote:-Does Xcode include SDL?
-If it does, then how do include it? is it just like including OpenGL?
-If it doesn't include SDL then where can I install it?
-Where are any good SDL tutorials ?(My googling power is 0 to none)
No, SDL is not included in xCode. SDL must be included and linked as a separate Framework for xCode projects. You may also use the SDL templates to create a project that already has SDL enabled. To learn more, see one of the following pages:
Step-By-Step instructions: http://www.meandmark.com/sdlopenglpart2.html
SDL libraries: http://www.libsdl.org/download-1.2.php (development libraries -> MacOSX)
Two alternative ways: http://guides.macrumors.com/Installing_SDL
Explanation of Frameworks: http://developer.apple.com/DOCUMENTATION...works.html
filfil96 Wrote:-Would you recommend SDL?Yes, I would. I find SDL to be an excellent way to develop multi-media, cross-platform applications. You may want to pick up OpenGL though, if you haven't already, since you still may need to do shiny graphics things.
"Who's John Galt?"
Thanks alot guys! But now I can't find the "/Library/Application Support/Developer/Shared/Xcode/Project Templates/Application" folder. This is what the document says specifically
"We have provided 4 different kinds of SDL templates for Xcode.
The installion directory depends on which version of Xcode you have.
For Leopard (Xcode 2.5, 3.0), we recommend you install to:
/Library/Application Support/Developer/Shared/Xcode/Project Templates/Application
For Xcode 1.0 to 2.4,
/Library/Application Support/Apple/Developer Tools/Project Templates/Appllcation
For Project Builder,
/Developer/ProjectBuilder Extras
Also note you may place it in per-user locations, e.g.
~/Library/Application Support/Developer/Shared/Xcode/Project Templates/Application
" But i can't find any of the above folders
, any help please?
"We have provided 4 different kinds of SDL templates for Xcode.
The installion directory depends on which version of Xcode you have.
For Leopard (Xcode 2.5, 3.0), we recommend you install to:
/Library/Application Support/Developer/Shared/Xcode/Project Templates/Application
For Xcode 1.0 to 2.4,
/Library/Application Support/Apple/Developer Tools/Project Templates/Appllcation
For Project Builder,
/Developer/ProjectBuilder Extras
Also note you may place it in per-user locations, e.g.
~/Library/Application Support/Developer/Shared/Xcode/Project Templates/Application
" But i can't find any of the above folders
, any help please?
OMG! IT'S A SQUIRREL!!!
Its not put there for you, you have to add it. Or, at least, I did.
Ok I have posted the wrong question, please excuse me. What I meant was:
-Where is the folder that Xcode goes to when you choose File -> New Project ?
From what I've read from the SDL developer package manual I need: to find that specific folder and copy and paste the above documents to it.
-Where is the folder that Xcode goes to when you choose File -> New Project ?
From what I've read from the SDL developer package manual I need: to find that specific folder and copy and paste the above documents to it.
OMG! IT'S A SQUIRREL!!!
Same answer: create the appropriate directory, since it won't exist if you haven't added project templates before. I'd recommend the universal directory:
/Library/Application Support/Developer/Shared/Xcode/Project Templates/Application
I suspect that every directory up to "Developer" will already exist.
/Library/Application Support/Developer/Shared/Xcode/Project Templates/Application
I suspect that every directory up to "Developer" will already exist.
"Who's John Galt?"

