[問題] 編譯過程中當掉的錯誤

看板C_and_CPP (C/C++)作者 (allen)時間14年前 (2011/12/25 21:10), 編輯推噓1(104)
留言5則, 3人參與, 最新討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) VC++ 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) 問題(Question): 不好意思,要問一個較奇怪的問題。 當我編譯一個學長的大程式時,有時會當掉。造成CPU吃到100%, 過個十分鐘才恢復過來,立刻再開個新檔寫helloworld,同樣也 會當掉。 我看不懂VC++所顯示的錯誤。 我重灌過編譯器,仍有這問題。 是否有code會搞掛編譯器的可能? 請高手解答可能的問題來源了。 餵入的資料(Input): 預期的正確結果(Expected Output): 錯誤結果(Wrong Output): error MSB4014: The build stopped unexpectedly because of an internal failure. error MSB4014: Microsoft.Build.Exceptions.BuildAbortedException: Build was canceled. MSBuild.exe could not be launched as a child node as it could not be found at the location "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe". If necessary, specify the correct location in the BuildParameters, or with the MSBUILD_EXE_PATH environment variable. error MSB4014: at Microsoft.Build.BackEnd.NodeManager.AttemptCreateNode(INodeProvider nodeProvider, NodeConfiguration nodeConfiguration) error MSB4014: at Microsoft.Build.BackEnd.NodeManager.CreateNode(NodeConfiguration configuration, NodeAffinity nodeAffinity) error MSB4014: at Microsoft.Build.Execution.BuildManager.PerformSchedulingActions(IEnumerable`1 responses) error MSB4014: at Microsoft.Build.Execution.BuildManager.HandleNewRequest(Int32 node, BuildRequestBlocker blocker) error MSB4014: at Microsoft.Build.Execution.BuildManager.IssueRequestToScheduler(BuildSubmission submission, Boolean allowMainThreadBuild, BuildRequestBlocker blocker) 程式碼(Code):(請善用置底文網頁, 記得排版) 補充說明(Supplement): -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.122.198.227 ※ 編輯: allenlinli 來自: 140.122.198.227 (12/25 21:11) ※ 編輯: allenlinli 來自: 140.122.198.227 (12/25 21:12)

12/25 22:07, , 1F
我想你要不要先去問學長?XD
12/25 22:07, 1F


12/26 01:19, , 3F
然後下面這是文中的 hotfix 連結
12/26 01:19, 3F

12/26 01:19, , 4F

12/29 16:42, , 5F
感謝大大們回答
12/29 16:42, 5F
文章代碼(AID): #1Ezo2udX (C_and_CPP)
文章代碼(AID): #1Ezo2udX (C_and_CPP)