Compiling Error
Hi all, new here and new to the whole game programming Opengl stuff. Just got back into programming after gettin burned out on it in school. Luckily I got burned out at the same time I graduated hehe..phew! Ok, blah blah now to the point...Im going through the first tut on OpenGl and got a couple error''s after compiling, can anyone lend me a hand on what''s wrong. Thanks!
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/Lesson1.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
generally a linker error "unresolved external symbol _main" or similar means that you dont have a function "main"
if you are writing a Win32 app, and thusly have a WinMain, then you have your options wrong and are trying to compile a win32 application as a console app
if you are writing a Win32 app, and thusly have a WinMain, then you have your options wrong and are trying to compile a win32 application as a console app
-PoesRaven
Ahh, a id10t error. I apologize, sorry I wasted our time. Should have known to finish reading the code.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement