Skip to content
Snippets Groups Projects

gtest cannot find Eigen/Dense

Merged Joan Solà Ortega requested to merge gtest_motion_2d into master

I am having this bug when compiling gtest_motion_2d.cpp:

In file included from /home/jsola/dev/wolf/test/../src/ceres_wrapper/ceres_manager.h:5:0,
                 from /home/jsola/dev/wolf/test/gtest_motion_2d.cpp:15:
/usr/local/include/ceres/jet.h:165:22: fatal error: Eigen/Core: No such file or directory
 #include "Eigen/Core"

I added eigen_include_dirs and ceres_include_dirs in the test/CMakeFiles file, but no luck:

## Added these two include_dirs: ######################
#
# Include Eigen
INCLUDE_DIRECTORIES(${EIGEN_INCLUDE_DIRS})
#
# Include Ceres
IF(Ceres_FOUND)
    INCLUDE_DIRECTORIES(${CERES_INCLUDE_DIRS})
ENDIF(Ceres_FOUND)
#
## but still gtest_motion_2d does not work ################

@artivis could you please have a look?

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading