I've been following these very useful instructions:<br><a href="http://www.digikam.org/drupal/node/402">http://www.digikam.org/drupal/node/402</a><br><br>I've managed to figure out a few things that were a little fuzzy to me, but I'm stuck on a compilation issue.<br>
<br>Trying to compile automoc.  cmake seems to run ok.  If I issue a "ming32-make" from a Win cmd window, my prompt returns silently with no evident activity.  Not sure what that's all about.  So I tried from a MSYS window, and things progress, but I get an error.  I do not program in c, so I don't know where to start looking for the solution.<br>
<br>thanks,<br>gary<br><br>$ ming32-make<br>[100%] Building CXX object CMakeFiles/automoc4.dir/kde4automoc.obj<br>In file included from c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/postypes.h:46,<br>
                 from c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iosfwd:50,<br>                 from c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_algobase.h:70,<br>
                 from c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/char_traits.h:46,<br>                 from c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/string:47,<br>                 from c:/KDE4/bin/../include/QtCore/qstring.h:56,<br>
                 from c:/KDE4/bin/../include/QtCore/qobject.h:44,<br>                 from c:/KDE4/bin/../include/QtCore/qcoreapplication.h:41,<br>                 from c:/KDE4/bin/../include/QtCore/QCoreApplication:1,<br>
                 from c:/KDE4/src/automoc-mingw-0.9.87-1/kde4automoc.cpp:26:<br>c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/cwchar:161: error: `::swprintf' has not been declared<br>c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/cwchar:168: error: `::vswprintf' has not been declared<br>
In file included from c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h:50,<br>                 from c:/KDE4/src/automoc-mingw-0.9.87-1/kde4automoc.cpp:44:<br>c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1663: error: declaration of C function `LONG InterlockedCompareExchange(volatile LONG*, LONG, LONG)' conflicts with<br>
c:/KDE4/bin/../include/QtCore/qatomic_windows.h:387: error: previous declaration `long int InterlockedCompareExchange(long int*, long int, long int)' here<br>c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1667: error: declaration of C function `LONG InterlockedDecrement(volatile LONG*)' conflicts with<br>
c:/KDE4/bin/../include/QtCore/qatomic_windows.h:389: error: previous declaration `long int InterlockedDecrement(long int*)' here<br>c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1668: error: declaration of C function `LONG InterlockedExchange(volatile LONG*, LONG)' conflicts with<br>
c:/KDE4/bin/../include/QtCore/qatomic_windows.h:390: error: previous declaration `long int InterlockedExchange(long int*, long int)' here<br>c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1672: error: declaration of C function `LONG InterlockedExchangeAdd(volatile LONG*, LONG)' conflicts with<br>
c:/KDE4/bin/../include/QtCore/qatomic_windows.h:391: error: previous declaration `long int InterlockedExchangeAdd(long int*, long int)' here<br>c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1676: error: declaration of C function `LONG InterlockedIncrement(volatile LONG*)' conflicts with<br>
c:/KDE4/bin/../include/QtCore/qatomic_windows.h:388: error: previous declaration `long int InterlockedIncrement(long int*)' here<br>ming32-make[2]: *** [CMakeFiles/automoc4.dir/kde4automoc.obj] Error 1<br>ming32-make[1]: *** [CMakeFiles/automoc4.dir/all] Error 2<br>
ming32-make: *** [all] Error 2<br><br>