Hi. I am learning SDL, and I can't get it to work. I am using the Dev-C++ 4.01 IDE and the MinGW compiler. When I link to -lsdl and -lsdlmain and do this:
int main(int argc, char *argv)
It doesn't compile and the linker says:
Undefined reference to `WinMain@16'