This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [x86_64] x86_64-w64-mingw32 compiler issue with wxWidgets
- From: Frédéric Bron <frederic dot bron at m4x dot org>
- To: cygwin <cygwin at cygwin dot com>
- Date: Sat, 19 Oct 2013 13:42:48 +0200
- Subject: Re: [x86_64] x86_64-w64-mingw32 compiler issue with wxWidgets
- Authentication-results: sourceware.org; auth=none
- References: <CAPw2spjBZUJrOfyGSD6LPSd-wt-ECq7aA78am4v=7OUxwWpMZg at mail dot gmail dot com> <52625238 dot 9020304 at gmail dot com> <CAPw2spgZBdkJrgQ5nFhD5+yXJxP_S+_+3t=R62mZVDHSNGdARw at mail dot gmail dot com> <52626F68 dot 6070107 at gmail dot com>
2013/10/19 JonY <10walls@gmail.com>:
> On 10/19/2013 18:25, Frédéric Bron wrote:
>>>> I have used x86_64-w64-mingw32-g++ (4.8.1) cross compiler from
>>>> cygwin64 to build wxWidgets (2.9.5 with some patches). When I link to
>>>> my project, I get a lot of errors like:
>>>> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libuuid.a(lib64_libuuid_a-uuid.o):uuid.c:(.rdata+0x0):
>>>> multiple definition of `FOLDERID_Windows'
>>>> /cygdrive/c/Softs/mingw64-4.8.1-c++98-release/wx/lib/libwx_mswu_core-2.9-x86_64-w64-mingw32.a(corelib_msw_textentry.o):textentry.cpp:(.rdata$FOLDERID_Windows[FOLDERID_Windows]+0x0)>
>>>>
>>>
>>> Please show your error message exactly, do not omit anything, show
>>> everything.
>>
>> Please see attached file.
>>
>
> It looks like a bug in wxwidgets, don't define INITGUID if you can't
> handle the multiple defines.
thanks, I will transfer to wxwidgets list.
However, what difference between the cygwin cross compiler and the one
I have built on linux? Same 4.8.1 gcc version. I used 3.0.0 w64
library.
Regards,
Frédéric
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple