[Digikam-devel] [Bug 268267] digiKam crashes on picture import : OpenCV and Gphoto2 libraries incompatibility through libdc1394
Thomas Caswell
tcaswell at gmail.com
Sat Aug 27 03:21:10 BST 2011
https://bugs.kde.org/show_bug.cgi?id=268267
--- Comment #63 from Thomas Caswell <tcaswell gmail com> 2011-08-27 02:21:09 ---
> --- Comment #60 from Gilles Caulier <caulier gilles gmail com> 2011-08-26
> 10:03:59 --- Someby in this room who can reproduce the crash due to
> uncompatibility between gphoto2 and openCV can check if my last commit (see
> #59) fix the problem ?
>
It still crashes on gphoto init, and LD_PRELOAD still fixes it.
Even moving the libusb linking command to be the first link command that cmake
sees does not seem to help. Poking at it a bit, the highgui library from
opencv links to libraw1394 and libusb, in that order.
I tried to prevent linking to highgui, but libface uses it.
I also tried linking libusb in to kface and redeye_plugin before they link to
opencv, but it does not seem to make any difference.
I suspect what is going on is that because libusb is already linked into
highgui.so, even though libusb is on the list, it doesn't get re-linked.
If I have time tomorrow I am going to compile opencv and change the link order
there.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list