The latest TPC-H is 2.17 which can be download from here.
Double click the tpch.sln and open it in the Visual Studio Express.
Click the Build Solution . It will generate a lot of error but it is fine.
-vf –s 1 : create 1 GB data set
ERROR 1: dbgen.exe needs to run under the debug folder
We can only run the dbgen under the debug folder
Error 2: Open failed for .\dists.dss
The file is in under dbgen folder, just copy to the debug folder to resolve the issue.