[Digikam-users] Error while building

Swati Lodha swatilodha27 at gmail.com
Fri May 20 01:07:15 BST 2016


Hello

I'm trying to build digiKam and I'm receiving this error as I run [make]
command:

CMakeFiles/cameranamehelpertest.dir/cameranamehelpertest.cpp.o: In function
> `CameraNameHelperTest::testCreateCameraName()':
> /home/swati/dk/core/tests/advancedrename/cameranamehelpertest.cpp:94:
> undefined reference to `Digikam::CameraNameHelper::createCameraName(QString
> con
> st&, QString const&, QString const&, bool)'
> CMakeFiles/cameranamehelpertest.dir/cameranamehelpertest.cpp.o: In
> function `CameraNameHelperTest::testCameraName()':
> /home/swati/dk/core/tests/advancedrename/cameranamehelpertest.cpp:127:
> undefined reference to `Digikam::CameraNameHelper::cameraName(QString
> const&)'
> CMakeFiles/cameranamehelpertest.dir/cameranamehelpertest.cpp.o: In
> function `CameraNameHelperTest::testCameraNameAutoDetected()':
> /home/swati/dk/core/tests/advancedrename/cameranamehelpertest.cpp:147:
> undefined reference to
> `Digikam::CameraNameHelper::cameraNameAutoDetected(QStr
> ing const&)'
> CMakeFiles/cameranamehelpertest.dir/cameranamehelpertest.cpp.o: In
> function `CameraNameHelperTest::testSameDevices()':
> /home/swati/dk/core/tests/advancedrename/cameranamehelpertest.cpp:156:
> undefined reference to `Digikam::CameraNameHelper::sameDevices(QString
> const&,
> QString const&)'
> collect2: error: ld returned 1 exit status
> core/tests/advancedrename/CMakeFiles/cameranamehelpertest.dir/build.make:161:
> recipe for target 'core/tests/advancedrename/cameranamehelpertest' fail
> ed
> make[2]: *** [core/tests/advancedrename/cameranamehelpertest] Error 1
> CMakeFiles/Makefile2:13367: recipe for target
> 'core/tests/advancedrename/CMakeFiles/cameranamehelpertest.dir/all' failed
> make[1]: ***
> [core/tests/advancedrename/CMakeFiles/cameranamehelpertest.dir/all] Error 2
> Makefile:138: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
Please help to fix this.


ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20160520/e11259be/attachment.html>


More information about the Digikam-users mailing list