[KPhotoAlbum] Compiling KPA with KFace

Martin Jost lists at majo.name
Fri Dec 26 19:41:08 GMT 2014


Hello,

I tried to compile KPA with the interface for face recognition.
I pulled KPA from git today for this.

First I didn't had the correct dependencies installed.
That compilation and linking succeeded.

But after I installed the libs and include files, now the link fails
with a missing symbol.
(Note:
Between those two compilations  I did
> make clean
> cmake clean .
> git clean -f
> rm CMakeCache.txt

----
> cmake .

> make

to start over.

This is what I get now:

> cmake .
> -- Found Qt-Version 4.8.5 (using /usr/bin/qmake)
> -- Found X11: /usr/lib64/libX11.so
> -- Found KDE 4.11 include dir: /usr/include
> -- Found KDE 4.11 library dir: /usr/lib64
> -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
> -- Found automoc4: /usr/bin/automoc4
> -- No Kipi library version required. Check default version : 1.2.0
> -- Check Kipi library in local sub-folder...
> -- Check Kipi library using pkg-config...
> -- Kipi library version: 2.1.0
> -- libkipi: Found version 2.1.0 (required: 1.2.0)
> -- Check for Kdcraw library in local sub-folder...
> -- Check Kdcraw library using pkg-config...
> -- Found libkdcraw release 2.3.1
> -- Found libkdcraw: /usr/lib64/libkdcraw.so
> -- Found KFace version 3.5.0 (optional)
> --   Face detection and recognition features will be built.
> -- Did not find KGeoMap (optional)
> --   Geographic map features won't be built.
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/pd/pd-sw/foto/kphotoalbum/kphotoalbum_git

> make
[...]
> Linking CXX executable kphotoalbum
> CMakeFiles/kphotoalbum.dir/Settings/CategoryItem.cpp.o: In function `Settings::CategoryItem::renameCategory(DB::MemberMap*)':
> /home/pd/pd-sw/foto/kphotoalbum/kphotoalbum_git/Settings/CategoryItem.cpp:198: undefined reference to `Settings::CategoryItem::newCategoryNameSaved(QString, QString)'
> collect2: error: ld returned 1 exit status
> gmake[2]: *** [kphotoalbum] Fehler 1
> gmake[1]: *** [CMakeFiles/kphotoalbum.dir/all] Fehler 2
> gmake: *** [all] Fehler 2

How can I fix this - I'm really curious for the face detection... ;-)

Regards

Martin

P.S.:
What about a new  official release with this feature ?



More information about the Kphotoalbum mailing list