Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 830
    • Issues 830
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 234
    • Merge requests 234
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTKVTK
  • VTKVTK
  • Issues
  • #17489
Closed
Open
Issue created Jan 17, 2019 by Jean Favre@jfavreDeveloper

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

Assignee
Assign to
Time tracking