unresolved external symbol _WinMain@16

hi! I’m trying to do a simple openGL application with visual c++ and I get this error message… What can I do?

This is better asked in the “Beginner Coding” forum, you’ll get better responses there.

Basically, you’ve set up your project as a win32 application, which expects Winmain() function instead of main(). Either create your project as a console app, or change your main() to winmain().