Problem compiling Digikam with mingw
Francis Corvin
francis_ at gmx.net
Mon Oct 25 00:06:38 CEST 2010
That''s great Gilles. Indeed, I went a little further, but this time
hit what looks like a source code issue: usleep() declared twice with
different types. Can anyone suggest a resolution?
Thanks in advance,
Francis
[ 12%] Building CXX object
libs/libkdcraw/libkdcraw/CMakeFiles/kdcraw.dir/__/libraw/internal/dcraw_common.obj
In file included from
e:\kde4-tdmgcc\bin\../lib/gcc/mingw32/4.5.1/../../../../include/lcms.h:185:0,
from
E:\dev-dmgcc\kdegraphics\libs\libkdcraw\libraw/internal/defines.h:54,
from
E:\dev-tdmgcc\kdegraphics\libs\libkdcraw\libraw\internal\dcraw_common.cpp:29:
E:\kde4-tdmgcc\include\mingw/unistd.h:119:44:
error: declaration of C function 'void usleep(unsigned int)' conflicts with
e:\kde4-tdmgcc\bin\../lib/gcc/mingw32/4.5.1/../../../../include/../include/unistd.h:36:29:
error: previous declaration 'int usleep(useconds_t)' here
make[2]: ***
[libs/libkdcraw/libkdcraw/CMakeFiles/kdcraw.dir/__/libraw/internal/dcraw_common.obj]
Error 1
make[1]: *** [libs/libkdcraw/libkdcraw/CMakeFiles/kdcraw.dir/all] Error 2
make: *** [all] Error 2
At 2010-10-24 11:57, Gilles Caulier wrote:
>Tutorial is not updated. I recommend to use TDM-GCC instead mingw. It
>work very well and it's very easy to install. Also, TDM-GCC it GCC
>4.5.x.
>
>Gilles Caulier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-windows/attachments/20101024/0ed09521/attachment.htm
More information about the Kde-windows
mailing list