PDA

View Full Version : problems with glutSolidCube and glutSolidTorus



trout
03-19-2004, 08:01 AM
hi,
please could someone tell me why my program is generating these errors. the glut32.lib and glut32.dll are in the appropriate folders.
thanks,
-t

error LNK2019: unresolved external symbol _glutSolidCube@8 referenced in function "void __cdecl DrawScene(void)" (?DrawScene@@YAXXZ)


error LNK2019: unresolved external symbol _glutSolidTorus@24 referenced in function "void __cdecl DrawScene(void)" (?DrawScene@@YAXXZ)

Bob
03-19-2004, 04:03 PM
Did you actually tell the linker to use the libraries? Just putting them in the proper directry is not enough.