Click to See Complete Forum and Search --> : Link errors


CompGraphStudent
May 16th, 2004, 07:28 PM
ComGraph.obj : error LNK2001: unresolved external symbol _gluPerspective@32
ComGraph.obj : error LNK2001: unresolved external symbol __imp__glLoadIdentity@0
ComGraph.obj : error LNK2001: unresolved external symbol __imp__glMatrixMode@4
ComGraph.obj : error LNK2001: unresolved external symbol __imp__glViewport@16
ComGraph.obj : error LNK2001: unresolved external symbol __imp__glHint@8
ComGraph.obj : error LNK2001: unresolved external symbol __imp__glDepthFunc@4
ComGraph.obj : error LNK2001: unresolved external symbol __imp__glEnable@4
ComGraph.obj : error LNK2001: unresolved external symbol __imp__glClearDepth@8
ComGraph.obj : error LNK2001: unresolved external symbol __imp__glClearColor@16
ComGraph.obj : error LNK2001: unresolved external symbol __imp__glShadeModel@4
ComGraph.obj : error LNK2001: unresolved external symbol __imp__glClear@4
ComGraph.obj : error LNK2001: unresolved external symbol __imp__wglDeleteContext@4
ComGraph.obj : error LNK2001: unresolved external symbol __imp__wglMakeCurrent@8
ComGraph.obj : error LNK2001: unresolved external symbol __imp__wglCreateContext@4

I set links to opengl32, glu32 libraries already, byt why linkerrors ?

Thanks in advance

CompGraphStudent
May 17th, 2004, 01:17 AM
Why errors occur ?

wien
May 18th, 2004, 05:52 PM
Originally posted by CompGraphStudent
I set links to opengl32, glu32 libraries already, byt why linkerrors?Are you sure you're not just including the headers? I don't see how you can get linker errors if the opengl32 and glu32 libraries are being linked.