[SDL] Some instructions to install SDL, SDL_image, SDL_mixer and SDL_net under cygwin/mingw

Kein-Hong Man keinhong at gmail.com
Wed Jan 3 18:33:22 PST 2007


Hi,

tknits kitsahcots wrote:
> Hello.
> I need some Instructions to get SDL, SDL_image, SDL_mixer and SDL_net
> work under Windows, with some gcc-environment. But under both, Cygwin
> and MSYS (mingw32) i have problems:
> [snip snip]
> 
> Under MSYS:
> SDL seems to be installed correctly... SDL_mixer doesnt... Programs
> compiled with SDL_mixer-use are crashing my System, but
> install-instructions dont tell anything about MinGW32...
> [snip snip]

I know only MinGW/MSYS...

"Seems" sounds like guessing... Better compile and run the SDL 
test programs to see if SDL works properly, and only then install 
the other libraries. Building the tests exercises the configure 
build method, then grab a small demo and try the direct-Makefile 
build method. If both build methods work, you can be reasonably 
sure your SDL dev setup is solid.

If you don't really need to build from sources, do consider taking 
the easy route of grabbing developer's packages. Installing 
SDL_{image|mixer|net|ttf} using libsdl.org's mingw developer's 
packages is dead easy, just a few library and header files. I've 
[re]set-up my mingw/msys dev environment a few times, and the 
SDL_* developer's packages are very easy to install and are 
trouble-free.

-- 
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia





More information about the SDL mailing list