Attempting to follow a tutorial on opengl, but running into
MSVCRTD.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ)
The tutorial simply wants to link the necessary files before proceeding (and is linked below) and tests it. I have looked for similar problems which mention setting sub systems to windows, but the problem persists and I haven't found anything to explain what the error is aside from being a linking error.
https://learnopengl.com/Getting-started/Creating-a-window
I have also attempted to remake the project in visual studio with "windows desktop application" but same result. I learned most of C++ and went straight to this so my knowledge of visual studio or opengl is limited.