OpenGL error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sibi
    New Member
    • Nov 2007
    • 2

    #1

    OpenGL error

    Hi!

    I' trying to start a project in Visual Studio 2005 but i can't skip the error:
    1>LINK : fatal error LNK1104: cannot open file 'opengl32.lib'

    I modified the project Properties: Linker -> Input : opengl32.lib glut.lib glu.lib and also the Additional Library Directories from the General field, but the problem persists.

    Any idea about this?

    Thanks!

    sibi
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Did you go to Tools/Options/Projects and Solutions/VC++ Directories and specify a path to the library file??

    Comment

    • sibi
      New Member
      • Nov 2007
      • 2

      #3
      Originally posted by weaknessforcats
      Did you go to Tools/Options/Projects and Solutions/VC++ Directories and specify a path to the library file??
      Yes...sorry i forgot to mention that. No result:|

      Comment

      • weaknessforcats
        Recognized Expert Expert
        • Mar 2007
        • 9214

        #4
        If you have added the library name as an addtional dependency for the inout to the linker and you have set a path to that libray, then if the library does not open:

        1) you have misspelled the name of the library
        2) the path you specified is incorrect
        3) the library is not at the specified location
        4) the library is not on your system
        5) the library has not been compiled for Windows

        That's all I can think of. This shouldn't be that hard. I've done this a lot.

        Comment

        Working...