[x86_64] x86_64-w64-mingw32 compiler issue with wxWidgets
JonY
10walls@gmail.com
Sat Oct 19 14:44:00 GMT 2013
On 10/19/2013 19:42, Frédéric Bron wrote:
> 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
>
Maybe your cross compiler did not have knownfolders.h?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20131019/2fe0c768/attachment.sig>
More information about the Cygwin
mailing list