Advertisement

Compiling Error

Started by March 12, 2003 11:09 PM
2 comments, last by Macten 21 years, 8 months ago
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
-PoesRaven
Advertisement
Ahh, a id10t error. I apologize, sorry I wasted our time. Should have known to finish reading the code.
we all make stupid mistakes
at least they are better than the huge mistakes in life that slowly eat away at you
or maybe i need more sleep
-PoesRaven

This topic is closed to new replies.

Advertisement