Martin Jost
2014-12-26 19:41:08 UTC
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
Regards
Martin
P.S.:
What about a new official release with this feature ?
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 clean .
git clean -f
rm CMakeCache.txt
cmake .
make
to start over.make
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
[...]-- 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
/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... ;-)/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
Regards
Martin
P.S.:
What about a new official release with this feature ?