Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译错误,找不到Pangolin #74

Open
1508189250 opened this issue Jan 13, 2025 · 0 comments
Open

编译错误,找不到Pangolin #74

1508189250 opened this issue Jan 13, 2025 · 0 comments

Comments

@1508189250
Copy link

1508189250 commented Jan 13, 2025

下面是报错:

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源码,这样才行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant