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 232
    • Merge requests 232
  • 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
  • #17966
Closed
Open
Issue created Jul 24, 2020 by Mathieu Westphal@mwestphalMaintainer

Missing RenderingOpenGL2 module in link fails silently

When porting a VTK-dependant project CMakeLists.txt to VTK9 and using FindNeededModules.py, one would get something like :

find_package(VTK
 COMPONENTS
    FiltersSources
    IOImage
    RenderingCore
    # These modules are suggested since they implement an existing module.
    # Uncomment those you need.
    # InteractionStyle  # implements VTK::RenderingCore
    # RenderingFreeType # implements VTK::RenderingCore
    # RenderingOpenGL2  # implements VTK::RenderingCore
    # RenderingUI       # implements VTK::RenderingCore
)

It is not that easy to know which modules are actually needed for a beginner VTK user. With the example.tgz, forgetting to enable InteractionStyle would create a warning at runtime when going through the related codepath, which is not perfect (a build failure would be better) but understandable.

Forgetting to enable RenderingOpenGL2 would simply prevent the software to open any window without any explanation, warnings or errors at any time.

This should be fixed imo.

FYI: @ben.boeckel @tjcorona

Edited Jul 24, 2020 by Mathieu Westphal
Assignee
Assign to
Time tracking