You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake failed if I have installed the different version VTK.
To Reproduce
I have installed VTK-9.0 already, then I installed pcl-1.11.1(VTK-8.2). It was failed in CMake when I want to link pcl into my project. I looked into this and find pcl can't overwrite VTK_DIR which has already set.
ON
Before SetC:/Program Files/VTK/lib/cmake/vtk-9.0
D:/Program Files/PCL 1.11.1/3rdParty/VTK/lib/cmake/vtk-8.2
After SetC:/Program Files/VTK/lib/cmake/vtk-9.0
ON
Before SetC:/Program Files/VTK/lib/cmake/vtk-9.0
D:/Program Files/PCL 1.11.1/3rdParty/VTK/lib/cmake/vtk-8.2
After SetD:/Program Files/PCL 1.11.1/3rdParty/VTK/lib/cmake/vtk-8.2
Your Environment (please complete the following information):
OS: Win10
Compiler: Visual Studio 2019 X64
PCL Version 1.11.1
PCL Type:Installed
The text was updated successfully, but these errors were encountered:
Describe the error
CMake failed if I have installed the different version VTK.
To Reproduce
I have installed VTK-9.0 already, then I installed pcl-1.11.1(VTK-8.2). It was failed in CMake when I want to link pcl into my project. I looked into this and find pcl can't overwrite VTK_DIR which has already set.
Screenshots/Code snippets/Build information
PCLConfig.cmake:
Print by CMake which the path didn't set success
If I add FORCE behind
Path set success.
Your Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: