Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

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.

cmd exit code of 9009 means 'something' is not recognized as an internal or external command, operable program or batch file , where something (the single quoted text) vary JosefZ Sep 6, 2015 at 16:22 Tools->Options->Projects and Solutions->Build and Run->Verbosity to Diagnostic, might help Yuriy Vasylenko Jul 17, 2018 at 8:00

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.

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .