I am attempting to install ORBSLAM2.
When I run build.sh, it informs me it cannot find the eigen3 libraries. *
They have been downloaded, but the program simply cannot be find them.
How can I point the build to these libraries?
I have found the file FindEigen3.cmake **, which I believe should locate Eigen's location and store it in EIGEN3_INCLUDE_DIR.
Any ideas? Thank you.
*Error that appears when building:
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)
(Required is at least version "3.1.0")
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindEigen3.cmake:82 (find_package_handle_standard_args)
CMakeLists.txt:70 (FIND_PACKAGE)
**The error in cmake_modules/FindEigen3.cmake:82 appears on this line:
find_package_handle_standard_args(Eigen3 DEFAULT_MSG EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)
Issue solved.
If eigen3 libraries are downloaded from github, g20 may not be able to find the folder they were put in.
Use sudo apt-get install libeigen3-dev instead.
I am attempting to install ORBSLAM2. When I run build.sh, it informs me it cannot find the eigen3 libraries. * They have been downloaded, but the program simply cannot be find them.
How can I point the build to these libraries? I have found the file FindEigen3.cmake **, which I believe should locate Eigen's location and store it in EIGEN3_INCLUDE_DIR.
Any ideas? Thank you.
*Error that appears when building: CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK) (Required is at least version "3.1.0") Call Stack (most recent call first): /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) cmake_modules/FindEigen3.cmake:82 (find_package_handle_standard_args) CMakeLists.txt:70 (FIND_PACKAGE)
**The error in cmake_modules/FindEigen3.cmake:82 appears on this line: find_package_handle_standard_args(Eigen3 DEFAULT_MSG EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)