failure to compile with VTK_MODULE_ENABLE_VTK_RenderingOptiX=YES
I cannot configure with the given setup. After some time trying around, with the following changes:
replacing
vtk_module_find_package(PACKAGE OptiX)
by
find_package(OptiX REQUIRED)
Adding
vtk_module_include(VTK::RenderingOptiX PUBLIC ${OptiX_INCLUDE})
I manage to configure and start compile, yet, nvcc actually requires the -I${OptiX_INCLUDE} flag.
I set CMAKE_CUDA_FLAGS to help out, and I can move forward. Then the compilation fails with this error:
[ 84%] Linking CUDA device code CMakeFiles/RenderingOptiX.dir/cmake_device_link.o ptxas CMakeFiles/vtkRenderingOptiX-ptx.dir/CUDA/Cylinder.ptx, line 80; error : Label expected for argument 0 of instruction 'call' ptxas CMakeFiles/vtkRenderingOptiX-ptx.dir/CUDA/Cylinder.ptx, line 80; fatal : Call target not recognized
that is where I am blocked.
A VTK-8.2.0.rc2 build is successful with OptiX on the same machine