Original Post
Howdy!
I posted this on NeHe''s forum too and decided to post here aswell just in case some of you OpenGLers don''t read NeHe''s forum.
Well anyways, I was following NeHe''s tutorial, excellent by the way and I downloaded one of the pre-made programs(lesson 6). I ran the .exe and the box was cool and all and the tutorial said I should try loading one of my own images to be the design on the box. Well anyways, I open the .cpp and edit everything I need to edit to make the image something else, but here is where I run into a problem. The only way I know to change the .exe is to run the .cpp but whenever I do, I get a fatal error. Thus I can''t see the box with my own image. I added the "OpenGL32.lib GLu32.lib GLaux.lib" The .bmp is the right size too.
Here''s what the error is... seems like jibberish to me.
--------------------Configuration: Lesson6 - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/Lesson6.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Lesson6.exe - 2 error(s), 0 warning(s)
Got an idea on how to fix this error? Please help.