Skip to content
Snippets Groups Projects
Commit 9507ad2e authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Merge branch '24-cannot-compile-eigen-files-not-found' into 'master'

Resolve "Cannot compile: Eigen files not found"

Closes #24

See merge request mobile_robotics/laser_scan_utils!2
parents 6e409cf6 eb0af8cc
No related branches found
No related tags found
1 merge request!2Resolve "Cannot compile: Eigen files not found"
# Pre-requisites about cmake itself # Pre-requisites about cmake itself
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
if(COMMAND cmake_policy) if(COMMAND cmake_policy)
cmake_policy(SET CMP0005 NEW) cmake_policy(SET CMP0005 NEW)
......
...@@ -10,9 +10,14 @@ IF(faramotics_FOUND) ...@@ -10,9 +10,14 @@ IF(faramotics_FOUND)
MESSAGE("Faramotics Library FOUND: Tests requiring it will be built.") MESSAGE("Faramotics Library FOUND: Tests requiring it will be built.")
ENDIF(faramotics_FOUND) ENDIF(faramotics_FOUND)
FIND_PACKAGE(Eigen3 3.3 REQUIRED)
FIND_PACKAGE(csm QUIET) FIND_PACKAGE(csm QUIET)
#include directories #include directories
INCLUDE_DIRECTORIES(.) INCLUDE_DIRECTORIES(. /usr/local/include)
IF(Eigen3_FOUND)
INCLUDE_DIRECTORIES(${EIGEN3_INCLUDE_DIRS})
ENDIF(Eigen3_FOUND)
IF(csm_FOUND) IF(csm_FOUND)
INCLUDE_DIRECTORIES(${csm_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${csm_INCLUDE_DIR})
ENDIF(csm_FOUND) ENDIF(csm_FOUND)
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
#include "grid_cluster.h" #include "grid_cluster.h"
//Eigen includes //Eigen includes
#include <eigen3/Eigen/Dense> #include <Eigen/Dense>
#include <eigen3/Eigen/Geometry> #include <Eigen/Geometry>
//std //std
#include <vector> #include <vector>
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
#define TYPES_LASER_SCAN_UTILS_H_ #define TYPES_LASER_SCAN_UTILS_H_
//includes from Eigen lib //includes from Eigen lib
#include <eigen3/Eigen/Dense> #include <Eigen/Dense>
#include <eigen3/Eigen/Geometry> #include <Eigen/Geometry>
#include <eigen3/Eigen/Sparse> #include <Eigen/Sparse>
//namespace laserscanutils; //namespace laserscanutils;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment