[Digikam-devel] [digikam] [Bug 337921] Unable to compile due to pointer type issue in gpcamera

Cor kde at cpt1.demon.nl
Mon Jun 29 20:50:41 BST 2015


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

--- Comment #8 from Cor <kde at cpt1.demon.nl> ---
(In reply to Cor from comment #7)
> (In reply to Gilles Caulier from comment #6)
> > New digiKam 4.11.0 is available :
> > 
> > https://www.digikam.org/node/740
> > 
> > Can you reproduce the problem with this release ?
> > 
> > Gilles Caulier
> 
> I will try and do so once the package is delivered through sbopkg. There are
> a couple of depencencies which are required for this version which I don't
> have at the moment (such as libkexiv2 and liblcms to name but a few).
> I will come back on this.

I have tried it and the last message I get is this:

"/var/spool/sbopkg/digikam-4.11.0/core/utilities/importui/backend/gpcamera.cpp:1252:61:
error: cannot convert 'CameraFile* {aka _CameraFile*}' to 'const char*' for
argument '3' to 'int gp_camera_folder_put_file(Camera*, const char*, const
char*, CameraFileType, CameraFile*, GPContext*)'
                                           d->status->context);
                                                             ^
/var/spool/sbopkg/digikam-4.11.0/core/utilities/importui/backend/gpcamera.cpp:
In static member function 'static void
Digikam::GPCamera::getSupportedPorts(QStringList&)':
/var/spool/sbopkg/digikam-4.11.0/core/utilities/importui/backend/gpcamera.cpp:1552:31:
error: request for member 'path' in 'info', which is of pointer type
'GPPortInfo {aka _GPPortInfo*}' (maybe you meant to use '->' ?)
             plist.append(info.path);
                               ^
make[2]: ***
[core/utilities/importui/CMakeFiles/importui.dir/backend/gpcamera.cpp.o] Error
1
make[2]: Leaving directory `/var/spool/sbopkg/digikam-4.11.0/build'
make[1]: *** [core/utilities/importui/CMakeFiles/importui.dir/all] Error 2
make[1]: Leaving directory `/var/spool/sbopkg/digikam-4.11.0/build'
make: *** [all] Error 2
" 
I have re-installed all mandatory dependencies and most optional but still I
can't recompile.

Now, I can't find out which dependency contains gpcamera, or how to correct
this. The gpcamera seems to be the same source of the problem, however I'm not
sure whether we're facing the same problem here.

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



More information about the Digikam-devel mailing list