Hi,
I am having compile error with optix-advanced-samples. it seems to fail to compile cu file into ptx. I attached the output from vs2017 below. I have followed the INSTALL-WIN.txt and installed cude, optix DevIL. thanks a lot for any help.
1>Building NVCC ptx file lib/ptx/cuda_compile_ptx_generated_phong.cu.ptx
1>-- Generating dependency file: F:/GitHub/optix_advanced_samples/src/build2/sutil/CMakeFiles/cuda_compile_ptx.dir//cuda_compile_ptx_generated_phong.cu.ptx.NVCC-depend
1>“C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.2/bin/nvcc.exe” -M -D__CUDACC__ F:/GitHub/optix_advanced_samples/src/sutil/phong.cu -o F:/GitHub/optix_advanced_samples/src/build2/sutil/CMakeFiles/cuda_compile_ptx.dir//cuda_compile_ptx_generated_phong.cu.ptx.NVCC-depend -ccbin “C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/bin” -m64 -D_USE_MATH_DEFINES -DNOMINMAX -DGLEW_BUILD --use_fast_math -arch sm_30 -lineinfo --keep-device-functions --compiler-options /D_USE_MATH_DEFINES -DNVCC “-IC:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.2/include” “-IC:/ProgramData/NVIDIA Corporation/OptiX SDK 5.1.0/include” -IF:/GitHub/optix_advanced_samples/src/sutil -IF:/GitHub/optix_advanced_samples/src “-IC:/ProgramData/NVIDIA Corporation/OptiX SDK 5.1.0/include/optixu” -IF:/GitHub/optix_advanced_samples/src/build2 “-IC:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.2/include” -IF:/GitHub/optix_advanced_samples/src/support -IF:/GitHub/optix_advanced_samples/src/sutil -IF:/GitHub/optix_advanced_samples/src/device_include
1>CMake Error at cuda_compile_ptx_generated_phong.cu.ptx.cmake:245 (message):
1> Error generating
1> F:/GitHub/optix_advanced_samples/src/build2/lib/ptx/cuda_compile_ptx_generated_phong.cu.ptx
1>