EDN Admin
Well-known member
Hi mate,
I use c++ visual studio 2005 excpress,have a problem with linker,glut.lib and glu.lib...i copy glu32.lib and glut32.lib opengl32.lib in visualstudio2005/lib/ dir and the .h file in visualstudio2005/include/Gl/....now in visual studio in
property page menu linker->input->"Additional Dependencies" item add :"opengl32.lib" "glu32.lib" "glut32.lib".....compile and:
<table border="0" cellspacing="0" width="100% <tr><td width="15 </td><td bgcolor="lightgrey" width="15 </td><td bgcolor="lightgrey
<font face="Lucida Console" size="2
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glutSwapBuffers referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glFlush referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glEnd referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glVertex2f referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glBegin referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glColor3f referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glPolygonMode referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glLineWidth referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glPointSize referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glLoadIdentity referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glMatrixMode referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glClear referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glutMainLoop referenced <font color= "blue in</font> function _main
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glutDisplayFunc referenced <font color= "blue in</font> function _main
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glutCreateWindow referenced <font color= "blue in</font> function _main
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glutInitWindowSize referenced <font color= "blue in</font> function _main
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glutInitDisplayMode referenced <font color= "blue in</font> function _main
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glutInit referenced <font color= "blue in</font> function _main
</font>
</td></tr></table>
now...what is primitiv.obj and why these error????!!??
...help me mate<img src="/msdn//emoticons/emotion-6.gif" alt="Sad" /><img src="/msdn//emoticons/emotion-7.gif" alt="Tongue Tied" /> pls.....sry for my english<img src="/msdn//emoticons/emotion-1.gif" alt="Smile" />
by and tks at all
View the full article
I use c++ visual studio 2005 excpress,have a problem with linker,glut.lib and glu.lib...i copy glu32.lib and glut32.lib opengl32.lib in visualstudio2005/lib/ dir and the .h file in visualstudio2005/include/Gl/....now in visual studio in
property page menu linker->input->"Additional Dependencies" item add :"opengl32.lib" "glu32.lib" "glut32.lib".....compile and:
<table border="0" cellspacing="0" width="100% <tr><td width="15 </td><td bgcolor="lightgrey" width="15 </td><td bgcolor="lightgrey
<font face="Lucida Console" size="2
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glutSwapBuffers referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glFlush referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glEnd referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glVertex2f referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glBegin referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glColor3f referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glPolygonMode referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glLineWidth referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glPointSize referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glLoadIdentity referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glMatrixMode referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glClear referenced <font color= "blue in</font> function _display
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glutMainLoop referenced <font color= "blue in</font> function _main
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glutDisplayFunc referenced <font color= "blue in</font> function _main
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glutCreateWindow referenced <font color= "blue in</font> function _main
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glutInitWindowSize referenced <font color= "blue in</font> function _main
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glutInitDisplayMode referenced <font color= "blue in</font> function _main
primitiv.obj : <font color= "blue error</font> LNK2019: unresolved external symbol _glutInit referenced <font color= "blue in</font> function _main
</font>
</td></tr></table>
now...what is primitiv.obj and why these error????!!??
...help me mate<img src="/msdn//emoticons/emotion-6.gif" alt="Sad" /><img src="/msdn//emoticons/emotion-7.gif" alt="Tongue Tied" /> pls.....sry for my english<img src="/msdn//emoticons/emotion-1.gif" alt="Smile" />
by and tks at all
View the full article