[Digikam-devel] libface CMake change

Michael G. Hansen mike at mghansen.de
Sat Jun 26 16:00:13 BST 2010


One more thing: I think that on the first try to compile libkface tests, 
compilation failed because it could not find libkface include files 
because they were not yet installed. Running make install/fast and then 
re-running make solved that problem.

Michael

On 06/26/2010 04:57 PM, Michael G. Hansen wrote:
> Hi,
>
> I just tried compiling libface and libkface. Here are some comments:
>
> - The libface website states 'you need FindOpenCV.cmake'. Where do you
> get it? I just used the one from kipi-plugins, but that one must be the
> wrong one, as it defines OpenCV_LIBRARIES and libface looks for
> OpenCV_LIBS. The same applies to libkface. Would it be possible to
> include FindOpenCV.cmake in lib(k)face, as is done in kipi-plugins?
>
> - I ran libfaceGUI from libkface. When I load an image and hit "Detect
> faces", nothing happens but on the console I get:
>
> Chosen area : 500000
> Minimum FaceSize is 35
> ERROR: Could not load classifier cascade.
> Minimum FaceSize is 35
> ERROR: Could not load classifier cascade.
> Total Time taken : 0.000000 secs.
> Making long vector took: 0.000000 sec.
> Faces parsed : 0, number of final faces : 0
> Prunning took: 0.000000 sec.
> ERROR: Could not load classifier cascade.
> libkface detected : 0
>
> - libface only recognises CMAKE_BUILD_TYPE=Debug, but not debugfull
> which is also listed here:
> http://techbase.kde.org/Development/CMake/Addons_for_KDE
>
> Would be nice if both were detected, then I don't have to add special
> flags in kdesvn-build for libface.
>
> Greetings,
>
> Michael
>
> On 06/26/2010 11:33 AM, Aditya Bhatt wrote:
>> Hi,
>>
>> I've made a change in libface's CMakeLists.txt. It now installs libraries
>> not in<PATH>/lib64 but in<PATH>lib.
>> I had to do this because on my new fresh system (Arch), examples wouldn't
>> link. I also suspect that most libraries go into lib instead of lib64,
>> even
>> on 64-bit systems.
>> So if anyone has a problem, let me know and I'll undo the changes.
>> Do remove the (old) .so files from lib64 if you have installed them as
>> root.
>>
>>
>> Thanks
>>
>>
>>
>>
>> _______________________________________________
>> Digikam-devel mailing list
>> Digikam-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>
>


-- 
Michael Hansen - mike at mghansen.de
http://www.pfna.de/



More information about the Digikam-devel mailing list