1 | initial version |
it seems, your script dragged in a wrong version of libjpeg.
try to add -DBUILD_JPEG
to your cmake cmdline, and rerun cmake && make && make install
this should build & link the 3rparty libjpeg version, that comes with opencv (instead of trying to use your system one)