<div dir="ltr">Strange. All compile fine here...<div><br></div><div>This is the unit test code that you can drop from compilation using a cmake option :</div><div>







<p class=""><span class="">-DBUILD_TESTING=OFF.</span></p><p class=""><span class="">If you use bootstrap.linux, just change option in this file as well, remove cmake cache file from build sub dir, reconfigure and compile...</span></p><p class=""><span class="">Gilles</span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-20 17:27 GMT+01:00 Richard Mortimer <span dir="ltr"><<a href="mailto:richm+digikam@oldelvet.org.uk" target="_blank">richm+digikam@oldelvet.org.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 19/11/2015 18:02, Gilles Caulier wrote:<br>
> You try to compile digiKam as stand alone. This is not the simplest way<br>
> to do.<br>
><br>
> Checkout the digiKam Software Compilation with git  :<br>
><br>
> git clone git://<a href="http://anongit.kde.org/digikam-software-compilation" rel="noreferrer" target="_blank">anongit.kde.org/digikam-software-compilation</a><br>
</span>> <<a href="http://anongit.kde.org/digikam-software-compilation" rel="noreferrer" target="_blank">http://anongit.kde.org/digikam-software-compilation</a>><br>
<span class="">><br>
> And follow instructions in README to checkout all relevant sub-project<br>
> automatically. Take a care to set "export GITSLAVE=.gitslave.devel"<br>
> before to be sure to download all that you needs...<br>
<br>
</span>Many thanks. That got me a lot further. I was following the instructions<br>
from <a href="https://www.digikam.org/download/GIT" rel="noreferrer" target="_blank">https://www.digikam.org/download/GIT</a> and that doesn't mention the<br>
.gitslave.devel bit.<br>
<br>
I've got to 93% building now but its is stopping on the facedetector<br>
build. Can anyone point me towards what is missing to stop the build<br>
working now. Last bit of the build log is below.<br>
<br>
Regards<br>
<br>
Richard<br>
<br>
<br>
[ 93%] Built target align<br>
[ 93%] Automatic moc for target detect<br>
[ 93%] Built target detect_automoc<br>
Linking CXX executable detect<br>
../../libs/facesengine/libdigikamfacesengine.a(facedetector.cpp.o): In<br>
function `FacesEngine::FaceDetector::detectFaces(QImage const&, QSize<br>
const&)':<br>
/home/laptop/Git/digikam/digikam-software-compilation/core/libs/facesengine/facedetector.cpp:166:<br>
undefined reference to `DIGIKAM_FACESENGINE_LOG()'<br>
/home/laptop/Git/digikam/digikam-software-compilation/core/libs/facesengine/facedetector.cpp:166:<br>
undefined reference to `DIGIKAM_FACESENGINE_LOG()'<br>
/home/laptop/Git/digikam/digikam-software-compilation/core/libs/facesengine/facedetector.cpp:170:<br>
undefined reference to `DIGIKAM_FACESENGINE_LOG()'<br>
/home/laptop/Git/digikam/digikam-software-compilation/core/libs/facesengine/facedetector.cpp:170:<br>
undefined reference to `DIGIKAM_FACESENGINE_LOG()'<br>
../../libs/facesengine/libdigikamfacesengine.a(facedetector.cpp.o): In<br>
function `FacesEngine::FaceDetector::Private::backend()':<br>
/home/laptop/Git/digikam/digikam-software-compilation/core/libs/facesengine/facedetector.cpp:65:<br>
undefined reference to `DIGIKAM_FACESENGINE_LOG()'<br>
../../libs/facesengine/libdigikamfacesengine.a(facedetector.cpp.o):/home/laptop/Git/digikam/digikam-software-compilation/core/libs/facesengine/facedetector.cpp:65:<br>
more undefined references to `DIGIKAM_FACESENGINE_LOG()' follow<br>
collect2: error: ld returned 1 exit status<br>
core/tests/facesengine/CMakeFiles/detect.dir/build.make:133: recipe for<br>
target 'core/tests/facesengine/detect' failed<br>
make[2]: *** [core/tests/facesengine/detect] Error 1<br>
CMakeFiles/Makefile2:15789: recipe for target<br>
'core/tests/facesengine/CMakeFiles/detect.dir/all' failed<br>
make[1]: *** [core/tests/facesengine/CMakeFiles/detect.dir/all] Error 2<br>
Makefile:126: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
Digikam-devel mailing list<br>
<a href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
</div></div></blockquote></div><br></div>