

Click on the prompt (where it says PM>), and type: Install-Package re Then press enter.Īfter a few minutes, if it says Successfully installed 're., you should be ready to go. With your project open in Visual Studio, go to the Tools menu, hover over NuGet Package Manager, and select Package Manager Console.Īt the bottom of the window, the NuGet Package Manager Console will appear. Once you are able to create a basic C++ project in Visual Studio, you'll want to configure it for OpenGL. If you wish to save the project in a different location, you may also change that here.
.png)
In the center of the window, select the Empty Project template.Īt the bottom of the window, type the name of the project. In the New Project window, navigate to the C++ section. Follow these steps to create an empty C++ project:įrom the File menu, hover over New, then select Project. Visual Studio has a lot of options and project types. If you have already installed Visual Studio and didn't add support for this, just rerun the installer, click "Modify" and follow the above steps to add support for Visual C++.

When you run the Visual Studio installer, make sure you add support for the C++ language by selecting a Custom installation, then expand the triangle next to the Programming Languages, and check the box next to "Visual C++". Configuring Visual Studio for OpenGL Developmentįirst, make sure have Visual Studio downloaded and installed on your computer.

Next, click on the "Individual components" tab and search for the option to include "NuGet package manager".įinally, click the Install buttom to install Visual Studio on your computer. Select the option to install "Desktop development with C++". Installing Visual Studio 2017Īfter you download the install program for Visual Studio 2017 and run it, you will be presented with the following screen. Visual Studio Community Edition is available for free for Windows. Visual Studio is an integrated development enviroment (IDE), which allows you to write, test, and debug your code.
