[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:18:24 BST 2015


https://bugs.kde.org/show_bug.cgi?id=337921

--- Comment #12 from Gilles Caulier <caulier.gilles at gmail.com> ---
In gpcamera.cpp the problem is here :

#ifdef HAVE_GPHOTO25
    errorCode = gp_camera_folder_put_file(d->camera,
                                         
QFile::encodeName(folder).constData(),
                                          QFile::encodeName(itemName),
                                          GP_FILE_TYPE_NORMAL,
                                          cfile,
                                          d->status->context);
#else
    errorCode = gp_camera_folder_put_file(d->camera,
                                         
QFile::encodeName(folder).constData(),
                                          cfile,
                                          d->status->context);   
<<<<<<<<<<<<<<<<<<<<<<<<<<!!!!!
#endif

In fact the HAVE_GPHOTO25 flag is not set, but you use gphoto 2.5.2. 

So the problem can be :

- the detection of Gphoto2.5 by cmake.
- the packaging of gphoto2.5.2 on your system which do not set all properly for
a fine detection.

I suspect the second one, because we have already tested with gphoto < 2.5 and
gphoto >=2.5 on multiple system...

Gilles Caulier

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list