[SDL] SDL and IDEs in Windows

Mikkel Gjøl s971661 at student.dtu.dk
Sun Nov 2 13:52:01 PST 2003


William Clayton wrote:
> Sample errors:
> */Dev C++:/*
> [Linker error] undefined reference to `WinMain at 16' <mailto:`WinMain at 16'>
> /AND:/
>  C:\Program Files\Dev-C++\Dev-Cpp\Piano\Makefile.win
> [Build Error]  [Audio.exe] Error 1

You need to link both SDL.lib, and SDLmain.lib into the program.


Regards,
\\Mikkel Gjoel





More information about the SDL mailing list