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

Alex Jironkin alexjironkin at gmail.com
Thu Oct 28 11:19:11 CEST 2010


I just updated the RandomTest in libface (rev 260) so it links correctly. The reason being one of the function was removed from Eigenfaces.

i'll have a look at libkface tests.

Alex
On 28 Oct 2010, at 10:14, Gilles Caulier wrote:

> yes, with libface rev. 259, libkface compile fine, excapted test
> programs (from libface or libkface):
> 
> [gilles at localhost libkface]$ make
> [  0%] Built target kface_automoc
> [  0%] Building CXX object
> libs/libkface/libkface/CMakeFiles/kface.dir/database.o
> [ 10%] Building CXX object
> libs/libkface/libkface/CMakeFiles/kface.dir/kface.o
> [ 20%] Building CXX object
> libs/libkface/libkface/CMakeFiles/kface.dir/kfaceutils.o
> [ 20%] Building CXX object
> libs/libkface/libkface/CMakeFiles/kface.dir/image.o
> [ 30%] Building CXX object
> libs/libkface/libkface/CMakeFiles/kface.dir/facedetector.o
> [ 40%] Building CXX object
> libs/libkface/libkface/CMakeFiles/kface.dir/recognitiondatabase.o
> [ 40%] Building CXX object
> libs/libkface/libkface/CMakeFiles/kface.dir/faceitem.o
> [ 50%] Building CXX object
> libs/libkface/libkface/CMakeFiles/kface.dir/button.o
> [ 60%] Building CXX object
> libs/libkface/libkface/CMakeFiles/kface.dir/marquee.o
> [ 60%] Building CXX object
> libs/libkface/libkface/CMakeFiles/kface.dir/fancyrect.o
> Linking CXX shared library ../../../lib/libkface.so
> [ 70%] Built target kface
> Scanning dependencies of target detect_automoc
> [ 70%] Built target detect_automoc
> Scanning dependencies of target detect
> [ 80%] Building CXX object
> libs/libkface/test/CMakeFiles/detect.dir/detect_automoc.o
> [ 80%] Building CXX object
> libs/libkface/test/CMakeFiles/detect.dir/detect.o
> Linking CXX executable detect
> ../../../lib/libkface.so.0.1.0: undefined reference to
> `libface::LibFace::count(int) const'
> collect2: ld returned 1 exit status
> make[2]: *** [libs/libkface/test/detect] Error 1
> make[1]: *** [libs/libkface/test/CMakeFiles/detect.dir/all] Error 2
> make: *** [all] Error 2
> 
> Gilles
> 
> 2010/10/28 Alex Jironkin <alexjironkin at gmail.com>:
>> Yeah I updated the recognition part and changed the return type of update not realising the way it was used in libkface. I have just updated (rev 259) to return std::vector<int>
>> 
>> 
>> Alex
>> 
>> On 28 Oct 2010, at 10:03, Gert Kello wrote:
>> 
>>>> libkface must be compiled against libface from trunk (currently 0.1 release)
>>>> 
>>> 
>>> You mean trunk at revision 250? there has been major update to code at
>>> 23.10.2010, revision 253.
>>> 
>>> After I compiled libface rev 250 the compiling works for me.
>>> 
>>> Gert
>>> _______________________________________________
>>> Digikam-devel mailing list
>>> Digikam-devel at kde.org
>>> https://mail.kde.org/mailman/listinfo/digikam-devel
>> 
>> If we knew what we were doing, it wouldn't be called research, would it?
>> -- Albert Einstein
>> 
>> 
>> 
>> _______________________________________________
>> Digikam-devel mailing list
>> Digikam-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>> 
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel

If we knew what we were doing, it wouldn't be called research, would it?
-- Albert Einstein





More information about the Digikam-devel mailing list