Could not find a package configuration file provided by “orocos_kdl“ 找不到的解决方法

cmakelist 中这么写

find_package(catkin REQUIRED COMPONENTS

roscpp

rospy

std_msgs

geometry_msgs

orocos_kdl

 

)

会报找不到orocos_kdl

 Could not find a package configuration file provided by "orocos_kdl" with
  any of the following names:

    orocos_kdlConfig.cmake
    orocos_kdl-config.cmake

  Add the installation prefix of "orocos_kdl" to CMAKE_PREFIX_PATH or set
  "orocos_kdl_DIR" to a directory containing one of the above files.  If
  "orocos_kdl" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:10 (find_package)

解决办法:加上  find_package(orocos_kdl REQUIRED)

 

总结起来cmakelist中需要

find_package(Eigen3 REQUIRED)

find_package(orocos_kdl REQUIRED)

find_package(catkin REQUIRED COMPONENTS

roscpp

rospy

std_msgs

geometry_msgs

#orocos_kdl

kdl_parser

rll_kinematics

robot_data

utils

)

 

上一篇:Dart中内置常用元数据@deprecated、@override、@proxy、@required和自定义元数据


下一篇:django.core.exceptions.ImproperlyConfigured: mysqlclient 1.4.0 or newer is required; you have 0.10.1