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.C
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.