[Digikam-devel] [digikamimageplugins] [Bug 323284] Compile 3.3.0 failed - lensfuniface.cpp undefined reference

flo flmahe2 at free.fr
Sat Aug 17 17:49:58 BST 2013


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

flo <flmahe2 at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |flmahe2 at free.fr

--- Comment #9 from flo <flmahe2 at free.fr> ---
I have similar problem with lensfun when compile under Slackware 14.
I resolve it by,  rebuilding lensfun with CMake instead configure (maybe
unnecessary), and by applying this patch on Digikam :

diff -Nur digikam-3.3.0.orig/core/digikam/CMakeLists.txt
digikam-3.3.0/core/digikam/CMakeLists.txt
--- digikam-3.3.0.orig/core/digikam/CMakeLists.txt    2013-08-05
00:40:53.000000000 +0200
+++ digikam-3.3.0/core/digikam/CMakeLists.txt    2013-08-17 11:14:59.000000000
+0200
@@ -119,9 +119,17 @@

 # For Contents Aware Resizer and Lens auto-correction tools.
 IF(GLIB2_FOUND)
-    TARGET_LINK_LIBRARIES(digikamcore ${GLIB2_LIBRARIES} ${liblqr_LIBS}
${liblensfun_LIBS})
+    TARGET_LINK_LIBRARIES(digikamcore ${GLIB2_LIBRARIES})
 ENDIF(GLIB2_FOUND)

+IF(LENSFUN_FOUND)
+   TARGET_LINK_LIBRARIES(digikamcore ${LENSFUN_LIBRARIES})
+ENDIF(LENSFUN_FOUND)
+
+IF(LQR-1_FOUND)
+   TARGET_LINK_LIBRARIES(digikamcore ${liblqr_LIBS})
+ENDIF(LQR-1_FOUND)   
+
 SET_TARGET_PROPERTIES(digikamcore PROPERTIES VERSION 3.0.0 SOVERSION 3)

 IF(WIN32)

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list