项目中遇到问题,后来发现是vs2008的问题
现将解决方案记录如下
There is a bug in the Visual Studio 2008 Standard Edition installer. It does not install cl.exe if you only install Visual C++ but not Visual C#. To work around this you have to install Visual C# even if you do not need this.