You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake Error at CMakeLists.txt:31 (find_package):
By not providing "FindPangolin.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Pangolin",
but CMake did not find one.
Could not find a package configuration file provided by "Pangolin" with any
of the following names:
PangolinConfig.cmake
pangolin-config.cmake
下面是报错:
CMake Error at CMakeLists.txt:31 (find_package):
By not providing "FindPangolin.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Pangolin",
but CMake did not find one.
Could not find a package configuration file provided by "Pangolin" with any
of the following names:
PangolinConfig.cmake
pangolin-config.cmake
系统ubuntu20.04+ros1
我看了thirdparty这个文件夹里build-pangolin和Pangolin都是有东西的,看起来正常。在CmakeList.txt文件:
set(PANGOLIN_DIR "${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/build-pangolin")
这一句也设了路径不知道为啥还找不到find_package(Pangolin REQUIRED)
set(PANGOLIN_DIR "${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/build-pangolin")这句换成绝对路径也不行
无奈之下,直接cmake编译和安装Pangolin源码,这样才行。
The text was updated successfully, but these errors were encountered: