X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; q=dns; s=default; b=t7s6vB ON5u/4fpmFUsI4SOiOCyP/Qsw0x1bUfOn9o22DNJZV/d9ssYg3NCfJJTdOtUiLec Y1/tqC0ymPOEZZzGHiGIkTWpb0Ubwqgh+0OoCQJLB7rkdgnIWVSuxb+kUQW5DDzT N1bOd4vhdoJxWEvO6BdXyzxKhFWNpgXm9xgvY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; s=default; bh=e5ZcXNqcHdCe 5I3WvrLeI6ga/RU=; b=lVtdBlRSqagXmT8j0ylAwXwJxdQNP+KQF3cipRdyBImc SKp3s7jno1S3TaPgc9ct+5KteA+3BM+1jqpOkP03GCLROQR/jM2cl2MiNUAGsGeC 7eyTN7mNTQqzAJKTHPtKsQw0JPS45a2F9SgTFHh+/pgiXGLHhXVp1p6VFk0j2mY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f48.google.com X-Received: by 10.68.172.36 with SMTP id az4mr7996864pbc.48.1382183660293; Sat, 19 Oct 2013 04:54:20 -0700 (PDT) Message-ID: <526272DB.2020409@gmail.com> Date: Sat, 19 Oct 2013 19:54:03 +0800 From: JonY <10walls AT gmail DOT com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [x86_64] x86_64-w64-mingw32 compiler issue with wxWidgets References: <52625238 DOT 9020304 AT gmail DOT com> <52626F68 DOT 6070107 AT gmail DOT com> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mjuTlVwdnV23XHUljci68MoL4BKC4cXf4" X-IsSubscribed: yes --mjuTlVwdnV23XHUljci68MoL4BKC4cXf4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/19/2013 19:42, Fr=E9d=E9ric Bron wrote: > 2013/10/19 JonY <10walls AT gmail DOT com>: >> On 10/19/2013 18:25, Fr=E9d=E9ric 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_lib= uuid_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$FOL= DERID_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. >=20 > 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=E9d=E9ric >=20 Maybe your cross compiler did not have knownfolders.h? --mjuTlVwdnV23XHUljci68MoL4BKC4cXf4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (MingW32) iQIcBAEBAgAGBQJSYnLhAAoJEHE7X+KcFF1FXUwP/1sMIJ3XangEZ65SyasB8QdU aPsBtT/U8PMnvxR6gnn2Y/bvPlPViSIHTh0CA/nrlpo+Z8AgmwfdxKKN1o0w2gpa OGriH9Je+m7TOCjJwfYqcdM+uBh350k45qhWX20Bt+IzzotK98zGN/28Xj7NDzDG xf+P47AzBok5MNypMjYK8Vkv1VrBe/k4jQFEgQE8baJu5hff/9Kk/bpcVF9LW5MC jTbjW1T7WxxTHWMJ/q5674XKqZZHl5/WV14v1RIVnD4z0fI5LIhCz713DyMYYf1D qeXhSw7RHT+7ywnVx9VRERjpNa4DhDD/2y4U9pJrs2LgnLgnhAC4yLEK6FmOkO5V clNnU7kjbr/HRNZ5hPkbqreugo8/ZLaXDpAeiUpkORd4+bRBlGpV07JLwLsbHdia qnQGm4yw3vxNHnnRkK+ZPmFfxkWMOPHMfi/hDxhuLV03gAuDhUUNWhP2qbvJrpEJ 6YEXj9OzDI7Z/5No/pGK7qry0aZ3mgQnUl69RS0V9qGH7jTIpvzQACVtiCh8Bekb 0PoHQgpJHZGeUwrjcFD+FHqwA5osKc1Sg2EeyL6BfrI5y6A1lUtEyDqSb2P/S4u1 VVhgQSJzfHBS+71lY6TUR6gwVHdEIQg2wEJdDTkw4zIUxdrNqdzlsf0lu/BvBT/y h3TedmKdjwgcF9XzDqp1 =yfab -----END PGP SIGNATURE----- --mjuTlVwdnV23XHUljci68MoL4BKC4cXf4--