The program cannot start this application because the computer is missing Glut32.dll

Source: Internet
Author: User

Original link http://blog.csdn.net/tyxkzzf/article/details/40789901

Today open an OpenGL source code, after various modifications want to run a look at the effect, the results in my development environment in the absence of the corresponding DLL library:

Windows7 64-bit +vs2010

Tip: The program cannot start this application because the computer is missing glut32.dll ...

Resolute View System32 folder, found this file, then don't understand, why still can't find it, unreasonable ah.

Womb did not find, in order to see the effect of the code run as soon as possible, the DLL copied to the generated EXE sibling directory, ah, can be.

But not reconciled, then look at the Windows directory, found in the System32 sibling directory also has a directory: SysWOW64, it seems to be 64 unique folder, decisively check the ins and outs of this folder, here quoted the explanation of Baidu Encyclopedia:

Convert Library

The WOW64 subsystem is a lightweight compatibility layer that has the same interface on all versions of Windows. Its main purpose is to create the 32-bit environment, which provides the necessary interface for a 32-bit application to run on a 64-bit system without any modification.
Technically speaking, WOW64 is implemented by three DLLs.
Wow64.dll is the core interface of Windows NT kernel, converting between 32-bit and 64-bit calls, including manipulation of pointers and call stacks. Wow64win.dll provides the appropriate entry pointers for 32-bit applications. The Wow64cpu.dll is responsible for converting the processor between 32-bit and 64-bit modes.

And in this directory found Glut.dll, this is not a close relative of Glut32.dll, so put this DLL into the directory, and the EXE in the same class directory of the DLL removed, sure enough to run successfully.

The program cannot start this application because the computer is missing Glut32.dll

Related Article

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.