PDA

View Full Version : Linker issues



Macadameane
02-19-2010, 10:37 AM
An Enigma is before me.

I am getting 31 typical linker message in Visual C++ (express):
1>main.obj : error LNK2019: unresolved external symbol _glEnd referenced in function "void __cdecl drawCube(void)" (?drawCube@@YAXXZ)

This is a program I have compiled before with a different compiler. I have taken care to add opengl32.lib glu32.lib and glut32.lib as "additional dependencies." I have also verified that it is finding the lib files (located in prog files/MS SDK/Windows/v6.../lib

I have also done a dumpbin on the lib files to be sure the symbols are exported there.

What is the problem here?!

DarkShadow44
02-19-2010, 02:11 PM
HERE (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=272485&#Post272 485)