[Digikam-devel] Re: Current svn of libkface does not compile for me
Gilles Caulier
caulier.gilles at gmail.com
Thu Oct 28 09:48:57 BST 2010
libkface must be compiled against libface from trunk (currently 0.1 release)
We plan to include right libface code as well in libkface to prevent
any problem and reduce puzzle complexity. We already do this with
libraw included in libkdcraw.
Marcel, do you have started to port libface code to libkface ? If no,
i can do it today
Gilles Caulier
2010/10/28 Sven Burmeister <sven.burmeister at gmx.net>:
> Hello!
>
> First of all, since there is now a branch of libface, should I use that branch
> or trunk for compiling digikam 2.0 svn?
>
> Further if I try to compile libkface with any of the above I get an error. I
> tried to clean the build dirs but to no avail.
>
> Is this a local issue or does compiling fail for anyone else as well?
>
> Sven
>
> /home/kde-branch/kde/src/libkface/libkface/database.cpp: In member function
> ‘bool KFaceIface::Database::updateFaces(QList<KFaceIface::Face>&)’:
> /home/kde-branch/kde/src/libkface/libkface/database.cpp:227:42: error: no
> match for ‘operator=’ in ‘ids = ((KFaceIface::Database*)this)-
>>KFaceIface::Database::d.QExplicitlySharedDataPointer<T>::operator-> [with T =
> KFaceIface::Database::DatabasePriv]()-
>>KFaceIface::Database::DatabasePriv::libface->libface::LibFace::update((&
> faceVec), 1)’
> /usr/include/c++/4.5/bits/vector.tcc:156:5: note: candidate is:
> std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const
> std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = std::allocator<int>]
> /home/kde-branch/kde/src/libkface/libkface/database.cpp: In member function
> ‘QList<double>
> KFaceIface::Database::recognizeFaces(QList<KFaceIface::Face>&)’:
> /home/kde-branch/kde/src/libkface/libkface/database.cpp:274:48: error: no
> match for ‘operator=’ in ‘result =
> libface::LibFace::recognise(std::vector<libface::Face>*, int)((& faceVec), 1)’
> /usr/include/c++/4.5/bits/vector.tcc:156:5: note: candidate is:
> std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const
> std::vector<_Tp, _Alloc>&) [with _Tp = std::pair<int, double>, _Alloc =
> std::allocator<std::pair<int, double> >]
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
More information about the Digikam-devel
mailing list