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 3 of 3

Thread: External Errors when compliing in VC6

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2000
    Posts
    1

    External Errors when compliing in VC6

    Please Help!!
    I am trying to learn opengl, but when ever I try to compile a cpp.....I get 6 external
    errors : below..
    "Linking...
    OpenGl.obj : error LNK2001: unresolved external symbol __imp__glFlush@0
    OpenGl.obj : error LNK2001: unresolved external symbol __imp__glClear@4
    OpenGl.obj : error LNK2001: unresolved external symbol __imp__glClearColor@16
    OpenGl.obj : error LNK2001: unresolved external symbol _auxInitWindowA@4
    OpenGl.obj : error LNK2001: unresolved external symbol _auxInitPosition@16
    OpenGl.obj : error LNK2001: unresolved external symbol _auxInitDisplayMode@4
    Debug/OpenGl.exe : fatal error LNK1120: 6 unresolved externals"

    Any ideas anyone? Thank You.

  2. #2

    Re: External Errors when compliing in VC6

    Make sure you link too glaux.lib and opengl32.lib.

    Nate http://nate.scuzzy.net

  3. #3
    Junior Member Newbie
    Join Date
    Sep 2000
    Location
    Brisbane, QLD, Australia
    Posts
    4

    Re: External Errors when compliing in VC6

    Do you know how to link external DLLs in Visual Studio? We can help...
    -
    Shane

Posting Permissions

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