Compiling SDL under MacOS/X

Hello,

I’ve been using SDL on Linux and Windows previously but I bought a Mac
and I would like to start using SDL for MacOS as well. However I could
not get the configure/makefiles to work properly (SDL 1.2) and there
where no ProjectBuilder projects included. Could someone on this list
perhaps enlighten me how I would go about compiling a (carbonized) copy
of SDL?

Thanks,–
Nils Svang?rd, Catchy Software
http://www.catchysoftware.com

Nils Svangard wrote:

Hello,

I’ve been using SDL on Linux and Windows previously but I bought a Mac
and I would like to start using SDL for MacOS as well. However I could
not get the configure/makefiles to work properly (SDL 1.2) and there
where no ProjectBuilder projects included. Could someone on this list
perhaps enlighten me how I would go about compiling a (carbonized) copy
of SDL?

configure/make worked for me a couple months ago, when I last
tried it on OS X, so this is probably a regression. What happened
exactly?

Stan Shebs

I have projectbuilder files for MacOS X and some new video code based on
Quartz, but I am not quite ready to release it at this time, I need to
do more testing to make sure things are working correctly.

I have built, and have ProjectBuilder files for SDL, SMPEG, SDL Mixer,
libPNG, SDL Image and maybe some others and for the most part things
seem to work OK.

I am going to Apple’s WWDC next week, at which time I will find answers
to my problems (hopefully) and be able to officially release the code
(along with several small games I have built to test stuff).

Best Regards,
DarrellOn Thursday, May 17, 2001, at 04:16 AM, Nils Svangard wrote:

Hello,

I’ve been using SDL on Linux and Windows previously but I bought a Mac
and I would like to start using SDL for MacOS as well. However I could
not get the configure/makefiles to work properly (SDL 1.2) and there
where no ProjectBuilder projects included. Could someone on this list
perhaps enlighten me how I would go about compiling a (carbonized) copy
of SDL?

Thanks,


Nils Svang?rd, Catchy Software
http://www.catchysoftware.com

I compiled SDL under MacOS/X for the first time yesterday.
It took some time and grievance, not because of SDL, but because OSX missed a
couple of useful things like automake, libz, libtool, libpng, libjpg etc.
After downloading and compiling the missing parts, SDL and SDL-image compiled
fine from the command-line.

Good luck:)
BLiP!On Thursday 17 May 2001 11:16, you wrote:

Hello,

I’ve been using SDL on Linux and Windows previously but I bought a Mac
and I would like to start using SDL for MacOS as well. However I could
not get the configure/makefiles to work properly (SDL 1.2) and there
where no ProjectBuilder projects included. Could someone on this list
perhaps enlighten me how I would go about compiling a (carbonized) copy
of SDL?

Thanks,


Nils Svang?rd, Catchy Software
http://www.catchysoftware.com

Jone Marius Vignes wrote:

I compiled SDL under MacOS/X for the first time yesterday.
It took some time and grievance, not because of SDL, but because OSX missed a
couple of useful things like automake, libz, libtool, libpng, libjpg etc.

automake is a pretty obvious omission, seeing as how autoconf is
preinstalled, and I’m going to see if I can get it included with
the other dev tools. (I work in the OS X dev tools group, so have
a little leverage. :slight_smile: )

libtool and libz are there already, look for /usr/bin/libtool,
/usr/lib/libz.* and /usr/include/zlib.h. libpng and libjpeg
seem sensible, not sure how to get those added to the system
though, that’s a different group. At the very least you should
send mail and/or radars to Apple’s developer support folks;
if enough developers ask for these kinds of things, they will
appear in the next rev of the system.

Stan Shebs
@Stan_Shebs
shebs at apple.com