Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error: OpenCV version #755

Open
ghost opened this issue Apr 24, 2019 · 2 comments
Open

Installation error: OpenCV version #755

ghost opened this issue Apr 24, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 24, 2019

Hi everyone, thank you always for your help.

The problem comes out when I compile this great software on Ubuntu18.04.
The error is as follows:
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/user-name/orb_slam2_ws/ORB_SLAM2/Thirdparty/g2o/build
[100%] Built target g2o
Uncompress vocabulary ...
Configuring and building ORB_SLAM2 ...
mkdir: cannot create directory ‘build’: File exists
Build type: Release
-- Using flag -std=c++11.
CMake Error at CMakeLists.txt:35 (message):
OpenCV > 2.4.3 not found.

-- Configuring incomplete, errors occurred!

The OpenCV version is 4.1.0-dev.

Thank you for advance.

@DKandrew
Copy link

Hi @petroskey I think ORB SLAM2 doesn't not support OpenCV 4.1 for the time being.
One big problem is that PnPsolver does not support OpenCV 4.1, many OpenCV APsI it uses are removed in the OpenCV 4.

You can try it out yourself by changeing the version of OpenCV to 4.0 in the line 31 of CMakeLists.txt.

@Windfisch
Copy link

I think I fixed this in #790 or https://github.com/Windfisch/ORB_SLAM2
At least it works for me under Arch Linux with OpenCV 4.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants