Jump to content
  • Advertisement
Sign in to follow this  
nicknametooshort

OpenGL weird error... after i update my .lib and .h for openGL

This topic is 3503 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

here are the errors i got... Error 1 error LNK2019: unresolved external symbol _glEnable referenced in function _myinit bmpTexture.obj Error 2 error LNK2019: unresolved external symbol _glClearColor referenced in function _myinit bmpTexture.obj Error 3 error LNK2019: unresolved external symbol _glFlush referenced in function _displayWin bmpTexture.obj Error 4 error LNK2019: unresolved external symbol _glEnd referenced in function _displayWin bmpTexture.obj Error 5 error LNK2019: unresolved external symbol _glVertex3d referenced in function _displayWin bmpTexture.obj Error 6 error LNK2019: unresolved external symbol _glTexCoord2d referenced in function _displayWin bmpTexture.obj Error 7 error LNK2019: unresolved external symbol _glBegin referenced in function _displayWin bmpTexture.obj Error 8 error LNK2019: unresolved external symbol _glTexEnvf referenced in function _displayWin bmpTexture.obj Error 9 error LNK2019: unresolved external symbol _glTexParameterf referenced in function _displayWin bmpTexture.obj Error 10 error LNK2019: unresolved external symbol _glClear referenced in function _displayWin bmpTexture.obj Error 11 error LNK2019: unresolved external symbol _glTranslated referenced in function _reshapeWin bmpTexture.obj Error 12 error LNK2019: unresolved external symbol _gluPerspective referenced in function _reshapeWin bmpTexture.obj Error 13 error LNK2019: unresolved external symbol _glLoadIdentity referenced in function _reshapeWin bmpTexture.obj Error 14 error LNK2019: unresolved external symbol _glMatrixMode referenced in function _reshapeWin bmpTexture.obj Error 15 error LNK2019: unresolved external symbol _glViewport referenced in function _reshapeWin bmpTexture.obj Error 16 error LNK2019: unresolved external symbol __imp__glutMainLoop referenced in function _main bmpTexture.obj Error 17 error LNK2019: unresolved external symbol __imp__glutDisplayFunc referenced in function _main bmpTexture.obj Error 18 error LNK2019: unresolved external symbol __imp__glutReshapeFunc referenced in function _main bmpTexture.obj Error 19 error LNK2019: unresolved external symbol __imp__glutInitWindowSize referenced in function _main bmpTexture.obj Error 20 error LNK2019: unresolved external symbol __imp__glutInitWindowPosition referenced in function _main bmpTexture.obj Error 21 error LNK2019: unresolved external symbol __imp__glutInitDisplayMode referenced in function _main bmpTexture.obj Error 22 error LNK2019: unresolved external symbol __imp____glutCreateWindowWithExit referenced in function _glutCreateWindow_ATEXIT_HACK bmpTexture.obj help me~ help2... dunno wat to do oredi...

Share this post


Link to post
Share on other sites
Advertisement
What do you mean update? There aren't any updates AFAIK for OpenGL32.lib...

Did you include the opengl32.lib in your project?

#pragma comment(lib, "opengl32.lib")

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!