OpenGL source program, run on prompt, "computer lost Glut32.dll file"

Source: Internet
Author: User

Transferred from: Http://www.cppblog.com/longzxr/archive/2009/12/04/102565.html?opt=admin

Today debugging OpenGL source program, compiled through, but a run on the prompt, the computer lost Glut32.dll file, depressed not, surf the internet, the most is to provide the most is the practice is, first download this file to copy this file to C:\WINDOWS\system 32, But after doing the discovery is still not good, tossing a little afternoon, suddenly realized that it may be my newly installed Windows 7 system about, and because it is 64-bit, so, try to copy this glut32.dll to the SysWOW64 folder in C:\WINDOWS, Later on all OK, alas, in this special record, remind everyone to install Win 7 and installed VC + + 6.0 of the Friends of the attention.
PS: The initial contact with OpenGL will inevitably encounter some problems, these problems may not be related to the program, but some of the settings of the compilation environment and the installation of the header files, especially organized a bit, as follows:

(1) Copy the Gult32.dll,glut.dll to the Windows system system32 (if it is a win 7 64-bit operating system, it is C:\WINDOWS in the SysWOW64 this file)

(2) Copy the Gult32.lib,glut.lib to the VC's lib directory

(3) Copy Gult.h to VC INCLUDE\GL

OpenGL source program, run on prompt, "computer lost Glut32.dll file"

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.