-- The imported target "vtk" references the file "/usr/bin/vtk" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake" but not all the files it references. CMake Error at cmake/pcl_find_vtk.cmake:96 (message): Missing vtk modules: vtkRenderingOpenGL2;vtkRenderingContextOpenGL2 Call Stack (most recent call first): CMakeLists.txt:393 (include) -- Configuring incomplete, errors occurred! See also "/home/amovlab-z410/pcl/release/CMakeFiles/CMakeOutput.log". See also "/home/amovlab-z410/pcl/release/CMakeFiles/CMakeError.log".
时间: 2024-04-27 11:22:26 浏览: 315
编译好的VTK-8.0.0.zip
3星 · 编辑精心推荐
这个错误表示在构建 PCL 时,CMake 找不到 VTK 库的某些模块,具体是 `vtkRenderingOpenGL2` 和 `vtkRenderingContextOpenGL2`。这可能是由于 VTK 没有正确安装或安装位置不正确导致的。你可以尝试重新安装 VTK 并确保路径正确,或者在 CMake 的配置中指定 VTK 库的路径。你也可以检查 `VTKTargets.cmake` 文件是否存在,并且文件路径是否正确。如果问题仍然存在,请提供更多的详细信息,以便我能够更好地帮助你解决问题。
阅读全文