NupenGL is a Nuget package containing a collection of commonly used OpenGL libraries. Install it and you should be ready to use:
- OpenGL
- FreeGLUT
- GLFW
- GLEW
Just install the NupenGL.Core Nuget package, which will also auto-install its dependency NupenGL.Redist.
- NupenGL.Core contains header and lib files.
- NupenGL.Redist contains DLLs.
Remember to #include <GL/freeglut.h>
after your GLEW include.
No more worrying about searching the web for the appropriate lib, header and DLL files.
For more details, check this blog post: NupenGL in Visual C++ 2015
If you're considering updating the Nuget package, here are step-by-step instructions to get you there.
- Learn how to Create Native NuGet Packages
- Install CoApp Developer Tools for PowerShell
- How to Build a Package with CoApp tools
- Make your changes, cd to the NupenGL folder and run: Write-NuGetPackage '.\NupenGL.nuspec'
- Test your Nuget package locally
This package has been tested on Visual Studio 2013 and 2015, with x86 and x64.
If you hit any issues or find this package compatible with other versions of VS, please let us know.
This package was originally created by Jonathan Dickinson and later updated by Ali Badereddin. Feel free to contact any of us if you have any questions or would like to contribute.