[Digikam-devel] Problems building digikam from trunk

Philippe Arnone philippe at arnone.org
Wed Feb 13 21:55:21 GMT 2008


Le Wednesday 13 February 2008 22:44:39 Angelo Naselli, vous avez écrit :
> > > Any help?
> >
> > This has to do with you KDE4 installation, Angelo, cmake does not find
> > the macros that come with KDE4 like macro_optional_find_package. Find
> > these macros and link that directory into the cmake macro folder (anyway,
> > that's the way I solved it for me).
>
> Thanks Gerhard, but i cannot understand what i've missed :/
> If you know which file contains that macro i can try to find the right
> package or where should it be...

Hi Angelo,

I have exactly the same problem. As workaround, I commented two lines in extragear/graphics/CMakeLists.txt. Here is the diff

--- CMakeLists.txt      (révision 774217)
+++ CMakeLists.txt      (copie de travail)
@@ -10,11 +10,11 @@

 macro_optional_find_package(OpenGL)
 macro_optional_find_package(Freetype)
-macro_optional_find_package(IMLIB)
+#macro_optional_find_package(IMLIB)
 macro_optional_find_package(Boost)

 MACRO_LOG_FEATURE(OPENGL_FOUND "libopengl" "OpenGL lib is needed to build the kpovmodeler project" "http://www.X.org/" FALSE "" "")
-MACRO_LOG_FEATURE(IMLIB_FOUND "imlib" "imlib is needed to build kuickshow project" "http://freshmeat.net/projects/imlib/" FALSE "" "")
+#MACRO_LOG_FEATURE(IMLIB_FOUND "imlib" "imlib is needed to build kuickshow project" "http://freshmeat.net/projects/imlib/" FALSE "" "")

 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DHAVE_CONFIG_H=1)
 include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})

I hope it will solve your problem

Philippe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20080213/212fae3d/attachment.sig>


More information about the Digikam-devel mailing list