Bug 505964
| Summary: | VTK config/use file are broken on x86_64 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Torsten Rohlfing <rohlfing> |
| Component: | vtk | Assignee: | Axel Thimm <Axel.Thimm> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | low | ||
| Version: | 11 | CC: | orion |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-06-15 01:12:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Sorry, wrong cut'n'paste -- the VTKConfig.cmake section in 5.0 that corresponds to the one quoted for 5.2 is of course
# The location of the UseVTK.cmake file.
SET(VTK_USE_FILE "${VTK_INSTALL_PREFIX}/usr/lib64/vtk-5.0/UseVTK.cmake")
*** This bug has been marked as a duplicate of bug 490879 *** |
Description of problem: When including VTK in another CMake-configured project, CMake encounters an error due to an invalid VTK path. Version-Release number of selected component (if applicable): vtk-5.2.1-1.fc11 How reproducible: Create a CMakeLists.txt file that contains the following: SET(VTK_DIR /usr/lib64) FIND_PACKAGE(VTK) IF (VTK_FOUND) INCLUDE (${VTK_USE_FILE}) ENDIF (VTK_FOUND) then run CMake on this project. Actual results: CMake Error at CMakeLists.txt:263 (INCLUDE): include could not find load file: /usrlib64/vtk-5.2/UseVTK.cmake Expected results: CMake finds and configures VTK for use in new project. Additional info: It seems that the missing "/" in the generated path is due to the following changes in /usr/lib64/vtk-5.2/VTKConfig.cmake: # The location of the UseVTK.cmake file. SET(VTK_USE_FILE "${VTK_INSTALL_PREFIX}lib64/vtk-5.2/UseVTK.cmake") in vtk5.2 used to be # The directory containing class list files for each kit. SET(VTK_KITS_DIR "${VTK_INSTALL_PREFIX}/usr/lib64/vtk-5.0") in the previous version. I am having a bit of a hard time tracking down in the VTK cvs what exactly went along with this change, but it seems this could be either a misconfiguration of the Fedora build, or an upstream bug in VTK 5.2.