# error 0
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/ catkinConfig.cmake:76 (find_package): Could not find a package configuration file provided by "pcl_conversions" with any of the following names: pcl_conversionsConfig.cmake pcl_conversions-config.cmake Add the installation prefix of "pcl_conversions" to CMAKE_PREFIX_PATH or set "pcl_conversions_DIR" to a directory containing one of the above files. If "pcl_conversions" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): msckf_vio/ CMakeLists.txt:9 (find_package) -- Could not find the required component 'pcl_conversions'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found. CMake Error at /opt/ros/kinetic/share/catkin/cmake/ catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "pcl_conversions" with any of the following names: pcl_conversionsConfig.cmake pcl_conversions-config.cmake Add the installation prefix of "pcl_conversions" to CMAKE_PREFIX_PATH or set "pcl_conversions_DIR" to a directory containing one of the above files. If "pcl_conversions" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): msckf_vio/ CMakeLists.txt:9 (find_package) -- Configuring incomplete, errors occurred! See also "/home/hri/catkin_ws/build/CMakeFiles/ CMakeOutput.log ". See also "/home/hri/catkin_ws/build/CMakeFiles/ CMakeError.log ". Invoking "cmake" failed |
## sol(https://www.codeleading.com/article/97951344273/)
$ sudo apt-get install ros-melodic-pcl-conversions ros-melodic-pcl-ros
$ sudo apt-get update
# error 1
The imported target "vtkRenderingPythonTkWidgets" references the file "/usr/lib/aarch64-linux-gnu/libvtkRenderingPythonTkWidgets.so" but this file does not exist. Possible reasons include: |
## sol 1(https://www.twblogs.net/a/5d0bcf37bd9eee1ede0424fd/zh-cn or https://www.twblogs.net/a/5cbf9717bd9eee397113c830)
$ sudo ln -s /usr/lib/python2.7/dist-packages/vtk/libvtkRenderingPythonTkWidgets.aarch64-linux-gnu.so /usr/lib/aarch64-linux-gnu/libvtkRenderingPythonTkWidgets.so
라즈비안 부스터를 사용중이라면
$ sudo ln -s /usr/lib/python2.7/dist-packages/vtk/libvtkRenderingPythonTkWidgets.arm-linux-gnueabihf.so /usr/lib/arm-linux-gnueabihf/libvtkRenderingPythonTkWidgets.so
# error 2
-- 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. |
## sol2(https://www.twblogs.net/a/5cbf9717bd9eee397113c830)
$ sudo ln -s /usr/bin/vtk6 /usr/bin/vtk