問題:C++編譯所有檔案都是error spawning c1.exe, 無論是什麼樣的檔案編譯 都是 error spawning c1.exe 1 error ,0 warning. 解決方法:tools->options->directories:show directories for選excutable files,再看下面有沒有你的cl.exe檔案所在的目錄,如果不對修改之。具體 在選單欄的“工具”(Tools)中選擇“選項”(Options),在開啟的對話方塊中選擇“路徑”(Directories),在右邊的目錄(Show directories for:)下拉表中選擇“可執行檔案”(Executable),其路徑至少包含以下7個: D:Program FilesMicrosoft Visual StudioCommonMSDev98Bin D:Program FilesMicrosoft Visual StudioVC98BIN D:Program FilesMicrosoft Visual StudioCommonTOOLS D:Program FilesMicrosoft Visual StudioCommonTOOLSWINNT C:WINDOWSsystem32 C:WINDOWS C:WINDOWSSystem32Wbem 在Include Files選項中路徑至少包含以下3項: D:Program FilesMicrosoft Visual StudioVC98INCLUDE D:Program FilesMicrosoft Visual StudioVC98MFCINCLUDE D:Program FilesMicrosoft Visual StudioVC98ATLINCLUDE 在Library Files選項中路徑至少包含以下2項: D:Program FilesMicrosoft Visual StudioVC98LIB D:Program FilesMicrosoft Visual StudioVC98MFCLIB 在Source Files選項中路徑至少包含以下4項: D:Program FilesMicrosoft Visual StudioVC98MFCSRC D:Program FilesMicrosoft Visual StudioVC98MFCINCLUDE D:Program FilesMicrosoft Visual StudioVC98ATLINCLUDE D:Program FilesMicrosoft Visual StudioVC98CRTSRC
問題:C++編譯所有檔案都是error spawning c1.exe, 無論是什麼樣的檔案編譯 都是 error spawning c1.exe 1 error ,0 warning. 解決方法:tools->options->directories:show directories for選excutable files,再看下面有沒有你的cl.exe檔案所在的目錄,如果不對修改之。具體 在選單欄的“工具”(Tools)中選擇“選項”(Options),在開啟的對話方塊中選擇“路徑”(Directories),在右邊的目錄(Show directories for:)下拉表中選擇“可執行檔案”(Executable),其路徑至少包含以下7個: D:Program FilesMicrosoft Visual StudioCommonMSDev98Bin D:Program FilesMicrosoft Visual StudioVC98BIN D:Program FilesMicrosoft Visual StudioCommonTOOLS D:Program FilesMicrosoft Visual StudioCommonTOOLSWINNT C:WINDOWSsystem32 C:WINDOWS C:WINDOWSSystem32Wbem 在Include Files選項中路徑至少包含以下3項: D:Program FilesMicrosoft Visual StudioVC98INCLUDE D:Program FilesMicrosoft Visual StudioVC98MFCINCLUDE D:Program FilesMicrosoft Visual StudioVC98ATLINCLUDE 在Library Files選項中路徑至少包含以下2項: D:Program FilesMicrosoft Visual StudioVC98LIB D:Program FilesMicrosoft Visual StudioVC98MFCLIB 在Source Files選項中路徑至少包含以下4項: D:Program FilesMicrosoft Visual StudioVC98MFCSRC D:Program FilesMicrosoft Visual StudioVC98MFCINCLUDE D:Program FilesMicrosoft Visual StudioVC98ATLINCLUDE D:Program FilesMicrosoft Visual StudioVC98CRTSRC