Visual Studio 2010 Configuring the OpenGL Environment

Source: Internet
Author: User
Tags visual studio 2010

1. Download the GLUT toolkit. It contains 5 files, each of which is a glut.dll,glut.h,glut.lib,gult32.dll,glut.lib

2.glut.dll and Glut32.dll put in. /windows/system32

3.glut.h Copy to: \microsoft\visual Studio 10.0\VC\INCLUDE\GL, if you do not have a GL folder, create a new

4.glut.lib and Glut32.lib are placed in the folder where the static function library is located (.. \microsoft\visual Studio 10.0\vc\lib)

Configuration Environment Complete

Then create a new project.

1. Create a new WIN32 console application

2. Link OpenGL libraries. Additional dependent libraries, input, connector, properties-------------with Opengl32.lib Glut32.lib glu32.lib, separated by carriage return

Run the program

Hint Missing Glut32.dll

Copy the Glut32.dll to.. /WINDOWS/SYSWOW64, Problem solving

Visual Studio 2010 Configuring the OpenGL Environment

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.