Error installing ORB-SLAM2 on Windows

2019-09-19 09:26发布

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

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

enter image description here

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

How can I fix errors?

标签: opencv cmake
2条回答
贼婆χ
2楼-- · 2019-09-19 09:39

1.Adding the variable to the system path like this.

2.Setting the variable by the cmake-gui.Then reconfigure.

3.Setting the include and lib path about opencv in the CMakeLists.txt manually.

查看更多
一夜七次
3楼-- · 2019-09-19 09:40

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

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!!

查看更多
登录 后发表回答