Cuda Sample Build Failures with VS 2017

Hello,

I have Visual Studio Pro 2017 on a Windows 10 Enterprise machine. I downloaded and installed the latest CUDA development package (ver 10.1). I did a build of the Samples_vs2017 solution. There are 166 projects in this solution. Only one project build was successful 165 failed. So, all I did was download and install the NVIDIA CUDA stuff and it failed miserably. This does not inspire a lot of confidence in the NVIDIA tools. Does anyone have any idea why this build might have fared so poorly?

Thanks.

After changing something or other I’m now down to 155 successful builds and 11 failed builds. The failed builds are

simpleD3D9Texture
simpleD3D10
simpleD3D10RenderTarget
simpleD3D10Texture
simpleD3D9
simpleD3D11Texture
SLID3D10Texture
fluidsD3D9
VFlockingD3D10
simpleMPI
simpleVulkan

Near as I can tell there are header files in DirectX, MPI, X11 and VULKAN that the compiler isn’t finding. Not sure what exactly MPI, X11 & VULKAN is but I know DirectX 12 is a part of the Windows SDK. How pathetic is it that I have to waste all this time tracking down problems with NVIDIA’s sample code because the latest NVIDIA sample code won’t build in the latest NVIDIA environment! No wonder relatively so few people use this CUDA stuff.