Jump to content
  • Advertisement
Sign in to follow this  
iedoc

errors

This topic is 5004 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

im doing the nehe lessons for opengl and i had to reinstall my computer. i put all the opengl libs in the right place and stuff, but when im about to execute my program, or even nehe's downloadable lesson thing, i get about 30 errors, the kind of errors you get when your missing a file. what am i missing?

Share this post


Link to post
Share on other sites
Advertisement
lesson8.obj : error LNK2001: unresolved external symbol _auxDIBImageLoadA
lesson8.obj : error LNK2001: unresolved external symbol _gluBuild2DMipmaps
lesson8.obj : error LNK2001: unresolved external symbol _glTexImage2D
lesson8.obj : error LNK2001: unresolved external symbol _glTexParameteri
lesson8.obj : error LNK2001: unresolved external symbol _glBindTexture
lesson8.obj : error LNK2001: unresolved external symbol _glGenTextures
lesson8.obj : error LNK2001: unresolved external symbol _gluPerspective
lesson8.obj : error LNK2001: unresolved external symbol _glLoadIdentity
lesson8.obj : error LNK2001: unresolved external symbol _glMatrixMode
lesson8.obj : error LNK2001: unresolved external symbol _glViewport
lesson8.obj : error LNK2001: unresolved external symbol _glBlendFunc
lesson8.obj : error LNK2001: unresolved external symbol _glColor4f
lesson8.obj : error LNK2001: unresolved external symbol _glLightfv
lesson8.obj : error LNK2001: unresolved external symbol _glHint
lesson8.obj : error LNK2001: unresolved external symbol _glDepthFunc
lesson8.obj : error LNK2001: unresolved external symbol _glClearDepth
lesson8.obj : error LNK2001: unresolved external symbol _glClearColor
lesson8.obj : error LNK2001: unresolved external symbol _glShadeModel
lesson8.obj : error LNK2001: unresolved external symbol _glEnable
lesson8.obj : error LNK2001: unresolved external symbol _glEnd
lesson8.obj : error LNK2001: unresolved external symbol _glVertex3f
lesson8.obj : error LNK2001: unresolved external symbol _glTexCoord2f
lesson8.obj : error LNK2001: unresolved external symbol _glNormal3f
lesson8.obj : error LNK2001: unresolved external symbol _glBegin
lesson8.obj : error LNK2001: unresolved external symbol _glRotatef
lesson8.obj : error LNK2001: unresolved external symbol _glTranslatef
lesson8.obj : error LNK2001: unresolved external symbol _glClear
lesson8.obj : error LNK2001: unresolved external symbol _glDisable
Debug/lesson8.exe : fatal error LNK1120: 28 unresolved externals
Error executing link.exe.

lesson8.exe - 29 error(s), 0 warning(s)

Share this post


Link to post
Share on other sites
what about nehe's lesson? his workspace was already done, but its not working. do you mean that i have the wrong libraries?

Share this post


Link to post
Share on other sites
Are you totaly sure the .lib files exist where they should be?

If theyre setup in the project file AND exist on disk, it should work.

Share this post


Link to post
Share on other sites
1) check the "Additional Dependencies" part of the Linker property page to make sure the proper openGL libs are actually included.

2) check the "Additional Library Directories" part of the Linker property page for your project. make sure that the path is where your openGL libs actually are.

-me

Share this post


Link to post
Share on other sites
The libraries you need are:

aux*: glaux? (not sure)
glu*: glu32
gl*: opengl32

How do you link to them? I don't know. Read your compilers documentation.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!