Skip to content

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

Open
berndpfrommer wants to merge 2 commits intoraulmur:masterfrom
berndpfrommer:master
Open

added additional include files to get code to compile on Ubuntu 14.04.#28
berndpfrommer wants to merge 2 commits intoraulmur:masterfrom
berndpfrommer:master

Conversation

@berndpfrommer
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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
Copy Markdown

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.

2 participants