make的方法有三种,Visual C++编译、command-line system (Unix, Linux)、CMake软件。我是初学的菜鸟,所以毫不犹豫选择了CMake软件。CMake是一个跨平台的编译工具,输出makefile或者project文件,Cmake 并不直接建构出最终的软件,而是产生标准的建构档(如 Unix 的 Makefile 或 Windows Visual C++ 的 projects/workspaces)。其他的方法看这个网站 http://www.cs.unc.edu/Research/vrpn/vrpn_standard_stuff.html
我用的VS2010,一开始CMake报错,提示“The C++ compiler "C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe" is not able to compile a simple test program.”。解决这个问题网上有很多方法,比如关闭360,删除VS2010中的一个exe文件,重装CMake....本菜鸟都试过了&#