windows build compiler error

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

windows build compiler error

Gary Pajer
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 "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.

thanks,
gary

$ 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
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: windows build compiler error

Gilles Caulier-4
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 <[hidden email]>
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 "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.

thanks,
gary

$ 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
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: windows build compiler error

Gary Pajer
Thanks for the fast reply.  But your conclusion may be made too fast ...

I had a previous installation of MinGW on my system, and then I used the KDE installer to re-install it ... probably not a good idea.  So it's not a good idea to conclude from my experience that the installer is at fault.
(But it might be.)

I will uninstall MinGW, and then reinstall it using the MinGW installer, from the MinGW web site.  I'll let you know what happens.

-gary

On Sun, Nov 23, 2008 at 3:15 PM, Gilles Caulier <[hidden email]> wrote:
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 <[hidden email]>
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 "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.

thanks,
gary

$ 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
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: windows build compiler error

Gary Pajer


On Sun, Nov 23, 2008 at 4:20 PM, Gary Pajer <[hidden email]> wrote:
Thanks for the fast reply.  But your conclusion may be made too fast ...

I had a previous installation of MinGW on my system, and then I used the KDE installer to re-install it ... probably not a good idea.  So it's not a good idea to conclude from my experience that the installer is at fault.
(But it might be.)

I will uninstall MinGW, and then reinstall it using the MinGW installer, from the MinGW web site.  I'll let you know what happens.

-gary

I removed MSYS and MinGW, and then reinstalled MinGW (but not MSYS) including MinGW make from the latest installer from the MinGW website.

Same error.   This is MinGW 3.4.5


 


On Sun, Nov 23, 2008 at 3:15 PM, Gilles Caulier <[hidden email]> wrote:
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 <[hidden email]>
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 "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.

thanks,
gary

$ 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
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users




_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: windows build compiler error

Gilles Caulier-4


2008/11/23 Gary Pajer <[hidden email]>


On Sun, Nov 23, 2008 at 4:20 PM, Gary Pajer <[hidden email]> wrote:
Thanks for the fast reply.  But your conclusion may be made too fast ...

I had a previous installation of MinGW on my system, and then I used the KDE installer to re-install it ... probably not a good idea.  So it's not a good idea to conclude from my experience that the installer is at fault.
(But it might be.)

I will uninstall MinGW, and then reinstall it using the MinGW installer, from the MinGW web site.  I'll let you know what happens.

-gary

I removed MSYS and MinGW, and then reinstalled MinGW (but not MSYS) including MinGW make from the latest installer from the MinGW website.

Same error.   This is MinGW 3.4.5


Here :

http://digikam3rdparty.free.fr/misc.tarballs/MinGW5.1.4ok

You will find a 7zip archive of my MinGw 5.1.4 which run like a charm. Just uncompress it and overwrite you current MinGW folder.

Gilles

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: windows build compiler error

Patrick Spendrin-2
In reply to this post by Gilles Caulier-4
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 <[hidden email] <mailto:[hidden email]>>
>
>     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
>     [hidden email] <mailto:[hidden email]>
>     https://mail.kde.org/mailman/listinfo/digikam-users
>
>

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: windows build compiler error

Gary Pajer
In reply to this post by Gilles Caulier-4
On Sun, Nov 23, 2008 at 4:37 PM, Gilles Caulier <[hidden email]> wrote:


2008/11/23 Gary Pajer <[hidden email]>


On Sun, Nov 23, 2008 at 4:20 PM, Gary Pajer <[hidden email]> wrote:
Thanks for the fast reply.  But your conclusion may be made too fast ...

I had a previous installation of MinGW on my system, and then I used the KDE installer to re-install it ... probably not a good idea.  So it's not a good idea to conclude from my experience that the installer is at fault.
(But it might be.)

I will uninstall MinGW, and then reinstall it using the MinGW installer, from the MinGW web site.  I'll let you know what happens.

-gary

I removed MSYS and MinGW, and then reinstalled MinGW (but not MSYS) including MinGW make from the latest installer from the MinGW website.

Same error.   This is MinGW 3.4.5


Here :

http://digikam3rdparty.free.fr/misc.tarballs/MinGW5.1.4ok

You will find a 7zip archive of my MinGw 5.1.4 which run like a charm. Just uncompress it and overwrite you current MinGW folder.

Gilles


Thank you!
automoc compiles and installs without error.

Next step:  libkdcraw (etc.)
I got myself to ...\kdegraphics and executed .\bootstrap, and things seem to go well.
I don't know where to go next.
"make" doesn't work (finds no instructions) if started in any of the following directories:  ...\kdegraphics,  ...\kdegraphics\libs, or ...\kdegraphics\libs\libkdcraw.

I've tried running .\bootstrap from ...\kdegraphics\libs\libkdcraw, and it fails looking for FindLCMS.cmake.    I think I am not understanding which directories I should be doing what in.

1.  Which directory/directories should I execute .\bootstrap in?
2.  Once that is done, in which directories should I make / make install?

Thanks very much,
gary



 

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: windows build compiler error

Gilles Caulier-4


2008/11/23 Gary Pajer <[hidden email]>
On Sun, Nov 23, 2008 at 4:37 PM, Gilles Caulier <[hidden email]> wrote:


2008/11/23 Gary Pajer <[hidden email]>


On Sun, Nov 23, 2008 at 4:20 PM, Gary Pajer <[hidden email]> wrote:
Thanks for the fast reply.  But your conclusion may be made too fast ...

I had a previous installation of MinGW on my system, and then I used the KDE installer to re-install it ... probably not a good idea.  So it's not a good idea to conclude from my experience that the installer is at fault.
(But it might be.)

I will uninstall MinGW, and then reinstall it using the MinGW installer, from the MinGW web site.  I'll let you know what happens.

-gary

I removed MSYS and MinGW, and then reinstalled MinGW (but not MSYS) including MinGW make from the latest installer from the MinGW website.

Same error.   This is MinGW 3.4.5


Here :

http://digikam3rdparty.free.fr/misc.tarballs/MinGW5.1.4ok

You will find a 7zip archive of my MinGw 5.1.4 which run like a charm. Just uncompress it and overwrite you current MinGW folder.

Gilles


Thank you!
automoc compiles and installs without error.

Next step:  libkdcraw (etc.)
I got myself to ...\kdegraphics and executed .\bootstrap, and things seem to go well.
I don't know where to go next.
"make" doesn't work (finds no instructions) if started in any of the following directories:  ...\kdegraphics,  ...\kdegraphics\libs, or ...\kdegraphics\libs\libkdcraw.

I've tried running .\bootstrap from ...\kdegraphics\libs\libkdcraw, and it fails looking for FindLCMS.cmake.    I think I am not understanding which directories I should be doing what in.

1.  Which directory/directories should I execute .\bootstrap in?
2.  Once that is done, in which directories should I make / make install?

Thanks very much,
gary



bootstrap script must be executed on the root folder of source code:

For libkdcraw/libkexiv2/likipi, you extract kdegraphics repository and you run script in kdegraphics dir, not libs, not libkdcraw, etc... Why ? because there are some important directive for cmake included on file CMakeLists.txt

For digiKam and kipi-plugins, it's the same. You extract extragear/graphics and you run bootstrap script in graphics dir...


Gilles Caulier
 


 

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: windows build compiler error

Gary Pajer
On Mon, Nov 24, 2008 at 2:54 AM, Gilles Caulier <[hidden email]> wrote:


2008/11/23 Gary Pajer <[hidden email]>
On Sun, Nov 23, 2008 at 4:37 PM, Gilles Caulier <[hidden email]> wrote:


2008/11/23 Gary Pajer <[hidden email]>


On Sun, Nov 23, 2008 at 4:20 PM, Gary Pajer <[hidden email]> wrote:
Thanks for the fast reply.  But your conclusion may be made too fast ...

I had a previous installation of MinGW on my system, and then I used the KDE installer to re-install it ... probably not a good idea.  So it's not a good idea to conclude from my experience that the installer is at fault.
(But it might be.)

I will uninstall MinGW, and then reinstall it using the MinGW installer, from the MinGW web site.  I'll let you know what happens.

-gary

I removed MSYS and MinGW, and then reinstalled MinGW (but not MSYS) including MinGW make from the latest installer from the MinGW website.

Same error.   This is MinGW 3.4.5


Here :

http://digikam3rdparty.free.fr/misc.tarballs/MinGW5.1.4ok

You will find a 7zip archive of my MinGw 5.1.4 which run like a charm. Just uncompress it and overwrite you current MinGW folder.

Gilles


Thank you!
automoc compiles and installs without error.

Next step:  libkdcraw (etc.)
I got myself to ...\kdegraphics and executed .\bootstrap, and things seem to go well.
I don't know where to go next.
"make" doesn't work (finds no instructions) if started in any of the following directories:  ...\kdegraphics,  ...\kdegraphics\libs, or ...\kdegraphics\libs\libkdcraw.

I've tried running .\bootstrap from ...\kdegraphics\libs\libkdcraw, and it fails looking for FindLCMS.cmake.    I think I am not understanding which directories I should be doing what in.

1.  Which directory/directories should I execute .\bootstrap in?
2.  Once that is done, in which directories should I make / make install?

Thanks very much,
gary



bootstrap script must be executed on the root folder of source code:

For libkdcraw/libkexiv2/likipi, you extract kdegraphics repository and you run script in kdegraphics dir, not libs, not libkdcraw, etc... Why ? because there are some important directive for cmake included on file CMakeLists.txt

For digiKam and kipi-plugins, it's the same. You extract extragear/graphics and you run bootstrap script in graphics dir...


Gilles Caulier
 

Thanks yet again for your help, patience, and software.

I now have a working digiKam 0.10.0-beta6 on WinXP !

There were a few more glitches along the way:  make couldn't find my perl.   I don't remember if the KDE installer installs perl.  If so, it might have not played nice with my existing perl.  Or perhaps my existing perl was just too old.  In any even, I uninstalled/reinstalled perl, and the problem went away.

Then part way through the compile,  Windows went batty.  Lots of system errors and compiler errors. Memory leak?  Reboot, continue.   No further problems.

digikam seems to be working fine, although it is a bit sluggish.  I have to wait a couple of seconds after clicking anything. 

Regards and thanks again,
gary



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users