[digikam] [Bug 357466] New: When compiling with tests undefined reference to `DIGIKAM_FACESENGINE_LOG()

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

[digikam] [Bug 357466] New: When compiling with tests undefined reference to `DIGIKAM_FACESENGINE_LOG()

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=357466

            Bug ID: 357466
           Summary: When compiling with tests undefined reference to
                    `DIGIKAM_FACESENGINE_LOG()
           Product: digikam
           Version: 5.0.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Faces-Engine
          Assignee: [hidden email]
          Reporter: [hidden email]

Created attachment 96425
  --> https://bugs.kde.org/attachment.cgi?id=96425&action=edit
Patch

When compiling digikam with tests enabled, -DBUILD_TESTING=ON

:
:
[100%] Built target digikam
[100%] [100%] Built target testdatabase
[100%] Built target IOJobsTest
Built target renamecustomizertest
[100%] Built target databasefieldstest
[100%] Built target albummodeltest
../../libs/facesengine/libdigikamfacesengine.a(facedetector.cpp.o): In function
`FacesEngine::FaceDetector::detectFaces(QImage const&, QSize const&)':
/home/krikar/dev/kde/digikam/core/libs/facesengine/facedetector.cpp:166:
undefined reference to `DIGIKAM_FACESENGINE_LOG()'
/home/krikar/dev/kde/digikam/core/libs/facesengine/facedetector.cpp:166:
undefined reference to `DIGIKAM_FACESENGINE_LOG()'
/home/krikar/dev/kde/digikam/core/libs/facesengine/facedetector.cpp:170:
undefined reference to `DIGIKAM_FACESENGINE_LOG()'
/home/krikar/dev/kde/digikam/core/libs/facesengine/facedetector.cpp:170:
undefined reference to `DIGIKAM_FACESENGINE_LOG()'
../../libs/facesengine/libdigikamfacesengine.a(facedetector.cpp.o): In function
`FacesEngine::FaceDetector::Private::backend()':
/home/krikar/dev/kde/digikam/core/libs/facesengine/facedetector.cpp:65:
undefined reference to `DIGIKAM_FACESENGINE_LOG()'
../../libs/facesengine/libdigikamfacesengine.a(facedetector.cpp.o):/home/krikar/dev/kde/digikam/core/libs/facesengine/facedetector.cpp:65:
more undefined references to `DIGIKAM_FACESENGINE_LOG()' follow
collect2: error: ld returned 1 exit status
core/tests/facesengine/CMakeFiles/detect.dir/build.make:133: recipe for target
'core/tests/facesengine/detect' failed
make[2]: *** [core/tests/facesengine/detect] Error 1
CMakeFiles/Makefile2:13265: recipe for target
'core/tests/facesengine/CMakeFiles/detect.dir/all' failed
make[1]: *** [core/tests/facesengine/CMakeFiles/detect.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2


Applying attached patch will fix the linking problem.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 357466] Compile time error: undefined reference to `DIGIKAM_FACESENGINE_LOG()

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=357466

Kristian Karl <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|When compiling with tests   |Compile time error:
                   |undefined reference to      |undefined reference to
                   |`DIGIKAM_FACESENGINE_LOG()  |`DIGIKAM_FACESENGINE_LOG()

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 357466] Compile time error: undefined reference to DIGIKAM_FACESENGINE_LOG()

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=357466

Kristian Karl <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Compile time error:         |Compile time error:
                   |undefined reference to      |undefined reference to
                   |`DIGIKAM_FACESENGINE_LOG()  |DIGIKAM_FACESENGINE_LOG()

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 357466] Compile time error: undefined reference to DIGIKAM_FACESENGINE_LOG()

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=357466

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/96b8574419fefa0feb3082f
                   |                            |75e091167ac9565ce
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.0.0

--- Comment #1 from [hidden email] ---
Git commit 96b8574419fefa0feb3082f75e091167ac9565ce by Gilles Caulier.
Committed on 03/01/2016 at 12:10.
Pushed by cgilles into branch 'master'.

apply patch #96425
FIXED-IN: 5.0.0

M  +6    -0    tests/facesengine/CMakeLists.txt

http://commits.kde.org/digikam/96b8574419fefa0feb3082f75e091167ac9565ce

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel