Problem with CodeWarrior's Project's tests

I downloaded SDL 1.2 at CVS page.

I can compile without any problem the targets
"SDL MacOS Debug" & “SDLMain MacOS” & “SDL MacOS Ressources”.

But when I trie to compile any of the tests,
two links errors occur:

Link Error : undefined ‘SDL_getenv’ (code)
Referenced from ‘SDL_SetError’ in SDL.PPC.LIB
Referenced from ‘SDL_InitSubSystem’ in SDL.PPC.LIB

Link Error : undefined ‘SDL_putenv’ (code)
Referenced from ‘main’ in SDL_main.c

With version 1.18, only the second link error occurs.

What can I do ?

Luc-Olivier

What can I do ?
I found!
The project doesn’t contain the file “SDL_getenv.c”.
It need to be added, to every “main” targets.
I really don’t know if this is the ‘clean’ thing to do,
but this works.

Something else:
There are some broken links in the access-path prefs:

The following access path in targets cannot be found:
{Project}::src:audio:macos:

The following access path in targets cannot be found:
{Project}::src:audio:win32:

What is wrong ? The access-path or the files are really missing ?

Luc-Olivier

What can I do ?

Download the new projects!! I just uploaded them :wink:

http://icdweb.cc.purdue.edu/~walisser/sdl/devel/CWprojects.sea.hqx

BTW, I have tested with 1.2 snapshot. You have to tweak a few of the testers
to get things rolling (see hint in Readme file).> From: Luc-Olivier de Charri?re <Luc-Olivier.deCharriere at epfl.ch>

Reply-To: sdl at lokigames.com
Date: Wed, 14 Feb 2001 13:04:43 -0800
To: sdl at lokigames.com
Subject: [SDL] Re: Problem with CodeWarrior’s Project’s tests

Download the new projects!! I just uploaded them :wink:

http://icdweb.cc.purdue.edu/~walisser/sdl/devel/CWprojects.sea.hqx

Got 'em, thanks!

-Sam Lantinga, Lead Programmer, Loki Entertainment Software