Linker error using cl

Hey there !
I’m fairly new to c++ and SDL and i’m getting this error when trying to build my code :
main.cpp
Microsoft ® Incremental Linker Version 14.27.29111.0
Copyright © Microsoft Corporation. All rights reserved.

/out:main.exe
main.obj
C:\SDL2-2.0.14\lib\x64\SDL2.lib
C:\SDL2-2.0.14\lib\x64\SDL2main.lib
LINK : fatal error LNK1561: le point d'entrée doit être défini

Yes it’s in french sorry
My build.bat looks like this :
cl main.cpp /I C:\SDL2-2.0.14\include /link /LIBPATH:C:\SDL2-2.0.14\lib\x64\ SDL2.lib SDL2main.lib
And my program :
#include <SDL.h>
#include

int main(int argumentCount, char * arguments[])
{
	SDL_Window * window = SDL_CreateWindow("SDL!", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 800, 400, SDL_WindowFlags::SDL_WINDOW_ALLOW_HIGHDPI);
    
	SDL_Delay(1000);
    
	SDL_DestroyWindow(window);
    
	return EXIT_SUCCESS;
} 

I’m on a x64 computer using VC 2019
Thanks in advance :slight_smile:

#include <SDL.h>
#include

Remove the extra #include that isn’t really including anything.