nlamprian / ICP

Implementation of the photogeometric ICP algorithm in OpenCL
MIT License
15 stars 7 forks source link

test fail to find Eigen/Dense #1

Open drhalftone opened 8 years ago

drhalftone commented 8 years ago

I kept getting a compile error that Eigen/Dense header was not found. It was being included inside testsICP.hpp with #include <eigen3/Eigen/Dense>. I replaced the link with #include <Eigen/Dense> and then included the eigen include directories in the CMakeLists.txt for the test source according to:

if ( BUILD_TESTS )

find_package ( Threads REQUIRED )

include_directories ( ${CLUtils_INCLUDE_DIR} 
                      ${GTEST_INCLUDE_DIRS}
                      ${RBC_INCLUDE_DIR}
                      ${OPENGL_INCLUDE_DIRS}
                      ${EIGEN_INCLUDE_DIR} )