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.