How do you install GLUT and OpenGL in Visual Studio 2012?

前端 未结 11 2092
悲哀的现实
悲哀的现实 2020-11-30 20:43

I just installed Visual Studio 2012 today, and I was wondering how can you install GLUT and OpenGL on the platform?

11条回答
  •  鱼传尺愫
    2020-11-30 21:02

    OpenGL is bundled with Visual Studio. You just need to install GLUT package (freeglut would be fine), which can be found in NuGet.

    Open your solution, click TOOLS->NuGet Package Manager->Package Manager Console to open a NuGet console, type Install-Package freeglut.

    --

    For VS 2013, use nupengl.core package instead.

提交回复
热议问题