Results 1 to 5 of 5

Thread: help me, pls..

  1. #1

    help me, pls..

    I want to draw a torus, my function is
    gltDrawTorus(parameters) but i got the link errors such as :

    unresolved external symbol _gltInitFrame
    unresolved external symbol _gltMakeShadowMatrix
    unresolved external symbol _gltDrawTorus

    can any one pls tell me what is the problem?


  2. #2
    Senior Member Regular Contributor
    Join Date
    Aug 2003

    Re: help me, pls..

    I haven't seen a glt extension before, what library is it? Anyway since it says unresolved external symbol it means it can find the .lib file (or .o if you're using linux).
    What you need to do is to tell the compiler where to find the "glt.lib" (or whatever its name).
    In visual studio you go to project properties->linker->additional libraries if I remember correctly.
    In gcc you probably should provide -lglt or something. Post again if you need further help.

  3. #3

    Re: help me, pls..

    Thanks a lot, I have made the mistake, actually it is the function which reside in other header file. Thanks a lot.

  4. #4
    Senior Member Regular Contributor
    Join Date
    Jun 2004

    Re: help me, pls..

    isnt it glut instead of glt?

  5. #5

    Re: help me, pls..

    no, its not the glut problem, because part of my gl coding is from my friend, and according to him, that is the function written by opengl superbible's author. the author keeps the function into other separate header file, that is why i have that errors. anyhow, i still don't have time to really figure it our actually due to the workload.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean