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

Fails to build with OpenCV 3.2.0 #578

Open
pinaa opened this issue Oct 12, 2020 · 0 comments
Open

Fails to build with OpenCV 3.2.0 #578

pinaa opened this issue Oct 12, 2020 · 0 comments

Comments

@pinaa
Copy link

pinaa commented Oct 12, 2020

I modified openbr/CMakeLists.txt so I could compile the code by changing the line,

find_package(OpenCV 2.4.5 REQUIRED) 

with

find_package(OpenCV 3.2.0 REQUIRED)

However, it breaks on boost.h at the definition of struct CascadeBoostParams : CvBoostParams {..};"
with,
boost.h:35:1: error: expected class-name before ‘{’ token
35 | {
| ^
because CvBoostParams is not defined.
I really didn't want to install OpenCV 2.4.5. Is it possible to get build it with 3.2.0?
My OS is Ubuntu 20.04.1 LTS with the latest utils.

Thanks,
Art

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

1 participant