Help me setup SDL2 in Visual Studio Code

I can’t solve this error. please help me to solve this error.

c:/mingw/bin/…/lib/gcc/mingw32/6.3.0/…/…/…/libmingw32.a(main.o):(.text.startup+0xa0): undefined reference to `WinMain@16’
collect2.exe: error: ld returned 1 exit status