Closed YZWYD closed 5 months ago
我们自行克隆并重新编译了orbslam2模块并没有出现问题,您可以尝试原始版本的orbslam2-pythonbinding能否正常编译安装。
或者您也可以提供build_orb.sh的所有的输出信息,我们帮您核对一下是否其他地方有问题
你好,我已经成功执行了步骤1.3 Modified ORB-SLAM2 Python Binding。是我的问题,在执行ORB-SLAM-PYBIND/build.sh的时候,可能是某些编码问题出现了换行符不识别的问题,导致本应该出现在thirdParty/install/include的ORB-SLAM2和一些其他文件出现在了其他地方,导致最后的编译安装失败。很抱歉给你们带来了麻烦。 另外我我还有以下两个问题 1.使用RTG-SLAM得到的模型应该如何可视化呢? 2.如何达到你们主页视频上那种使用RGBD相机进行实施渲染的效果呢?
你好,首先感谢能够开源你的代码! 我在配置环境的时候运行bash build_orb.sh后报错提示找不到config.h,请问应该如何解决呢? 报错如下: /home/zy/Project/RTG-SLAM/thirdParty/install/lib/libORB_SLAM2.so -- Configuring done -- Generating done -- Build files have been written to: /home/zy/Project/RTG-SLAM/thirdParty/pybind/build Consolidate compiler generated dependencies of target orbslam2 make[2]: 没有规则可制作目标“/home/zy/Project/RTG-SLAM/thirdParty/install/lib/libORB_SLAM2.so”,由“/home/zy/Project/RTG-SLAM/thirdParty/pybind/lib/orbslam2.so” 需求。 停止。 make[2]: 正在等待未完成的任务.... [ 25%] Building CXX object CMakeFiles/orbslam2.dir/src/ORBSlamPython.cpp.o In file included from /home/zy/Project/RTG-SLAM/thirdParty/pybind/src/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/optimizable_graph.h:37, from /home/zy/Project/RTG-SLAM/thirdParty/pybind/src/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h:30, from /home/zy/Project/RTG-SLAM/thirdParty/pybind/src/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_six_dof_expmap.h:37, from /home/zy/Project/RTG-SLAM/thirdParty/pybind/src/ORB_SLAM2/Converter.h:27, from /home/zy/Project/RTG-SLAM/thirdParty/pybind/src/ORBSlamPython.cpp:5: /home/zy/Project/RTG-SLAM/thirdParty/pybind/src/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/openmp_mutex.h:30:10: fatal error: ../../config.h: 没有那个文件或目录 30 | #include "../../config.h" | ^
~~~compilation terminated. make[2]: [CMakeFiles/orbslam2.dir/build.make:76:CMakeFiles/orbslam2.dir/src/ORBSlamPython.cpp.o] 错误 1 make[1]: [CMakeFiles/Makefile2:83:CMakeFiles/orbslam2.dir/all] 错误 2 make: *** [Makefile:136:all] 错误 2