SDL error: unresolved external symbol _SDL_main referenced in function _main_getcmdline

I get this error even when I did not even type a single line of code.

I have correctly included all SDL files and, my additional dependencies are:
SDL2.lib
SDL2main.lib

this might be me not doing it correctly or there is a bug with SDL.

How does your code look like? Can you give some paste?
Can you describe what exactly you have done already with the problem?
What OS and IDE/compiler do you use?