(Win8.1) Configuring OpenGL in the VS2013 environment

Source: Internet
Author: User

A Configuring OpenGL

1, first, download Glut.rar file, this online search can be found, can also be downloaded from the OpenGL official website, click to open the link.

2, after decompression can get 5 files: glut.h, Glut.dll, Glut.lib, Glut32.lib, Glut32.dll. And then

(1) Place the Glut.h file under the C:\ProgramFiles\Microsoft Sdks\windows\v7.0a\include\gl folder;

The tutorials on the web say it's in that directory, but v7.0 doesn't seem to have any include, let alone subdirectories, but opens v7.1--

GL Folder exists so I put glut.h in the folder, but at compile time error C1083: Cannot open include file: "Gl/glut.h

(2) Put glut.lib, glut32.lib two files in the same folder as the static function library, that is to say that the two files to be placed in their own VS2010

The Vc\lib file in the installation directory. My vs2013 installation directory is D:\Program Files (x86) \microsoft Visual Studio 12.0\vc\lib;

(3) Finally put the Glut.dll, glut32.dll files under the C:\windows\system32 folder, but in order to insure the 64-bit system in

Glut.dll, Glut32.dll are also added under C:\Windows\SysWOW64 file

For the above error, we found that the path of the file appeared directly when we entered gl/


Place the Glut.h file under the C:\Program files (x86) \ Windows KITS\8.1\INCLUDE\UM\GL path

Compile to run successfully


Before the end, send everyone a word (and everyone):

There's always a miracle when you believe.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.