From f09a4cc7851e7b22d3c87e81e65e131cafa373ea Mon Sep 17 00:00:00 2001
From: "Isaac I.Y. Saito" <130s@2000.jukuin.keio.ac.jp>
Date: Wed, 20 Sep 2017 09:43:02 -0700
Subject: [PATCH] [industrial_extrinsic_cal] Add missing dependency: Eigen,
suitsparse.
---
industrial_extrinsic_cal/CMakeLists.txt | 5 ++++-
industrial_extrinsic_cal/package.xml | 4 ++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/industrial_extrinsic_cal/CMakeLists.txt b/industrial_extrinsic_cal/CMakeLists.txt
index 918db5a0..90626f18 100644
--- a/industrial_extrinsic_cal/CMakeLists.txt
+++ b/industrial_extrinsic_cal/CMakeLists.txt
@@ -25,6 +25,8 @@ find_package(Boost REQUIRED)
find_package(Ceres REQUIRED)
message("-- Found Ceres version ${CERES_VERSION}: ${CERES_INCLUDE_DIRS}")
+find_package(Eigen3 REQUIRED)
+
find_package(OpenCV 2 REQUIRED)
message("-- Found OpenCV version ${OpenCV_VERSION}: ${OpenCV_INCLUDE_DIRS}")
@@ -108,6 +110,7 @@ catkin_package(
DEPENDS
Boost
CERES
+ EIGEN3
)
@@ -116,11 +119,11 @@ include_directories(
include
${catkin_INCLUDE_DIRS}
${CERES_INCLUDE_DIRS}
+ ${EIGEN3_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
${yaml_cpp_INCLUDE_DIR}
)
-
# target: main library
add_library(
industrial_extrinsic_cal
diff --git a/industrial_extrinsic_cal/package.xml b/industrial_extrinsic_cal/package.xml
index c496e0b2..b62d8219 100644
--- a/industrial_extrinsic_cal/package.xml
+++ b/industrial_extrinsic_cal/package.xml
@@ -20,6 +20,7 @@
actionlib_msgs
boost
cv_bridge
+ eigen
geometry_msgs
image_transport
message_generation
@@ -31,6 +32,7 @@
sensor_msgs
std_msgs
std_srvs
+ suitesparse
tf
tf_conversions
yaml-cpp
@@ -38,6 +40,7 @@
actionlib
actionlib_msgs
cv_bridge
+ eigen
geometry_msgs
image_transport
image_view
@@ -56,6 +59,7 @@
sensor_msgs
std_msgs
std_srvs
+ suitesparse
tf
tf_conversions
yaml-cpp