<html>
<body>
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?<br><br>
Thanks in advance,<br><br>
Francis<br><br>
<tt><font face="Lucida Console" size=1>[ 12%] Building CXX object
libs/libkdcraw/libkdcraw/CMakeFiles/kdcraw.dir/__/libraw/internal/dcraw_common.obj<br>
In file included from
e:\kde4-tdmgcc\bin\../lib/gcc/mingw32/4.5.1/../../../../include/lcms.h:185:0,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from
E:\dev-dmgcc\kdegraphics\libs\libkdcraw\libraw/internal/defines.h:54,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from
E:\dev-tdmgcc\kdegraphics\libs\libkdcraw\libraw\internal\dcraw_common.cpp:29:<br>
E:\kde4-tdmgcc\include\mingw/unistd.h:119:44: <br>
error: declaration of C function 'void usleep(unsigned int)' conflicts
with<br>
e:\kde4-tdmgcc\bin\../lib/gcc/mingw32/4.5.1/../../../../include/../include/unistd.h:36:29:
<br>
error: previous declaration 'int usleep(useconds_t)' here<br>
make[2]: ***
[libs/libkdcraw/libkdcraw/CMakeFiles/kdcraw.dir/__/libraw/internal/dcraw_common.obj]
Error 1<br>
make[1]: *** [libs/libkdcraw/libkdcraw/CMakeFiles/kdcraw.dir/all] Error
2<br>
make: *** [all] Error 2<br><br>
</font></tt>At 2010-10-24 11:57, Gilles Caulier wrote:<br>
<blockquote type=cite class=cite cite="">Tutorial is not updated. I
recommend to use TDM-GCC instead mingw. It<br>
work very well and it's very easy to install. Also, TDM-GCC it GCC<br>
4.5.x.<br><br>
Gilles Caulier</blockquote></body>
</html>