PDA

View Full Version : SDL framework question


kingofsquirrels
2002.08.25, 03:59 PM
What is the correct way to distribute a game using SDL on MacOS X? I currently have SDL installed in ~username/Library/Frameworks, but it doesn't seem very mac-like to make the user install the framework themselves. I've read that the best way is to package the framework in the application bundle, but I'm not sure how to do that for an existing framework (the article on this at cocoadevcentral only covers the creation of a new framework). I'm using ProjectBuilder and OS X 10.1.5.

Any help is greatly appreciated!

OneSadCookie
2002.08.25, 04:28 PM
My advice would be to download the SDL source. Chances are there's a Project Builder project in there which you can modify as CocoaDevCentral suggests to put the framework into the application bundle.

I agree that this is by far the nicest way to distribute it. It also complies with the LGPL which SDL is under, since the framework can still be removed and replaced without affecting your application.

kingofsquirrels
2002.08.25, 09:55 PM
Thanks, OneSadCookie! I've got it working now.