We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 14

Summary: codewarrior project file updates...
Product: SDL Reporter: Ryan C. Gordon <icculus>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: don't know   
Hardware: PowerPC   
OS: Mac OS Classic   

Description Ryan C. Gordon 2006-01-03 11:57:44 UTC
To: "A list for developers using the SDL library" <sdl@libsdl.org>
From: =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb@algonet.se>
Date: Wed, 14 Sep 2005 23:22:24 +0200
Subject: [SDL] CodeWarrior projects updated

I've updated the CodeWarrior projects to
build the latest SDL version (from CVS)

Both the old CW5 project, as well as an
updated version for CW6 (Classic/Carbon)


I also found some problems with the old
projects, except for missing files etc:

- both the debug/static and release/dynamic
   library was using the name "SDL.X86.LIB" ?
- CW5 couldn't build for Carbon correctly
   (a known problem, but I removed the targets)
- CW6 didn't really want to use the old StdCLib
   (so I just linked against MSL for the "new")

The OpenGL used was an old version, so I
just deleted that and built against 1.2.
(with a path of "{CodeWarrior}:OpenGL")
It can be downloaded from Apple's FTP:
ftp://ftp.apple.com/developer/opengl/SDK/

Also did some minor changes in naming:
- renamed "SDL.PPC.DLL" to SDLClassic
- renamed "Carbon" suffix to just CRB
- changed SDL.X86.LIB to just SDL.LIB
- changed SDL.X86.DLL to just SDL.DLL


Here is a portrait of all of the family together:
http://www.algonet.se/~afb/libsdl/SDL-cw.png

"SDL" is the old Mac-library that is even MPW-compatible,
SDLClassic is for InterfaceLib and SDLCarbon for CarbonLib

You can only have one of them "active", or you'll get errors
like these: http://www.algonet.se/~afb/libsdl/linkerrors.html

Tested with Mac OS X, Mac OS 9 (Classic), Windows 98 (VPC)
and seems to be working just fine - including the GL demo.


Here are the exported XML project files, from CodeWarrior:
http://www.algonet.se/~afb/libsdl/CWprojects-xml.zip

It also includes a few new/updated Mac support files.
I'll make a binary version of "CWProjects.sea" later.

--anders

PS. Yes, it's all obsolete... Still works fine, though ?
     For the real builds, I'm using Xcode. (GNU Make too)
Comment 1 Ryan C. Gordon 2006-01-27 11:23:02 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL.

--ryan.

Comment 2 Sam Lantinga 2006-02-25 14:00:17 UTC

*** This bug has been marked as a duplicate of 53 ***