FS#75176 - [vtk] Using via CMake fails

Attached to Project: Community Packages
Opened by Frédéric Simonis (fsimonis) - Tuesday, 28 June 2022, 09:37 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 28 June 2022, 14:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Using vtk via CMake find_package(VTK) results in errors due to missing dependencies:

* cl11
* openvr
* utf8cpp

Additional info:
* vtk package 9.1.0-18

Steps to reproduce:

1. install vtk and cmake
2. Create CMakeLists.txt with content

cmake_minimum_required(VERSION 3.10)
project(Tutorial)
find_package(VTK)

3. Run cmake .
4-6. Install missing dependency and rerun cmake .
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 28 June 2022, 14:01 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#72570 
Comment by Antonio Rojas (arojas) - Tuesday, 28 June 2022, 14:01 GMT
Don't use find_package(VTK) without COMPONENTS

Loading...