Bug#833616: [libopencv-dev] missing dependency on libopencv3.0-jni
Johannes Schauer
josch at debian.org
Mon Sep 26 12:49:18 UTC 2016
Control: tag -1 + confirmed
Hi,
On Sun, 7 Aug 2016 01:53:50 +0200 =?iso-8859-2?Q?Micha=B3_Miros=B3aw?= <mirq-deboogs at rere.qmqm.pl> wrote:
> libopencv-dev should depend on libopencv3.0-jni - if that's not
> installed CMake's "FIND_PACKAGE(OpenCV REQUIRED)" generates:
>
> CMake Error at /usr/share/OpenCV/OpenCVModules.cmake:120 (message):
> The imported target "opencv_java" references the file
>
> "/usr/lib/jni/libopencv_java300.so"
>
> but this file does not exist. Possible reasons include:
>
> * The file was deleted, renamed, or moved to another location.
>
> * An install or uninstall procedure did not complete successfully.
>
> * The installation package was faulty and contained
>
> "/usr/share/OpenCV/OpenCVModules.cmake"
>
> but not all the files it references.
>
> Call Stack (most recent call first):
> /usr/share/OpenCV/OpenCVConfig.cmake:86 (include)
> CMakeLists.txt:17 (FIND_PACKAGE)
I can confirm this finding from our own cmake project. Installing
libopencv3.0-jni fixes the problem.
Thanks!
cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160926/abfe81e2/attachment.sig>
More information about the debian-science-maintainers
mailing list