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

added additional include files to get code to compile on Ubuntu 14.04. #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

berndpfrommer
Copy link

I got compiler errors due to missing inclusion of header files. I'm somewhat perplexed by the fact that it would compile on your systems without inclusion of .

I also needed a small number of additional opencv includes (compiling against opencv 3.1).

@nlw0
Copy link

nlw0 commented Mar 14, 2016

Hi there. I was trying to compile with OpenCV 3.1 too, but I get a complaint from cmake, who is apparently looking for version 2.4.3 exactly. Can you tell me how you are building the project? Do you need some extra flags for cmake to use 3.1?

@berndpfrommer
Copy link
Author

Yes, that's a change I was not comfortable checking in yet. In CMakeList.txt, replace

find_package(OpenCV 2.4.3 REQUIRED)
with
find_package(OpenCV REQUIRED)

@nlw0
Copy link

nlw0 commented Mar 16, 2016

Probably the most "conservative" fix would be to create a file to tell CMake that is fine to use the 3.1.0 version when 2.4.3 is requested... But anyway, that is what I did too, thanks for the info!

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

Successfully merging this pull request may close these issues.

None yet

2 participants