Error while building

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error while building

Swati Lodha
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.

 

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] Error while building

Gilles Caulier-4
Strange. Here i can reproduce under Linux, OSX and Windows (through MXE/Mingw)

Did you use 32 or 64 computer ?

Gilles Caulier

2016-05-20 2:07 GMT+02:00 Swati Lodha <[hidden email]>:
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.

 

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users