Hey all, I'm using Mac OS 9.1 and MetroWorks CodeWarrior 4.1 in my school programming class. I'm trying to get the SDL library to work so I can write some graphical apps, but I've had some problems.
I've never installed a library in MacOS (I use linux and windows at home), so I've been sort of guessing as I go along.
First I extracted the latest development version of SDL 1.2.5 and moved the file "SDL" in lib to the System Folder. Then I created a new project and added the path to the SDL include and lib folders to my Access Paths (I tried both User and System Access Paths - whats the difference?).
At this point, it almost works - when I attempt to compile a simple program I get:
Sooo I tried adding SDLmain.PPC.LIB to the project (in the SDL lib folder) and get this error message:Link Error : undefined 'main' (code)
Referenced from '__start' in MSL RuntimePPC.Lib
But now I'm out of ideas, and I'm not finding any solutions on Google (or at least nothing that works).Link Error : undefined 'SDL_main' (code)
Referenced from 'main' in SDL_main.c
Link Error : undefined 'SDL_putenv' (code)
Referenced from 'main' in SDL_main.c
Link Error : undefined 'SDL_InitQuickDraw' (code)
Referenced from 'main' in SDL_main.c
Thanks for any help.