[Digikam-devel] Current svn of libkface does not compile for me

Sven Burmeister sven.burmeister at gmx.net
Thu Oct 28 09:06:24 BST 2010


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> >]



More information about the Digikam-devel mailing list