1 下载
(1)CMake
我下载的版本是cmake-3.4.0-rc1-win32-86.exe。
(2)FreeGLUT
我下载的版本是Freeglut 3.0.0[Released: 7 March 2015]。
(3)GLEW(OpenGL Extension Wrangler)
我下载的版本是glew-1.13.0.zip。
可以找官网或者在CSDN上搜索下载。
2 编译FreeGLUT
CMake使用指南:
Download CMake (http://www.cmake.org/cmake/resources/software.html).
Get one of the releases from the binary distribution section.
Run the CMake installer, install wherever you like.
Launch CMake via Start > Program Files > CMake 2.8 > CMake (GUI)
(note that the shortcut put by the installer on your desktop does NOT point to the CMake GUI program!)
In the “Where is the source code” box, type or browse to the root directory of your freeglut source (so that’s /freeglut, not
/freeg