配置环境变量,使用 c l命令进行编译:
path变量:C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
lib变量(新增):C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib;
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib
include(新增):C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include
VS的安装均采用系统默认,未更改路径