Looking for tips on how to build SDL apps under CW8 / Mac OS X

Looking for tips on how to build SDL apps under CW8 / Mac OS X.

I’ve built my app libs (not the SDL part) … using mwccppc and mwldppc

Now I’m trying to pick a CodeWarrior 8 project stationary to glue my application services to some
sample SDL code and the SDL libs. For whatever reason, I don’t think the CW8 if finding and loading the SDL lib function properly, most notably the main.

I’ve built SDL apps under linux and Win32 in the past.

Any tips on what project template to use or how to do this would be appreciated.

I presume you want a to build an app that runs only on Mac OS X, yes?

If so, you should download the Mac OS X developer package from the web
site. I don’t have CW8, but you should create a “Cocoa Mach-o” target.
Add ~/Library/Frameworks/SDL.framework to the project. Then go to
/Developer/Project Builder Extras/Project Templates/Application/SDL
Application and add “SDLMain.m” and “SDLMain.h” to your project.

I haven’t tried this before, but hopefully that’s all you will need to
do. If others have done this before, I’d like to hear about it!On Friday, November 1, 2002, at 05:35 PM, Mark Whittemore wrote:

Looking for tips on how to build SDL apps under CW8 / Mac OS X.

I’ve built my app libs (not the SDL part) … using mwccppc and mwldppc

Now I’m trying to pick a CodeWarrior 8 project stationary to glue my
application services to some
sample SDL code and the SDL libs. For whatever reason, I don’t think
the CW8 if finding and loading the SDL lib function properly, most
notably the main.

I’ve built SDL apps under linux and Win32 in the past.

Any tips on what project template to use or how to do this would be
appreciated.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl