本文介绍了在Windows上安装ORB-SLAM2时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对ORB-SLAM2感兴趣,因此我搜索并找到了该网站 https://github.com/Phylliida/orbslam-windows <<

I'm interested in ORB-SLAM2, So I searched and found this sitehttps://github.com/Phylliida/orbslam-windows <<

所以我读了README文件并复制了它,但是我发现了这些错误.

so I read the README file and copied it, but I found these errors.

在此处输入图片描述

我已经在Windows上安装了OPENCV,并且很好地设置了环境变量.

I already installed OPENCV on windows and I set up the environment variables well.

如何解决错误?

推荐答案

尝试在CMakeLists.txt中设置OpenCV_DIRSET("OpenCV_DIR" "C:/opencv")

Try setting OpenCV_DIR in CMakeLists.txtSET("OpenCV_DIR" "C:/opencv")

如果您想自动安装,构建ORB-SALM2的安装程序,请在此存储库scripts\windows\bootstrap.bat使用vcpkg构建opencv和依赖项,而build.bat编译ORB-SLAM2.引导程序通常需要第一次时间!

If you want an automated installation, build setup for ORB-SALM2, we have it in this repo, scripts\windows\bootstrap.batbuilds opencv and dependencies using vcpkg and build.bat compiles ORB-SLAM2. Bootstrap usually takes time for first time!!

这篇关于在Windows上安装ORB-SLAM2时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-13 23:17