編譯問題:
CMake Error at modules/perception/lidar/CMakeLists.txt:14 (find_package):
? By not providing "FindEigen.cmake" in CMAKE_MODULE_PATH this project has
? asked CMake to find a package configuration file provided by "Eigen", but
? CMake did not find one.
? Could not find a package configuration file provided by "Eigen" with any of
? the following names:
??? EigenConfig.cmake
??? eigen-config.cmake
? Add the installation prefix of "Eigen" to CMAKE_PREFIX_PATH or set
? "Eigen_DIR" to a directory containing one of the above files.? If "Eigen"
? provides a separate development package or SDK, be sure it has been
? installed.
CMakeLists.txt
文章來源:http://www.zghlxwxcb.cn/news/detail-429701.html
由于此時(shí)是通過sudo apt install libeigen3-dev安裝的,在/usr/lib/cmake下面會(huì)有eigen的cmake文件,需要將原find_package(Eigen REQUIRED)改為find_package(Eigen3 REQUIRED),這樣就不會(huì)報(bào)找不到eigen了。文章來源地址http://www.zghlxwxcb.cn/news/detail-429701.html
到了這里,關(guān)于ubuntu16.04升級(jí)到20.04后報(bào)錯(cuò) By not providing “FindEigen.cmake“的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!