背景:
1、设备:pc;旭日派x3(后续会加上,目前只有pc)
2、环境:Ubuntu20.04;ROS2(Foxy)
ros2机器人foxy版用笔记本摄像头跑单目orb_slam3-CSDN博客
error1:pangolin
/home/sun/Pangolin/components/pango_python/src/pyinterpreter.cpp: In constructor ‘pangolin::PyInterpreter::PyInterpreter()’: /home/sun/Pangolin/components/pango_python/src/pyinterpreter.cpp:61:27: error: ‘py::module_’ has not been declared 61 | auto pypangolin = py::module_::import("pypangolin"); | ^~~~~~~ /home/sun/Pangolin/components/pango_python/src/pyinterpreter.cpp:63:20: error: ‘py::module_’ has not been declared 63 | auto sys = py::module_::import("sys"); | ^~~~~~~ make[2]: *** [CMakeFiles/pango_python.dir/build.make:63: CMakeFiles/pango_python.dir/components/pango_python/src/pyinterpreter.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1057: CMakeFiles/pango_python.dir/all] Error 2 make: *** [Makefile:130: all] Error 2
安装Pangolin
ubuntu如何编译安装Pangolin - 编程之家
如果有bug
./HelloPangolin: error while loading shared libraries: libpango_windowing.so: cannot open shared object file: No such file or directory
sudo ldconfig
Starting >>> orbslam3
--- stderr: orbslam3
CMake Error at CMakeLists.txt:18 (find_package):
By not providing "Findament_cmake.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"ament_cmake", but CMake did not find one.
Could not find a package configuration file provided by "ament_cmake" with
any of the following names:
ament_cmakeConfig.cmake
ament_cmake-config.cmake
Add the installation prefix of "ament_cmake" to CMAKE_PREFIX_PATH or set
"ament_cmake_DIR" to a directory containing one of the above files. If
"ament_cmake" provides a separate development package or SDK, be sure it
has been installed.
source /opt/ros/foxy/setup.bash
E: Package 'libpng12-dev' has no installation candidate
把libpng12-dev换成
libpng-dev就行了
继续./build.sh
ORB-SLAM3复现过程中遇到的问题及解决办法-CSDN博客
ROS Neotic(Ubuntu 20.04)如何正确安装OpenCV_ros安装opencv_NVDEV-Ruan的博客-CSDN博客
ubuntu 20.4完全卸载opencv 安装opencv 4.4_opencv卸载-CSDN博客
ubuntu20.04跑lvi-sam报错!Opencv库与cv_bridge包冲突问题苦我之久矣!!!!-CSDN博客
安装opencv4.4.0版本问题_no package 'opencv4' found_比尔泽lius123的博客-CSDN博客
##########
cao,重开一个得了