[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [digikam] [Bug 337921] Unable to compile due to pointer type issue in gpcamera
From: Gilles Caulier <caulier.gilles () gmail ! com>
Date: 2015-07-01 16:21:05
Message-ID: bug-337921-17878-bRtoJcrJz6 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=337921
--- Comment #13 from Gilles Caulier <caulier.gilles@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 watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic