Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: problems with glutSolidCube and glutSolidTorus

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2004
    Posts
    10

    problems with glutSolidCube and glutSolidTorus

    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)

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    3,115

    Re: problems with glutSolidCube and glutSolidTorus

    Did you actually tell the linker to use the libraries? Just putting them in the proper directry is not enough.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •