I’m trying to get a program to link on MacOS Classic using CodeWarrior 6.
I’m missing symbols like “__p_CType” and “_iob” and “_xlqmul” in SDL_mixer
and SDL_ttf…is this an incompatibility between CodeWarrior and MPW
(which I assume the prebuilt libraries were compiled with)?
Is there an easy workaround here, or do I need to build SDL_mixer and
SDL_ttf with CodeWarrior (…and are there project files available for
this?)
I’m trying to get a program to link on MacOS Classic using CodeWarrior
6.
I’m missing symbols like “__p_CType” and “_iob” and “_xlqmul” in
SDL_mixer
and SDL_ttf…is this an incompatibility between CodeWarrior and MPW
(which I assume the prebuilt libraries were compiled with)?
Is there an easy workaround here, or do I need to build SDL_mixer and
SDL_ttf with CodeWarrior (…and are there project files available for
this?)
The workaround isn’t very easy, but what you can do is grab a copy of
MPW, and build your app/library against the C headers from MPW. Then
instead of linking to MSL.C.PPC.LIB, link it to “StdCLib”. To make this
process as easy as possible, make sure to remove the “MSL” path from the
target’s access paths.
Come to think of it, it might be sufficient just to add StdCLib, but
then your app is linked against two different C libraries (you’ll
probably get a lot of link warnings).
There should be project files for SDL_Mixer in CVS. There are no
projects for the other libs yet though.
-DOn Sunday, February 24, 2002, at 03:58 PM, Ryan C. Gordon wrote: