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

Thread: glut in Visual Studio 2012

  1. #1
    Newbie Newbie
    Join Date
    Jan 2013
    Posts
    1

    glut in Visual Studio 2012

    Hi everyone,
    I'm new at openGL. I want to install glut on it, I tried everything but I couldn't install it. My windows is 64 bit and I use visual studio 2012. However I still get this error:" Cannot open include file: 'GL/glut.h': No such file or directory". How can I install glut?

  2. #2
    Junior Member Newbie
    Join Date
    Jan 2013
    Location
    Paris
    Posts
    17
    Ok!
    First of all you have to put the file glut.h in the folder GL of your project.
    Usually, if the project name is AAA, you put in in AAA/AAA/GL, or simply just find your main file and then create a folder there name it GL and copy glut.h in it.

    Then, go to Tools>Options>VC++ Folders .
    There you have to add the file glut.h to the include.
    Do the same thing for the 2 other glut files (put one int the binary and the other one in the bin part)

  3. #3
    Newbie Newbie
    Join Date
    Apr 2013
    Posts
    1
    The above method of holyll did not work for me and googled for it,
    I got my problem solved following the link below:

    https://www.google.com/url?sa=t&rct=...45373924,d.d2k

  4. #4
    Newbie Newbie
    Join Date
    Apr 2013
    Posts
    1
    Here's the video on how to install Glut in visual studio 2012, it solved my problem. Hope it helps

    www[dot]youtube[dot]com/watch?v=YfhpVVq1Gx8

    and sorry for the dot, cannot post links..

  5. #5
    Newbie Newbie
    Join Date
    Jun 2013
    Posts
    1
    Mr.EverEast, Thanks for the useful info, been trying to fix this issue for 4 hours, atlast your suggestion saved me thanks.

Posting Permissions

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