Discussion:
[KPhotoAlbum] Building 4.6.2 for Debian Jessie
Matthias Heukäufer
2015-09-23 15:10:56 UTC
Permalink
Hi!

I am trying to build the stable release for Debian Jessie, but run into
problems with KGeoMap which is not available as a separate package in
Debian.

I think that it should be possible to use the package
"digikam-private-libs" which contains /usr/lib/digikam/libkgeomap.so.1
and the header files from the digikam sources, but I cannot figure out
how to tell cmake where to look for these files.

Can somebody give me a hint as how to change CMakeLists.txt so I can
build a Debian package?

On a side note: I have been able to build and use (with
LD_LIBRARY_PATH=/usr/lib/digikam/) KGeoMap in KPhotoAlbum with Debian
Wheezy, but it seems that the digikam packages in Jessie do not contain
all the necessary files any more.

Thank you!
Matthias
Johannes Zarl-Zierl
2015-09-23 17:59:02 UTC
Permalink
Hi,

I'm using Debian sid myself, so I can't exactly tell you what to do on Jessie.

I've always built KGeoMap on my own because of the packaging situation in
Debian. This works quite well for me, even though I have to admit that having
kgeomap (and other Digikam-related libs) in its own package would be the nicer
solution...

If you need pointers for building kgeomap on your own, I can help you...

Cheers,
Johannes
Post by Matthias Heukäufer
Hi!
I am trying to build the stable release for Debian Jessie, but run into
problems with KGeoMap which is not available as a separate package in
Debian.
I think that it should be possible to use the package
"digikam-private-libs" which contains /usr/lib/digikam/libkgeomap.so.1
and the header files from the digikam sources, but I cannot figure out
how to tell cmake where to look for these files.
Can somebody give me a hint as how to change CMakeLists.txt so I can
build a Debian package?
On a side note: I have been able to build and use (with
LD_LIBRARY_PATH=/usr/lib/digikam/) KGeoMap in KPhotoAlbum with Debian
Wheezy, but it seems that the digikam packages in Jessie do not contain
all the necessary files any more.
Thank you!
Matthias
Matthias Heukäufer
2015-09-25 13:48:04 UTC
Permalink
Hi Johannes,

can I ask you for a brief explanation on how to build KGeoMap in Debian?
I have run out of ideas trying to build and package KPhotoAlbum in
Jessie using the digikam libs and sources.

Fernando:
Thank you for the link to the cmake tutorials. I have achieved some
success using a combination of -D 'CMAKE_MODULE_PATH=...' and -D
'KGEOMAP_LOCAL_DIR=...', but eventually gave up as I ran into more and
more obstacles.

Cheers - Matthias
Post by Johannes Zarl-Zierl
Hi,
I'm using Debian sid myself, so I can't exactly tell you what to do on Jessie.
I've always built KGeoMap on my own because of the packaging situation in
Debian. This works quite well for me, even though I have to admit that having
kgeomap (and other Digikam-related libs) in its own package would be the nicer
solution...
If you need pointers for building kgeomap on your own, I can help you...
Cheers,
Johannes
Miika Turkia
2015-09-25 14:26:20 UTC
Permalink
check out https://launchpad.net/~dominik-stadler/+archive/ubuntu/ppa that is packaging for ubuntu, but debian should be quite similar (if not identical)

miika
Post by Matthias Heukäufer
Hi Johannes,
can I ask you for a brief explanation on how to build KGeoMap in Debian? I have run out of ideas trying to build and package KPhotoAlbum in Jessie using the digikam libs and sources.
Thank you for the link to the cmake tutorials. I have achieved some success using a combination of -D 'CMAKE_MODULE_PATH=...' and -D 'KGEOMAP_LOCAL_DIR=...', but eventually gave up as I ran into more and more obstacles.
Cheers - Matthias
Post by Johannes Zarl-Zierl
Hi,
I'm using Debian sid myself, so I can't exactly tell you what to do on Jessie.
I've always built KGeoMap on my own because of the packaging situation in
Debian. This works quite well for me, even though I have to admit that having
kgeomap (and other Digikam-related libs) in its own package would be the nicer
solution...
If you need pointers for building kgeomap on your own, I can help you...
Cheers,
Johannes
_______________________________________________
KPhotoAlbum mailing list
https://mail.kdab.com/mailman/listinfo/kphotoalbum
Johannes Zarl-Zierl
2015-09-30 21:53:14 UTC
Permalink
Hi Matthias,

Sorry for the long delay - I meant to get back to you sooner.

In case you still need help, here's what works on a VM I installed with
wheezy. Just in case you didn't see it yet, I'll mention the official howto
for building KPhotoAlbum[1].

Unfortunately, this tutorial hasn't been updated for KPA 4.6, yet. I.e. there
is no mention of libkgeomap.

So here's what I do to build and install libkgeomap:

INSTALL_PREFIX=$(kde4-config --localprefix)

This is usually the directory ~/.kde and works fine as installation path for
kde-based programs. There's one catch, though: if you install kphotoalbum
here, "make install" will overwrite your kphotoalbumui.rc[2] and (more
importantly) your kphotoalbumrc file.

I'm not sure whether it is possible to install a KDE program outside the KDE
(local) prefix, but I've always had problems installing to some other
directory (at least KDE won't find some resource files like the KPhotoAlbum
handbook or the .desktop files).

Step one: install kgeomap

git clone git://anongit.kde.org/libkgeomap.git
cd libkgeomap
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX
make && make install

If you encounter any problem in this step or any other, please post the error
here so we can find a solution.


Step two: install libkface (if you want this,too)

I just noticed that the version of libopencv in wheezy is too old for libkface
from git master. I'll upgrade my VM to jessie and post this step once I've
verified it.


Step three: install kphotoalbum.
This should basically work as advertised in [1].

git clone git://anongit.kde.org/kphotoalbum.git
cd kphotoalbum
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX

kgeomap should be found automatically if it is installed in either the KDE
prefix or the KDE local prefix directory.

make
# make sure to preserve your kphotoalbumrc file:
../script/kpa-backup.sh --backup
make install
../script/kpa-backup.sh --restore

If you have added $INSTALL_PREFIX/bin to your PATH, you should be able to
start kphotoalbum on the commandline. If it doesn't turn up in your start
menu, you should check where kphotoalbum installs the .desktop file against
the output of `kde4-config --path xdgdata-apps`.


I hope this is helpful to you...
Johannes


[1] https://userbase.kde.org/Building_KPhotoAlbum

[2] kphotoalbumui.rc contains the menu structure, including toolbars. If you
changed e.g. the toolbars of kphotoalbum, you might not want this file to be
overwritten. kphotoalbumrc is your KPhotoAlbum config file. You certainly
don't want this file to be overwritten.
Post by Matthias Heukäufer
Hi Johannes,
can I ask you for a brief explanation on how to build KGeoMap in Debian?
I have run out of ideas trying to build and package KPhotoAlbum in
Jessie using the digikam libs and sources.
Thank you for the link to the cmake tutorials. I have achieved some
success using a combination of -D 'CMAKE_MODULE_PATH=...' and -D
'KGEOMAP_LOCAL_DIR=...', but eventually gave up as I ran into more and
more obstacles.
Cheers - Matthias
Post by Johannes Zarl-Zierl
Hi,
I'm using Debian sid myself, so I can't exactly tell you what to do on Jessie.
I've always built KGeoMap on my own because of the packaging situation in
Debian. This works quite well for me, even though I have to admit that
having kgeomap (and other Digikam-related libs) in its own package would
be the nicer solution...
If you need pointers for building kgeomap on your own, I can help you...
Cheers,
Johannes
Matthias Heukäufer
2015-11-24 16:15:17 UTC
Permalink
Hi Johannes,

thank you for your reply. I have been without a (reliable) internet
connection, so I could not try you suggestions earlier.

Getting libkgeomap from git proved to be the essential hint. I had to
use an earlier version
(http://quickgit.kde.org/?p=libkgeomap.git&a=snapshot&h=c864ef7131ecb69a0c0859b0c6cbb371fbc65841),
as the current code requires the "Extra CMake Modules" which seem not to
be available for Jessie.
I preferred to package KPhotoAbum as a deb-file and then install it in
its regular location, so I did the same with libkgeomap first. Now I can
finally use the map feature in the annotation dialogue. Using the old
kgeomap code does not seem to be a big issue at first glance.

Thank you very much for your help!

Matthias
Post by Johannes Zarl-Zierl
Hi Matthias,
Sorry for the long delay - I meant to get back to you sooner.
In case you still need help, here's what works on a VM I installed with
wheezy. Just in case you didn't see it yet, I'll mention the official howto
for building KPhotoAlbum[1].
Unfortunately, this tutorial hasn't been updated for KPA 4.6, yet. I.e. there
is no mention of libkgeomap.
INSTALL_PREFIX=$(kde4-config --localprefix)
This is usually the directory ~/.kde and works fine as installation path for
kde-based programs. There's one catch, though: if you install kphotoalbum
here, "make install" will overwrite your kphotoalbumui.rc[2] and (more
importantly) your kphotoalbumrc file.
I'm not sure whether it is possible to install a KDE program outside the KDE
(local) prefix, but I've always had problems installing to some other
directory (at least KDE won't find some resource files like the KPhotoAlbum
handbook or the .desktop files).
Step one: install kgeomap
git clone git://anongit.kde.org/libkgeomap.git
cd libkgeomap
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX
make && make install
If you encounter any problem in this step or any other, please post the error
here so we can find a solution.
Step two: install libkface (if you want this,too)
I just noticed that the version of libopencv in wheezy is too old for libkface
from git master. I'll upgrade my VM to jessie and post this step once I've
verified it.
Step three: install kphotoalbum.
This should basically work as advertised in [1].
git clone git://anongit.kde.org/kphotoalbum.git
cd kphotoalbum
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX
kgeomap should be found automatically if it is installed in either the KDE
prefix or the KDE local prefix directory.
make
../script/kpa-backup.sh --backup
make install
../script/kpa-backup.sh --restore
If you have added $INSTALL_PREFIX/bin to your PATH, you should be able to
start kphotoalbum on the commandline. If it doesn't turn up in your start
menu, you should check where kphotoalbum installs the .desktop file against
the output of `kde4-config --path xdgdata-apps`.
I hope this is helpful to you...
Johannes
[1] https://userbase.kde.org/Building_KPhotoAlbum
[2] kphotoalbumui.rc contains the menu structure, including toolbars. If you
changed e.g. the toolbars of kphotoalbum, you might not want this file to be
overwritten. kphotoalbumrc is your KPhotoAlbum config file. You certainly
don't want this file to be overwritten.
Post by Matthias Heukäufer
Hi Johannes,
can I ask you for a brief explanation on how to build KGeoMap in Debian?
I have run out of ideas trying to build and package KPhotoAlbum in
Jessie using the digikam libs and sources.
Thank you for the link to the cmake tutorials. I have achieved some
success using a combination of -D 'CMAKE_MODULE_PATH=...' and -D
'KGEOMAP_LOCAL_DIR=...', but eventually gave up as I ran into more and
more obstacles.
Cheers - Matthias
Post by Johannes Zarl-Zierl
Hi,
I'm using Debian sid myself, so I can't exactly tell you what to do on Jessie.
I've always built KGeoMap on my own because of the packaging situation in
Debian. This works quite well for me, even though I have to admit that
having kgeomap (and other Digikam-related libs) in its own package would
be the nicer solution...
If you need pointers for building kgeomap on your own, I can help you...
Cheers,
Johannes
_______________________________________________
KPhotoAlbum mailing list
https://mail.kdab.com/mailman/listinfo/kphotoalbum
Kerry Sainsbury
2016-02-03 16:11:58 UTC
Permalink
Post by Johannes Zarl-Zierl
Step two: install libkface (if you want this,too)
I just noticed that the version of libopencv in wheezy is too old for libkface
from git master. I'll upgrade my VM to jessie and post this step once I've
verified it.
I have been trying to build kphotoalbum 4.7, with libkface, on jessie, for a
few days (off and on) without success. I am not a C/C++ programmer. This is
the first time I've used cmake!

I eventually managed to get OpenCV 2.4.11 built (3.1.0, even when built with
opencv_contrib/modules, does not seem to produce the 'opencv_contrib'
required by libkface).

Now that I finally have libkface compiled and installed, kphotoalbum (cmake ..
) still says:

-- Did not find KFace >= 3.5.0 (optional)
-- Face detection and recognition features won't be built.

The output from libkface is shown below. Can you suggest what needs to
change before kphotoalbum will "see" libkface?

Install the project...
-- Install configuration: "release"
-- Up-to-date:
/usr/local/lib/x86_64-linux-gnu/cmake/KF5KFace/KF5KFaceConfig.cmake
-- Up-to-date:
/usr/local/lib/x86_64-linux-gnu/cmake/KF5KFace/KF5KFaceConfigVersion.cmake
-- Up-to-date:
/usr/local/lib/x86_64-linux-gnu/cmake/KF5KFace/KF5KFaceTargets.cmake
-- Up-to-date:
/usr/local/lib/x86_64-linux-gnu/cmake/KF5KFace/KF5KFaceTargets-release.cmake
-- Up-to-date:
/usr/local/share/libkface/haarcascades/haarcascade_frontalface_alt.xml
-- Up-to-date:
/usr/local/share/libkface/haarcascades/haarcascade_frontalface_alt_tree.xml
-- Up-to-date:
/usr/local/share/libkface/haarcascades/haarcascade_mcs_lefteye.xml
-- Up-to-date:
/usr/local/share/libkface/haarcascades/haarcascade_frontalface_alt2.xml
-- Up-to-date: /usr/local/share/libkface/haarcascades/haarcascade_mcs_nose.xml
-- Up-to-date:
/usr/local/share/libkface/haarcascades/haarcascade_frontalface_default.xml
-- Up-to-date: /usr/local/share/libkface/haarcascades/haarcascade_mcs_mouth.xml
-- Up-to-date:
/usr/local/share/libkface/haarcascades/haarcascade_profileface.xml
-- Up-to-date:
/usr/local/share/libkface/haarcascades/haarcascade_mcs_righteye.xml
-- Up-to-date: /usr/local/share/libkface/alignment-congealing/face-funnel.data
-- Up-to-date: /usr/local/lib/x86_64-linux-gnu/libKF5KFace.so.5.0.0
-- Up-to-date: /usr/local/lib/x86_64-linux-gnu/libKF5KFace.so.10.0.0
-- Up-to-date: /usr/local/lib/x86_64-linux-gnu/libKF5KFace.so
-- Up-to-date: /usr/local/share/libkface/database/dbfaceconfig.xml
-- Up-to-date: /usr/local/include/KF5/KFace/kface/libkface_export.h
-- Up-to-date: /usr/local/include/KF5/KFace/KFace/FaceDetector
-- Up-to-date: /usr/local/include/KF5/KFace/KFace/RecognitionDatabase
-- Up-to-date: /usr/local/include/KF5/KFace/KFace/Identity
-- Up-to-date: /usr/local/include/KF5/KFace/KFace/DataProviders
-- Up-to-date: /usr/local/include/KF5/KFace/kface/facedetector.h
-- Up-to-date: /usr/local/include/KF5/KFace/kface/recognitiondatabase.h
-- Up-to-date: /usr/local/include/KF5/KFace/kface/identity.h
-- Up-to-date: /usr/local/include/KF5/KFace/kface/dataproviders.h
-- Up-to-date: /usr/local/include/KF5/libkface_version.h
Kerry Sainsbury
2016-02-03 16:33:52 UTC
Permalink
Post by Kerry Sainsbury
I have been trying to build kphotoalbum 4.7, with libkface, on jessie
UPDATE:
I rebuilt libkface under /usr (not /usr/local):

-- Installing: /usr/lib/x86_64-linux-gnu/cmake/KF5KFace/KF5KFaceConfig.cmake
-- Installing: /usr/lib/x86_64-linux-gnu/libKF5KFace.so.5.0.0
-- Installing: /usr/lib/x86_64-linux-gnu/libKF5KFace.so.10.0.0
-- Installing: /usr/lib/x86_64-linux-gnu/libKF5KFace.so
-- Set runtime path of "/usr/lib/x86_64-linux-gnu/libKF5KFace.so.5.0.0" to
"/usr/local/lib"

.... but kphotoalbum still can't "see" it:

***@media:/tmp/kphotoalbum-4.7/build$ cmake ..
-- Found Qt-Version 4.8.6 (using /usr/bin/qmake-qt4)
-- Found KDE 4.12 include dir: /usr/include
-- Found KDE 4.12 library dir: /usr/lib
-- 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...
-- checking for module 'libkipi>=1.2.0'
-- package 'libkipi>=1.2.0' not found
-- Could NOT find KIPI (missing: KIPI_LIBRARIES KIPI_INCLUDE_DIR)
-- Check for Kdcraw library in local sub-folder...
-- Check Kdcraw library using pkg-config...
-- checking for module 'libkdcraw'
-- package 'libkdcraw' not found
-- Could NOT find marble (missing: MARBLE_INCLUDE_DIR MARBLE_LIBRARIES)
-- Did not find KFace >= 3.5.0 (optional)
-- Face detection and recognition features won't be built.
-- Did not find KGeoMap (optional)
-- Geographic map features won't be built.
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/kphotoalbum-4.7/build


Any help appreciated!

PS: My goal is simply to be able to run 4.7 on jessie. If there's a binary I
can install, that would be fine by me :-)
Matthias Heukäufer
2016-02-03 18:20:22 UTC
Permalink
Hi Kerry!

If you change line 82 in CMakeLists.txt in /tmp/kphopoalbum-4.7 by
removing the 'QUIET' and run cmake again, you should see the reason why
libkface is not found.

My guess is that cmake does not find kface-config.cmake. From your post
/usr/lib/x86_64-linux-gnu/cmake/KF5KFace/KF5KFaceConfig.cmake

I had a look in the history of libkface. The last version that contained
kface-config.cmake is this one:
https://github.com/KDE/libkface/tree/f265dea4e862cc9c1341171ebcd77b10a0a376e5

The next commit changed that to KF5KFaceConfig.cmake that was installed
on your system.
You could try to build libkface from the old commit (you might have to
use an even older one) and see if that helps.
I have to warn you though: my knowledge of the whole build process is
extremely limited. I might be totally wrong and you would just waste
your time.

By the way: are you building libkgeomap as well? I finally managed to
build it on a 64-bit Debian Jessie, but when I do exactly the same on my
old 32-bit desktop computer, kphotolbum crashes each time a few seconds
after I started it.

Matthias
Post by Kerry Sainsbury
Post by Kerry Sainsbury
I have been trying to build kphotoalbum 4.7, with libkface, on jessie
-- Installing: /usr/lib/x86_64-linux-gnu/cmake/KF5KFace/KF5KFaceConfig.cmake
-- Installing: /usr/lib/x86_64-linux-gnu/libKF5KFace.so.5.0.0
-- Installing: /usr/lib/x86_64-linux-gnu/libKF5KFace.so.10.0.0
-- Installing: /usr/lib/x86_64-linux-gnu/libKF5KFace.so
-- Set runtime path of "/usr/lib/x86_64-linux-gnu/libKF5KFace.so.5.0.0" to
"/usr/local/lib"
-- Found Qt-Version 4.8.6 (using /usr/bin/qmake-qt4)
-- Found KDE 4.12 include dir: /usr/include
-- Found KDE 4.12 library dir: /usr/lib
-- 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...
-- checking for module 'libkipi>=1.2.0'
-- package 'libkipi>=1.2.0' not found
-- Could NOT find KIPI (missing: KIPI_LIBRARIES KIPI_INCLUDE_DIR)
-- Check for Kdcraw library in local sub-folder...
-- Check Kdcraw library using pkg-config...
-- checking for module 'libkdcraw'
-- package 'libkdcraw' not found
-- Could NOT find marble (missing: MARBLE_INCLUDE_DIR MARBLE_LIBRARIES)
-- Did not find KFace >= 3.5.0 (optional)
-- Face detection and recognition features won't be built.
-- Did not find KGeoMap (optional)
-- Geographic map features won't be built.
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/kphotoalbum-4.7/build
Any help appreciated!
PS: My goal is simply to be able to run 4.7 on jessie. If there's a binary I
can install, that would be fine by me :-)
_______________________________________________
KPhotoAlbum mailing list
https://mail.kdab.com/mailman/listinfo/kphotoalbum
Johannes Zarl-Zierl
2016-02-03 19:00:50 UTC
Permalink
Hi,
Post by Kerry Sainsbury
Now that I finally have libkface compiled and installed, kphotoalbum (cmake
-- Did not find KFace >= 3.5.0 (optional)
-- Face detection and recognition features won't be built.
The output from libkface is shown below. Can you suggest what needs to
change before kphotoalbum will "see" libkface?
Install the project...
-- Install configuration: "release"
/usr/local/lib/x86_64-linux-gnu/cmake/KF5KFace/KF5KFaceConfig.cmake
[...]
I'm afraid we didn't come around yet to update KPhotoAlbum for KDE frameworks
5 (KF5). If you want to build with libkface, you have to install a pre-KF5
version.

Johannes
Kerry Sainsbury
2016-02-04 06:53:47 UTC
Permalink
Post by Johannes Zarl-Zierl
Hi,
Post by Kerry Sainsbury
Now that I finally have libkface compiled and installed, kphotoalbum (cmake
-- Did not find KFace >= 3.5.0 (optional)
-- Face detection and recognition features won't be built.
The output from libkface is shown below. Can you suggest what needs to
change before kphotoalbum will "see" libkface?
Install the project...
-- Install configuration: "release"
/usr/local/lib/x86_64-linux-gnu/cmake/KF5KFace/KF5KFaceConfig.cmake
[...]
I'm afraid we didn't come around yet to update KPhotoAlbum for KDE frameworks
5 (KF5). If you want to build with libkface, you have to install a pre-KF5
version.
Thank you (and Matthias) for the pointer to the use of an older version.

I have tried this version:

https://github.com/KDE/libkface/archive/v14.11.80.zip

...and KPA "finds" it but eventually dies with:

[ 78%] Building CXX object
CMakeFiles/kphotoalbum.dir/AnnotationDialog/ProposedFaceDialog.cpp.o
Linking CXX executable kphotoalbum
CMakeFiles/kphotoalbum.dir/Settings/CategoryItem.cpp.o: In function
`Settings::CategoryItem::renameCategory(DB::MemberMap*)':
/tmp/kphotoalbum-4.7/Settings/CategoryItem.cpp:178: undefined reference to
`Settings::CategoryItem::newCategoryNameSaved(QString, QString)'
collect2: error: ld returned 1 exit status
CMakeFiles/kphotoalbum.dir/build.make:5011: recipe for target 'kphotoalbum'
failed
make[2]: *** [kphotoalbum] Error 1
CMakeFiles/Makefile2:162: recipe for target 'CMakeFiles/kphotoalbum.dir/all'
failed
make[1]: *** [CMakeFiles/kphotoalbum.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2



The offending code is:

#ifdef HAVE_KFACE
// Also tell the face management page to update the recognition database
emit newCategoryNameSaved(m_categoryOrig, m_category);
#endif

Can you point me at specific version of libkface source code?

Thanks a lot. I'm a big fan of KPA!

PS: Matthias. No, I've not tried libkgeomap yet.
Tobias Leupold
2016-02-05 12:27:44 UTC
Permalink
Hi Kerry,

this is odd ... the signal is defined in Settings/CategoryItem.h if libkface
is found. So normally, everything should be fine (it actually is here ...).

Probably, this is due to a lot of testing back and forth? Have you tried to
simply delete your build directory and start "from scratch" with an empty one?

Cheers, Tobias
Post by Kerry Sainsbury
[ 78%] Building CXX object
CMakeFiles/kphotoalbum.dir/AnnotationDialog/ProposedFaceDialog.cpp.o
Linking CXX executable kphotoalbum
CMakeFiles/kphotoalbum.dir/Settings/CategoryItem.cpp.o: In function
/tmp/kphotoalbum-4.7/Settings/CategoryItem.cpp:178: undefined reference to
`Settings::CategoryItem::newCategoryNameSaved(QString, QString)'
collect2: error: ld returned 1 exit status
CMakeFiles/kphotoalbum.dir/build.make:5011: recipe for target 'kphotoalbum'
failed
make[2]: *** [kphotoalbum] Error 1
CMakeFiles/Makefile2:162: recipe for target 'CMakeFiles/kphotoalbum.dir/all'
failed
make[1]: *** [CMakeFiles/kphotoalbum.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
#ifdef HAVE_KFACE
// Also tell the face management page to update the recognition database
emit newCategoryNameSaved(m_categoryOrig, m_category);
#endif
Kerry Sainsbury
2016-02-05 17:49:41 UTC
Permalink
Post by Tobias Leupold
Have you tried to
simply delete your build directory and start "from scratch" with an empty one?
Great idea -- and it worked! Thanks very much for your help. Now I'll get
back to organising my photos :-)

Thanks again
Kerry
Tobias Leupold
2016-02-05 17:53:40 UTC
Permalink
Nice to hear everything went fine :-)
Post by Kerry Sainsbury
Great idea -- and it worked! Thanks very much for your help. Now I'll get
back to organising my photos :-)
Thanks again
Kerry
Loading...