[Digikam-devel] [digikam] [Bug 337921] Unable to compile due to pointer type issue in gpcamera
Gilles Caulier
caulier.gilles at gmail.com
Wed Jul 1 17:21:05 BST 2015
https://bugs.kde.org/show_bug.cgi?id=337921
--- Comment #13 from Gilles Caulier <caulier.gilles at gmail.com> ---
The flag is set by digiKAm cmake script like this :
# -- libgphoto2 rules
--------------------------------------------------------------------------
MACRO_OPTIONAL_FIND_PACKAGE(Gphoto2)
if(NOT WIN32 AND GPHOTO2_FOUND)
# See bug #268267 : digiKam need to be linked to libusb to prevent crash at
gphoto2 init if opencv is linked with libdc1394
MACRO_OPTIONAL_FIND_PACKAGE(USB)
endif()
if(GPHOTO2_FOUND)
exec_program(gphoto2-config ARGS --version RETURN_VALUE _return_VALUE
OUTPUT_VARIABLE GPHOTO2_VERSION)
string(REPLACE "libgphoto2" "" GPHOTO2_VERSION "${GPHOTO2_VERSION}")
MACRO_ENSURE_VERSION("2.4.0" "${GPHOTO2_VERSION}" VERSION_GPHOTO2)
if(VERSION_GPHOTO2 AND LIBUSB_FOUND)
set(GPHOTO2_FOUND true)
else()
set(GPHOTO2_FOUND false)
endif()
MACRO_ENSURE_VERSION("2.5.0" "${GPHOTO2_VERSION}" VERSION_GPHOTO25)
if(VERSION_GPHOTO25)
set(HAVE_GPHOTO25 1)
else()
set(HAVE_GPHOTO25 0)
endif()
endif()
Typically, it run "gphoto2-config --version" CLI tool to check which version is
installed on your system. What give this command on a console ?
Gilles Caulier
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list