Orcinus
Orcinus

Reputation: 11

Error installing ORB-SLAM2 on Windows

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?

Upvotes: 0

Views: 1521

Answers (2)

Shanmukha
Shanmukha

Reputation: 105

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

Upvotes: 2

zdczdcc
zdczdcc

Reputation: 119

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.

Upvotes: 1

Related Questions