Here a list of errors from the SDL library.
These errors can be found from any circumstance, such as before compilation, after or during the linkage.
Error 1
Description Resource Path Location Type
undefined reference to `SDL_main’
line 315, external location:
\Users\hercules\trunk\SDL-1.2\src\main\win32\SDL_win32_main.c
C/C++ Problem
To resolve this error on Windows, you have to pass the classic arguments int argc and *char argv[] to your main() function, just like this:
int main(int argc, char *argv[]) {
return 0;
}