Results 1 to 7 of 7

Thread: How To Solve This Problem?

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2002
    Location
    halifax,NS, canada
    Posts
    15

    How To Solve This Problem?

    Hi Guys,
    I am trying to build programme in GLUT and i got this error.

    LINK : fatal error LNK1104: cannot open file "glut32.lib"

    Can you tell me how to handle this problem and it would be nice ,if some body can help me in establishing glut programs in windows.

    Tony

  2. #2
    Junior Member Newbie
    Join Date
    Aug 2002
    Location
    Poland
    Posts
    10

    Re: How To Solve This Problem?

    If windows, then do you have a glut32.lib in lib directory of Visual C++?

    [This message has been edited by monka (edited 09-05-2002).]

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: How To Solve This Problem?

    That mean's that the linker could not find that file.
    You may need to download glut from nat robins GLUT site for windows, dont have the link handy, but do a search with his name and opengl.

    the file shold be in msdev\lib or something like that.

    Originally posted by tony_ee81:
    Hi Guys,
    I am trying to build programme in GLUT and i got this error.

    LINK : fatal error LNK1104: cannot open file "glut32.lib"

    Can you tell me how to handle this problem and it would be nice ,if some body can help me in establishing glut programs in windows.

    Tony

  4. #4
    Junior Member Newbie
    Join Date
    Jul 2002
    Location
    halifax,NS, canada
    Posts
    15

    Re: How To Solve This Problem?

    nexusone
    Is it necessary to place the "glut32.lib" in VC++6, can i place it somewhere else and then add into the project.
    Help me as i have to prepare for the presentation.
    Thanks

    Tony

  5. #5

    Re: How To Solve This Problem?

    I find it convenient to place the glut32.lib in the lib directory and the glut.h in the include directory of vc6++ but in my last installation when I first started playing with glut I just linked directly to where I downloaded the file to with no problems. The choice is totally up to what is convenient for you.

    Tina
    Learning OpenGL while working on sourceforge projects:
    https://sourceforge.net/projects/simulant/ and
    https://sourceforge.net/projects/projectnova/

  6. #6
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: How To Solve This Problem?

    Why would you want to place a lib file, somewhere other then it proper place?

    And if you where to be doing a presentation on programming, should it not be presented in the correct setup?


    Originally posted by tony_ee81:
    nexusone
    Is it necessary to place the "glut32.lib" in VC++6, can i place it somewhere else and then add into the project.
    Help me as i have to prepare for the presentation.
    Thanks

    Tony

  7. #7

    Re: How To Solve This Problem?

    Ah, yes, didn't notice the presentation part. I would definitely place it within the compilers lib directory and the include file within its include directory in that instance.

    Tina
    Learning OpenGL while working on sourceforge projects:
    https://sourceforge.net/projects/simulant/ and
    https://sourceforge.net/projects/projectnova/

Similar Threads

  1. Help me to solve the problem?
    By dweepdevil in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 05-09-2012, 07:51 AM
  2. solve my problem
    By prabhakaran in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 01-31-2008, 06:53 AM
  3. How to solve this problem?
    By jamesclarke in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 04-11-2004, 03:25 PM
  4. Please help how do i solve a problem
    By bozland in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 08-24-2003, 10:39 AM
  5. solve this problem!
    By in forum OpenGL: User Software
    Replies: 1
    Last Post: 12-05-2002, 03:14 PM

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