I’m practicing NeHe’s tutorial example–Setting Up An OpenGL Window (anybody hear of him?) However, I met with such error:
Compiling…
fullscreen.cpp
Linking…
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/fullscreen.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
fullscreen.exe - 2 error(s), 0 warning(s)
the header files I’ve included: windows.h, gl.h, glu.h and glaux.h
the program has WinMain() func.
Anybody ever met with such problems? Or any suggestions? thanks.