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

missing -lopencv_imgcodecs for libopencv 3.1.0 #73

Closed
mousomer opened this issue Jan 10, 2017 · 3 comments
Closed

missing -lopencv_imgcodecs for libopencv 3.1.0 #73

mousomer opened this issue Jan 10, 2017 · 3 comments

Comments

@mousomer
Copy link

mousomer commented Jan 10, 2017

On libopencv 3.1 they moved some functions from highgui to imagecodecs, so the build system should have -lopencv_imgcodecs and -lopencv_videoio added when linking the examples.

Unfortunately, I'm not verse enough in cmake to make that change myself.

@uricamic
Copy link
Owner

Hi @mousomer,

thank you for pointing this out. I am working on the new build scripts, so I can add this there. It will take me some time though, so if you need some quick patch, simply add imgcodecs videoio to this line: https://github.com/uricamic/clandmark/blob/master/examples/CMakeLists.txt#L3 in CMakeLists.txt configuration file for buidling the C++ examples.
It should work without problems, unless they changed the FindOpencv.cmake script dramatically.

@uricamic
Copy link
Owner

I am closing this. Feel free to re-open if some further problems appear.

@mousomer
Copy link
Author

Thanks. I've done the build from command-line.

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