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

前端 未结 11 2098
悲哀的现实
悲哀的现实 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:09

    Yes visual studio 2012 express has built in opengl library. the headers are in the folder C:\Program Files\Windows Kits\8.0\Include\um\gl and the lib files are in folder C:\Program Files\Windows Kits\8.0\Lib\win8\um\x86 & C:\Program Files\Windows Kits\8.0\Lib\win8\um\x64. but the problem is integrating the glut with the existing one.. i downloaded the library from http://www.xmission.com/~nate/glut/glut-3.7.6-bin.zip.. and deployed the files into .....\gl and ....\lib\win8\um\x32 and the dll to %system%/windows folders respectively.. Hope so this will solve the problem...

提交回复
热议问题