HELP! WHAT THE HELL DO ALL THESE ERRORS MEAN!
I found Nehe''s wonderful set of opengl tutorials, and i soaked in the first 7 the first day. Everything compiled fine, and i was very happy. (I use MVC++ 5 pro)
Then, the next day, i change nothing, absolutely nothing, and it starts giving me these errors:
Linking...
Lesson4.obj : error LNK2001: unresolved external symbol _gluPerspective@32
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glLoadIdentity@0
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glMatrixMode@4
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glViewport@16
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glHint@8
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glDepthFunc@4
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glEnable@4
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glClearDepth@8
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glClearColor@16
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glShadeModel@4
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glEnd@0
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glVertex3f@12
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glColor3f@12
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glBegin@4
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glRotatef@16
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glTranslatef@12
Lesson4.obj : error LNK2001: unresolved external symbol __imp__glClear@4
Lesson4.obj : error LNK2001: unresolved external symbol __imp__wglDeleteContext@4
Lesson4.obj : error LNK2001: unresolved external symbol __imp__wglMakeCurrent@8
Lesson4.obj : error LNK2001: unresolved external symbol __imp__wglCreateContext@4
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/Lesson4.exe : fatal error LNK1120: 21 unresolved externals
Error executing link.exe.
Lesson4.exe - 22 error(s), 0 warning(s)
WHERE THE FREAKING HELL DID THESE COME FROM? Ive been at this for two days and I STILL can''t figure it out!?!?!?!?
I mean, i even d/l the pure code from the site (lesson4, cuz i knew it was simple) and it compiled once, then when i tried to do it again it comes up with the same d a m n errors!!!
PLEASE HELP BEFORE I GO INSANE!!!!
Jjesterr
"A smile can take you a long way. A smile and a gun will take you even farther" - Al Capone
"A smile can take you a long way. A smile and a gun will take you even farther" - Al Capone
You have forgotten to include the openGL-libraries in your project.
Open the menu Project->Settings, then click on the LINK tab.
Under "Object/Library Modules" you will find a long list of .lib-files. Add opengl32.lib glu32.lib (and possible glaux.lib), and you''re all set.
~Neophyte
- Death awaits you all with nasty, big, pointy teeth. -
Open the menu Project->Settings, then click on the LINK tab.
Under "Object/Library Modules" you will find a long list of .lib-files. Add opengl32.lib glu32.lib (and possible glaux.lib), and you''re all set.
~Neophyte
- Death awaits you all with nasty, big, pointy teeth. -
I wuv you forever and ever and ever!!!
YAAAAAAAAAAAAAY!!!!!!!
Thank you ever so much, im back in the saddle again...
J
"A smile can take you a long way. A smile and a gun will take you even farther" - Al Capone
YAAAAAAAAAAAAAY!!!!!!!
Thank you ever so much, im back in the saddle again...
J
"A smile can take you a long way. A smile and a gun will take you even farther" - Al Capone
"A smile can take you a long way. A smile and a gun will take you even farther" - Al Capone
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement