This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [x86_64] x86_64-w64-mingw32 compiler issue with wxWidgets


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?




Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]