epfl-lasa / kuka-lwr-ros

ROS KUKA robot control (simulation & physical)
59 stars 30 forks source link

catkin_make error #25

Open csufangyu opened 4 years ago

csufangyu commented 4 years ago

hi, when i try to catkin_make ,and I get the error,it is:

/home/robot/catkin_ws/src/kuka-lwr-ros/kuka_lwr/lwr_hw/src/lwr_hw.cpp:245:83: error: conversion from ‘urdf::JointConstSharedPtr {aka std::shared_ptr<const urdf::Joint>}’ to non-scalar type ‘const boost::shared_ptr<const urdf::Joint>’ requested
       const boost::shared_ptr<const urdf::Joint> urdf_joint = urdf_model->getJoint(joint_name);
                                                               ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/home/robot/catkin_ws/src/kuka-lwr-ros/kuka_lwr/lwr_hw/src/lwr_hw.cpp:246:93: error: conversion from ‘urdf::JointConstSharedPtr {aka std::shared_ptr<const urdf::Joint>}’ to non-scalar type ‘const boost::shared_ptr<const urdf::Joint>’ requested
       const boost::shared_ptr<const urdf::Joint> urdf_joint_sitffness = urdf_model->getJoint(joint_name + std::string("_stiffness"));
                                                                         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/robot/catkin_ws/src/kuka-lwr-ros/kuka_lwr/lwr_hw/src/lwr_hw.cpp:250:70: error: no matching function for call to ‘getJointLimits(const boost::shared_ptr<const urdf::Joint>&, joint_limits_interface::JointLimits&)’
         if (joint_limits_interface::getJointLimits(urdf_joint, limits))
                                                                      ^
In file included from /home/robot/catkin_ws/src/kuka-lwr-ros/kuka_lwr/lwr_hw/include/lwr_hw/lwr_hw.h:19:0,
                 from /home/robot/catkin_ws/src/kuka-lwr-ros/kuka_lwr/lwr_hw/src/lwr_hw.cpp:1:
/opt/ros/melodic/include/joint_limits_interface/joint_limits_rosparam.h:75:13: note: candidate: bool joint_limits_interface::getJointLimits(const string&, const ros::NodeHandle&, joint_limits_interface::JointLimits&)
 inline bool getJointLimits(const std::string& joint_name, const ros::NodeHandle& nh, JointLimits& limits)
             ^~~~~~~~~~~~~~
/opt/ros/melodic/include/joint_limits_interface/joint_limits_rosparam.h:75:13: note:   candidate expects 3 arguments, 2 provided
In file included from /home/robot/catkin_ws/src/kuka-lwr-ros/kuka_lwr/lwr_hw/include/lwr_hw/lwr_hw.h:20:0,
                 from /home/robot/catkin_ws/src/kuka-lwr-ros/kuka_lwr/lwr_hw/src/lwr_hw.cpp:1:
/opt/ros/melodic/include/joint_limits_interface/joint_limits_urdf.h:48:13: note: candidate: bool joint_limits_interface::getJointLimits(urdf::JointConstSharedPtr, joint_limits_interface::JointLimits&)
 inline bool getJointLimits(urdf::JointConstSharedPtr urdf_joint, JointLimits& limits)
             ^~~~~~~~~~~~~~
/opt/ros/melodic/include/joint_limits_interface/joint_limits_urdf.h:48:13: note:   no known conversion for argument 1 from ‘const boost::shared_ptr<const urdf::Joint>’ to ‘urdf::JointConstSharedPtr {aka std::shared_ptr<const urdf::Joint>}’
/home/robot/catkin_ws/src/kuka-lwr-ros/kuka_lwr/lwr_hw/src/lwr_hw.cpp:252:90: error: no matching function for call to ‘getJointLimits(const boost::shared_ptr<const urdf::Joint>&, joint_limits_interface::JointLimits&)’
         if (joint_limits_interface::getJointLimits(urdf_joint_sitffness, limits_stiffness))

and the other error is:

CMake Error at kuka-lwr-ros/kuka_lwr/lwr_hw/CMakeLists.txt:107 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error at kuka-lwr-ros/kuka_lwr/lwr_hw/CMakeLists.txt:107 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error at kuka-lwr-ros/kuka_lwr/lwr_controllers/CMakeLists.txt:134 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:ignition-math4::ignition-math4,INTERFACE_INCLUDE_DIRECTORIES>

  Target "ignition-math4::ignition-math4" not found.

CMake Error at kuka-lwr-ros/kuka_lwr/lwr_controllers/CMakeLists.txt:134 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error at kuka-lwr-ros/kuka_lwr/lwr_fri/CMakeLists.txt:124 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:ignition-math4::ignition-math4,INTERFACE_INCLUDE_DIRECTORIES>

  Target "ignition-math4::ignition-math4" not found.

CMake Error at kuka-lwr-ros/kuka_lwr/lwr_fri/CMakeLists.txt:124 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error at kuka-lwr-ros/kuka_lwr/lwr_fri/CMakeLists.txt:118 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:ignition-math4::ignition-math4,INTERFACE_INCLUDE_DIRECTORIES>

  Target "ignition-math4::ignition-math4" not found.

CMake Error at kuka-lwr-ros/kuka_lwr/lwr_fri/CMakeLists.txt:118 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error at kuka-lwr-ros/kuka_lwr/lwr_fri/CMakeLists.txt:121 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:ignition-math4::ignition-math4,INTERFACE_INCLUDE_DIRECTORIES>

  Target "ignition-math4::ignition-math4" not found.

CMake Error at kuka-lwr-ros/kuka_lwr/lwr_fri/CMakeLists.txt:121 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error at kuka-lwr-ros/kuka_lwr/lwr_ros_interface/CMakeLists.txt:63 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:ignition-math4::ignition-math4,INTERFACE_INCLUDE_DIRECTORIES>

  Target "ignition-math4::ignition-math4" not found.

CMake Error at kuka-lwr-ros/kuka_lwr/lwr_ros_interface/CMakeLists.txt:63 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error at kuka-lwr-ros/lwr_ros_client/CMakeLists.txt:62 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:ignition-math4::ignition-math4,INTERFACE_INCLUDE_DIRECTORIES>

  Target "ignition-math4::ignition-math4" not found.

CMake Error at kuka-lwr-ros/lwr_ros_client/CMakeLists.txt:62 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error at kuka-lwr-ros-examples/lwr_task_examples/lwr_simple_example/CMakeLists.txt:42 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:ignition-math4::ignition-math4,INTERFACE_INCLUDE_DIRECTORIES>

  Target "ignition-math4::ignition-math4" not found.

CMake Error at kuka-lwr-ros-examples/lwr_task_examples/lwr_simple_example/CMakeLists.txt:42 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error at kuka-lwr-ros-examples/lwr_task_examples/lwr_simple_example/CMakeLists.txt:39 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:ignition-math4::ignition-math4,INTERFACE_INCLUDE_DIRECTORIES>

  Target "ignition-math4::ignition-math4" not found.

CMake Error at kuka-lwr-ros-examples/lwr_task_examples/lwr_simple_example/CMakeLists.txt:39 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error at kuka-lwr-ros-examples/lwr_task_examples/lwr_simple_example/CMakeLists.txt:46 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:protobuf::libprotobuf,INTERFACE_INCLUDE_DIRECTORIES>

  Target "protobuf::libprotobuf" not found.

CMake Error:
  Error evaluating generator expression:

    $<TARGET_PROPERTY:ignition-math4::ignition-math4,INTERFACE_INCLUDE_DIRECTORIES>

  Target "ignition-math4::ignition-math4" not found.

CMake Error at kuka-lwr-ros-examples/lwr_task_examples/lwr_simple_example/CMakeLists.txt:46 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:UUID::UUID,INTERFACE_INCLUDE_DIRECTORIES>

  Target "UUID::UUID" not found.

-- Generating done
-- Build files have been written to: /home/robot/catkin_ws/build
Makefile:2854: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1

could you teel me how to solve it?thanks very much