VS2015 Configuring the OpenGL development Environment

Source: Internet
Author: User

The author is a configuration completed with reference to http://in2gpu.com/2014/11/29/setting-opengl-visual-studio-using-nuget/. There is a little basic English reader to eat on their own.

1. Make sure your computer is connected to the Web

2. Open VS, create a new empty project

Note that the project path is valid and does not contain spaces.

3. Press Ctrl+shift+a to create a source file

4. Write the main function, F5 run to see if there is a problem.

5. With no problem, use the VS band NuGet to complete the OpenGL configuration.

6. In the Package Manager console that appears below, enter:install-package nupengl.core

OK, now that you have completed the development of OpenGL environment configuration. Get started writing an OpenGL program.

The above code generates a simple window. "" is the relative path of glew.h and freeglut.h, the default should be the above, if it is wrong, you can check your relative path.

VS2015 Configuring the OpenGL development Environment

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.