1.首先找到vcvars32.bat文件,一般在C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin文件夹下
2.打开cmd黑窗口,把该文件拖到黑窗口中执行(提示该文件不是可执行文件,双击无效果)