Hi, I’m having some trouble building the Optix samples project. Following the INSTALL-WIN.txt instructions provided in the SDK, step 7 where I have to build the solution returns the error “MSB6006 ‘cmd.exe’ exited with code 1” for every project in the solution. Delving into the detailed build output, this is the log surrounding each error:
Building NVCC ptx file lib/ptx/cuda_compile_ptx_generated_phong.cu.ptx
1> Failed to run C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/bin (The system cannot find the file specified.
1>
1> ).
1> CMake Error at cuda_compile_ptx_generated_phong.cu.ptx.cmake:245 (message):
1> Error generating
1> E:/OptixAdvancedSamples/lib/ptx/cuda_compile_ptx_generated_phong.cu.ptx
1>
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): error MSB6006: “cmd.exe” exited with code 1.
I am using Windows 7 with Visual Studio 2017 and Optix 4.1.0, CUDA 8.0.61, CMake 3.9.0-rc3. Any ideas of what could be causing this error?