ORB_SLAM3 icon indicating copy to clipboard operation
ORB_SLAM3 copied to clipboard

Could not find a package configuration file provided by Pangolin

Open ng-druid opened this issue 6 months ago • 1 comments

Hello,

Pangolin has been installed successfully. The github repo was pulled down to ~/projects and Pangolin as per instructions was built from there. Do I need to put Pangolin in a different directory or move over files?

Thanks

[100%] Built target test_geometry
Uncompress vocabulary ...
Configuring and building ORB_SLAM3 ...
mkdir: cannot create directory ‘build’: File exists
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


Build type: Release
-- Using flag -std=c++11.
OPENCV VERSION:
4.5.4
CMake Error at CMakeLists.txt:42 (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

  Add the installation prefix of "Pangolin" to CMAKE_PREFIX_PATH or set
  "Pangolin_DIR" to a directory containing one of the above files.  If
  "Pangolin" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
See also "/home/tzmijewski/projects/ORB_SLAM3/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found.  Stop.
tzmijewski@pop-os:~/projects/ORB_SLAM3$ 

ng-druid avatar Jun 08 '25 19:06 ng-druid

You need to build this package from source.

Follow the guideline here: https://github.com/stevenlovegrove/Pangolin

One thing the guide doesn't mention is to run make install or ninja install after building the package

benmoussatMouad avatar Jul 22 '25 07:07 benmoussatMouad