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.
I already installed OPENCV on windows and I set up the environment variables well.
How can I fix errors?
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.
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.bat
builds opencv and dependencies using vcpkg andbuild.bat
compiles ORB-SLAM2. Bootstrap usually takes time for first time!!