Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MSB6006: "cmd.exe" exited with code 9009

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.

like image 748
TahaYusuf Avatar asked Aug 22 '12 08:08

TahaYusuf


1 Answers

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.

like image 103
zionpi Avatar answered Sep 20 '22 13:09

zionpi