MSB6006: “cmd.exe” exited with code 9009

不想你离开。 提交于 2019-12-03 17:31:25

问题


When I try to build VTK on VS 2010, I get this error error MSB6006: "cmd.exe" exited with code 9009. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 vtkhdf5

Before this, I build QT successfully from VS command prompt.
My opinion is that there's something wrong with the paths of directories.
I've been searching on the internet for a while but couldn't find a way to fix.


回答1:


You should first check the output window message of your VS2010 rather than just error list window.

After that, you can find some hint on your errors, like missing executable files or something like that. Errors may vary, but if your case is - exe file missing, then go to project properties:

Project(Your project name) -> Properties -> Configuration Properties -> VC++ Directories -> Executable Directories

, add the folder of your missing exe.



来源:https://stackoverflow.com/questions/12069464/msb6006-cmd-exe-exited-with-code-9009

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!