Open FlYnN91 opened 5 years ago
👍
I suspect that raspicam is meant to built against OpenCV 3 while e.g. on my Raspberry Pi (Raspbian 9) I only have OpenCV 2.4 .
So @andreh7 is the only option to build opencv3 from source to build raspicam?
The easiest solution is to build an earlier commit of raspicam. If you revert to the commit on Jan 27, 2018 then raspicam will build with OpenCV 2.4: https://github.com/cedricve/raspicam/commit/59d92e6907859e59bd40645af6038e2122cd45ef
OpenCV 2.4 works prior to a recent pull request (https://github.com/cedricve/raspicam/pull/43) and commit (https://github.com/cedricve/raspicam/commit/35ace996cbcb7d2951db0fe50f3f97c3e1758a4c) that switched to using OpenCV 3 or higher with no backwards comparability.