[Digikam-devel] Issues when compiling current svn
Gilles Caulier
caulier.gilles at gmail.com
Wed Dec 23 16:32:38 GMT 2009
2009/12/23 Arnd Baecker <arnd.baecker at web.de>:
> Hi all,
>
> first big congratulations for the release!
> Because of the recent additions, the svn version
> (of course, as always ;-) has not lost to be of interest...
>
> However, I encountered some issues along the way
> (using Qt 4.5.3
> 1.) kdegraphics:
> ./cmake-2.6.0-Linux-i386/bin/cmake
> -DCMAKE_INSTALL_PREFIX=$DIGIKAM4DEST
> -DCMAKE_INCLUDE_PATH=$DIGIKAM4DEST/include/:/home/myhome/NBB/SOFTWARE/Qt453/qt/include/Qt
> -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/myhome//NBB/SOFTWARE/Qt453/qt/bin/qmake
> ../../kdegraphics/
> leads to
> CMakeFiles/kdcraw.dir/dcrawsettingswidget.o: In function
> `KDcrawIface::DcrawSettingsWidget::setup(int)':
>
> /home/myhome/NBB/INSTALL_SOFTWARE/DIGIKAM4/kdegraphics/libs/libkdcraw/libkdcraw/dcrawsettingswidget.cpp:529:
> undefined reference to `qFlagLocation(char const*)'
>
> This problem can be overcome by adding -DCMAKE_BUILD_TYPE=Release
> as option to cmake.
>
> Does anyone have an idea, why there is a problem in the first place?
>
> 2.) Running cmake for digikam:
> a) -- cmake package FindIMLIB.cmake was not found. This package needs
> Imlib to be compile all program
>
No. This rule come from extragears/graphics/CMakeLists.txt. this is
not digiKam. We don't care about imlib. Open this file and comment the
right line. that all...
> b) CMake Error at cmake/modules/FindGraphViz.cmake:138 (MATH):
> math cannot parse the expression: "dot - Graphviz version 2.16 (Fri Feb
> 8
> 12:52:03 UTC 2008)
>
> *10000 + dot - Graphviz version 2.16 (Fri Feb 8 12:52:03 UTC 2008)
>
> *100 + dot - Graphviz version 2.16 (Fri Feb 8 12:52:03 UTC 2008)
>
> ": syntax error, unexpected exp_MINUS, expecting exp_OPENPARENT or
> exp_NUMBER (5)
> Call Stack (most recent call first):
> CMakeLists.txt:39 (find_package)
>
Same there. We don't care about Graphiz.
Sound like your root folder contentat graphics is outdated. I don't
have this problem there...
Gilles
More information about the Digikam-devel
mailing list