[Digikam-users] windows build compiler error
Patrick Spendrin
patrick_spendrin at gmx.de
Sun Nov 23 22:14:24 GMT 2008
Gilles Caulier schrieb:
> Ah,
>
> Wonderfull. this is duing to a broken MinGW compiler install on your
> computer. I have already lost a waste of time about...
>
> I have reported this problem to Patrick who maintains KDE Windows project.
>
> Here, i have a version of MinGW compiler which work perfectly. I can
> send you an archive. But the best way is to solve the real problem with
> KDE installer.
>
> I CC Patrick to guide you (I'm not sure if he is registered to this ML)
>
> Best
>
> Gilles Caulier
>
> 2008/11/23 Gary Pajer <gary.pajer at gmail.com <mailto:gary.pajer at gmail.com>>
>
> I've been following these very useful instructions:
> http://www.digikam.org/drupal/node/402
>
> I've managed to figure out a few things that were a little fuzzy to
> me, but I'm stuck on a compilation issue.
>
> Trying to compile automoc. cmake seems to run ok. If I issue a
what do you mean by cmake seems to run ok? Can you please give us the
output of it? Before doing so: please empty the build directory and
simply start new.
> "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
This seems to make no sense, so rather I'd like to know why this happens.
> 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.
MSYS is a different environment that is not needed (and very likely not
usable) to compile KDE. So that doesn't bring to much.
>
> thanks,
> gary
regards,
Patrick
>
> $ ming32-make
> [100%] Building CXX object CMakeFiles/automoc4.dir/kde4automoc.obj
> In file included from
> c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/postypes.h:46,
> from
> c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iosfwd:50,
> from
> c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_algobase.h:70,
> from
> c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/char_traits.h:46,
> from
> c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/string:47,
> from c:/KDE4/bin/../include/QtCore/qstring.h:56,
> from c:/KDE4/bin/../include/QtCore/qobject.h:44,
> from
> c:/KDE4/bin/../include/QtCore/qcoreapplication.h:41,
> from c:/KDE4/bin/../include/QtCore/QCoreApplication:1,
> from
> c:/KDE4/src/automoc-mingw-0.9.87-1/kde4automoc.cpp:26:
> c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/cwchar:161:
> error: `::swprintf' has not been declared
> c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/cwchar:168:
> error: `::vswprintf' has not been declared
> In file included from
> c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h:50,
> from
> c:/KDE4/src/automoc-mingw-0.9.87-1/kde4automoc.cpp:44:
> 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
> c:/KDE4/bin/../include/QtCore/qatomic_windows.h:387: error: previous
> declaration `long int InterlockedCompareExchange(long int*, long
> int, long int)' here
> c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1667:
> error: declaration of C function `LONG InterlockedDecrement(volatile
> LONG*)' conflicts with
> c:/KDE4/bin/../include/QtCore/qatomic_windows.h:389: error: previous
> declaration `long int InterlockedDecrement(long int*)' here
> 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
> c:/KDE4/bin/../include/QtCore/qatomic_windows.h:390: error: previous
> declaration `long int InterlockedExchange(long int*, long int)' here
> 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
> c:/KDE4/bin/../include/QtCore/qatomic_windows.h:391: error: previous
> declaration `long int InterlockedExchangeAdd(long int*, long int)' here
> c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1676:
> error: declaration of C function `LONG InterlockedIncrement(volatile
> LONG*)' conflicts with
> c:/KDE4/bin/../include/QtCore/qatomic_windows.h:388: error: previous
> declaration `long int InterlockedIncrement(long int*)' here
> ming32-make[2]: *** [CMakeFiles/automoc4.dir/kde4automoc.obj] Error 1
> ming32-make[1]: *** [CMakeFiles/automoc4.dir/all] Error 2
> ming32-make: *** [all] Error 2
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org <mailto:Digikam-users at kde.org>
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
More information about the Digikam-users
mailing list