SDL Codewarrior compile

I’ve been trying everything possible to compile a minimal program using SDL
with Metrowerks Codewarrior 7 for windows… no success.

Does anybody know how to set codewarrior up to compile sdl projects? Maybe I
should compile the SDL sources with CW?

Please help!

Yes, you can’t use the SDLmain.lib file included with the win32-dev SDL
files. CW requires a simple modification in the SDLmain.c file in order to
compile apps successfully. Later tonight I’ll send you the CW project files
I’m using, previously sent to me by Keith Swyer. So thanks go to him…

To Sam & others in charge…has this modification gone into CVS (I’m talking
about defining “main” when the CW compiler is detected)?

Mahmoud Al Gammal>I’ve been trying everything possible to compile a minimal program using SDL

with Metrowerks Codewarrior 7 for windows… no success.

Does anybody know how to set codewarrior up to compile sdl projects? Maybe I
should compile the SDL sources with CW?

Please help!


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Yes, you can’t use the SDLmain.lib file included with the win32-dev SDL
files. CW requires a simple modification in the SDLmain.c file in order to
compile apps successfully. Later tonight I’ll send you the CW project files
I’m using, previously sent to me by Keith Swyer. So thanks go to him…

To Sam & others in charge…has this modification gone into CVS (I’m talking
about defining “main” when the CW compiler is detected)?

I don’t think so… can you submit a patch?

Thanks,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Thanks to both of you. Thanks a lot!

“Mahmoud Al Gammal” wrote in message
news:mailman.1028207941.747.sdl at libsdl.org

Yes, you can’t use the SDLmain.lib file included with the win32-dev SDL
files. CW requires a simple modification in the SDLmain.c file in order to
compile apps successfully. Later tonight I’ll send you the CW project
files
I’m using, previously sent to me by Keith Swyer. So thanks go to him…

To Sam & others in charge…has this modification gone into CVS (I’m
talking
about defining “main” when the CW compiler is detected)?

Mahmoud Al Gammal

I’ve been trying everything possible to compile a minimal program using
SDL

with Metrowerks Codewarrior 7 for windows… no success.

Does anybody know how to set codewarrior up to compile sdl projects?
Maybe I> >should compile the SDL sources with CW?

Please help!


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

I have some problems at compiling the sdl.dll. The compiler says it cannot
find the “SDL_Win32.mch” file. I’ve searched for it, but it’s nowhere to be
found. What is that file for? I’ve tried to remove it from the "prefix file"
textbox, but there are errors…

“Mahmoud Al Gammal” wrote in message
news:mailman.1028207941.747.sdl at libsdl.org

Yes, you can’t use the SDLmain.lib file included with the win32-dev SDL
files. CW requires a simple modification in the SDLmain.c file in order to
compile apps successfully. Later tonight I’ll send you the CW project
files
I’m using, previously sent to me by Keith Swyer. So thanks go to him…

To Sam & others in charge…has this modification gone into CVS (I’m
talking
about defining “main” when the CW compiler is detected)?

Mahmoud Al Gammal

I’ve been trying everything possible to compile a minimal program using
SDL

with Metrowerks Codewarrior 7 for windows… no success.

Does anybody know how to set codewarrior up to compile sdl projects?
Maybe I> >should compile the SDL sources with CW?

Please help!


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl