[SDL] Re: SDL newbie
Pete Shinners
pete at visionart.com
Tue Mar 27 10:10:01 PST 2001
"Christian Schüler" <cschueler at gmx.de> wrote
> What I did was this: I downloaded "Devel-Runtime-Mingw32.tar.gz" Version
> 1.1.8, extracted the files and copied the SDL include directory and the lib
> files to the appropriate places in DevC++. Compilation of the test-proggie
> runs fine, but the linker says: "unresolved function WinMain16@".
>
> I'm not doing right, do I?
> Does anyone use SDL together with DevC++?
i haven't used your compiler setup, but my first guess is that
you are not linking to the SDLmain library. SDLmain helps handle
the cross-platform program entry points, and includes a basic
WinMain function to get things going (which then calls your
own "main" function)
More information about the SDL
mailing list