ROS Kinetic Eigen
Since migrating from Indigo to Kinetic, i am receiving the following CMake warning:
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message): catkin_package() DEPENDS on 'eigen' but neither 'eigen_INCLUDE_DIRS' nor 'eigen_LIBRARIES' is defined. Call Stack (most recent call first): /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) src_ros/iiwa_dynamics/CMakeLists.txt:110 (catkin_package)
Unfortunately I am unable to resolve this issue.
cmake_minimum_required(VERSION 2.8.3)
project(iiwa_dynamics)
find_package(catkin REQUIRED COMPONENTS
geometry_msgs
roscpp
std_msgs
ros_utilities
tf_conversions
iiwa_ik
)
find_package(cmake_modules REQUIRED)
find_package(Boost REQUIRED system filesystem date_time thread)
find_package(Eigen3 REQUIRED)
catkin_package(
INCLUDE_DIRS include
LIBRARIES iiwa_dynamics
CATKIN_DEPENDS
roscpp
std_msgs
geometry_msgs
ros_utilities
tf_conversions
iiwa_ik
DEPENDS
eigen
)
include_directories(include)
include_directories(SYSTEM ${Boost_INCLUDE_DIR} ${EIGEN_INCLUDE_DIRS})
include_directories(${catkin_INCLUDE_DIRS})
link_directories(${catkin_LIBRARY_DIRS})
add_library(${PROJECT_NAME}
src/iiwa_id.cpp
src/iiwa_dynamics_core.cpp
)
add_executable(iiwa_dynamics_debug src/iiwa_dynamics_debug.cpp)
target_link_libraries(iiwa_dynamics_debug
${PROJECT_NAME}
)
target_link_libraries(${PROJECT_NAME}
${catkin_LIBRARIES}
)
add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
The corresponding package.xml:
<buildtool_depend>catkin</buildtool_depend>
<build_depend>geometry_msgs</build_depend>
<build_depend>roscpp</build_depend>
<build_depend>std_msgs</build_depend>
<build_depend>ros_utilities</build_depend>
<build_depend>tf_conversions</build_depend>
<build_depend>iiwa_ik</build_depend>
<build_depend>eigen</build_depend>
<run_depend>geometry_msgs</run_depend>
<run_depend>roscpp</run_depend>
<run_depend>std_msgs</run_depend>
<run_depend>ros_utilities</run_depend>
<run_depend>tf_conversions</run_depend>
<run_depend>iiwa_ik</run_depend>
<run_depend>eigen</run_depend>
Any suggestion on what is going wrong?