stuck w/ sdl..
While linking this
#include <SDL.h>
int main(int argc, char *argv[])
{
return 0;
}
i get such an error [Linker error] undefined reference to `WinMain@16' whether I compile it as an console or as a windows application.
I use Dev-C++ IDE under winxp.
You will need to link in (those are L's not I's):
For more resources on SDL and guides for getting it setup, take a look at this thread.
-lsdlmain-lsdl-lmingw32
For more resources on SDL and guides for getting it setup, take a look at this thread.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement