Using Visual Studio's 'cl' from a normal command line

后端 未结 7 1405
生来不讨喜
生来不讨喜 2020-11-28 21:28

Visual Studio 2003 and 2005 (and perhaps 2008 for all I know) require the command line user to run in the \'Visual Studio Command Prompt\'. When starting this command promp

7条回答
  •  醉酒成梦
    2020-11-28 21:51

    You can simply run the batch file which sets the variables yourself. In VS08 it's located at:-

    C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat
    

提交回复
热议问题