Received: from relay.mailchannels.net (relay.mailchannels.net [23.83.212.3]) by mx.groups.io with SMTP id smtpd.web12.4554.1587569925541086966 for ; Wed, 22 Apr 2020 08:38:46 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=softfail (domain: idplus.org.mx, ip: 23.83.212.3, mailfrom: d.fourdrigniez@idplus.org.mx) X-Sender-Id: neubox|x-authuser|d.fourdrigniez@idplus.org.mx Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id DCCC1100DBC; Wed, 22 Apr 2020 15:38:36 +0000 (UTC) Received: from hv35svg136.neubox.net (100-96-14-13.trex.outbound.svc.cluster.local [100.96.14.13]) (Authenticated sender: Neubox) by relay.mailchannels.net (Postfix) with ESMTPA id 2E90010032E; Wed, 22 Apr 2020 15:38:35 +0000 (UTC) X-Sender-Id: neubox|x-authuser|d.fourdrigniez@idplus.org.mx Received: from hv35svg136.neubox.net (hv35svg136.neubox.net [65.99.252.218]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.6); Wed, 22 Apr 2020 15:38:36 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: neubox|x-authuser|d.fourdrigniez@idplus.org.mx X-MailChannels-Auth-Id: Neubox X-Blushing-Slimy: 650210d20b1fd8ea_1587569916682_1668467398 X-MC-Loop-Signature: 1587569916682:4049582815 X-MC-Ingress-Time: 1587569916682 Received: from [201.103.223.68] (port=63521 helo=LAPTOPDAVID) by hv35svg136.neubox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jRHSM-0000WE-3y; Wed, 22 Apr 2020 10:38:34 -0500 From: "David Fz" To: "'Joshua Watt'" Cc: "'Samuli Piippo'" , References: <002301d61806$afd72030$0f856090$@idplus.org.mx> <085e51b2-4740-e41a-c7df-f0449b5ffb28@gmail.com> In-Reply-To: <085e51b2-4740-e41a-c7df-f0449b5ffb28@gmail.com> Subject: Re: [Yocto] Building Qt5 toolchain for windows Date: Wed, 22 Apr 2020 10:38:32 -0500 Message-ID: <000a01d618bc$150e5f30$3f2b1d90$@idplus.org.mx> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGE+h3gDPry1xy7JbW0hCu7mokelwJ0i2SWqRPc6VA= X-AuthUser: d.fourdrigniez@idplus.org.mx Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01D61892.2C39DDD0" Content-Language: fr ------=_NextPart_000_000B_01D61892.2C39DDD0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello Joshua, Thank you for your reply, Just for information, I put the following parameters in local.conf MACHINE ?= "qemuarm" SDKMACHINE = "i686-mingw32" IMAGE_INSTALL_append = " gcc g++ binutils libgcc-dev libstdc++ libstdc++-dev libstdc++-staticdev qtbase qtcharts qtconnectivity qtdeclarative qtenginio qtgraphicaleffects qtlocation qtmultimedia qtscript qtsensors qtserialport qtsystems qttools qttranslations qtvirtualkeyboard qtwebsockets qtxmlpatterns openssh-sftp-server gdb gdbserver" And here is the error I get when I run the command: bitbake meta-toolchain-qt5 | In file included from /home/david/yocto/poky/build/tmp/work/i686-nativesdk-mingw32-pokysdk-mingw32 /nativesdk-qtbase/5.13.2+gitAUTOINC+a7a24784ee-r0/recipe-sysroot/opt/poky/3. 0.2/sysroots/i686-pokysdk-mingw32/usr/include/winbase.h:18, | from /home/david/yocto/poky/build/tmp/work/i686-nativesdk-mingw32-pokysdk-mingw32 /nativesdk-qtbase/5.13.2+gitAUTOINC+a7a24784ee-r0/recipe-sysroot/opt/poky/3. 0.2/sysroots/i686-pokysdk-mingw32/usr/include/windows.h:70, | from /home/david/yocto/poky/build/tmp/work/i686-nativesdk-mingw32-pokysdk-mingw32 /nativesdk-qtbase/5.13.2+gitAUTOINC+a7a24784ee-r0/git/qmake/library/ioutils. cpp:35: | /home/david/yocto/poky/build/tmp/work/i686-nativesdk-mingw32-pokysdk-mingw32 /nativesdk-qtbase/5.13.2+gitAUTOINC+a7a24784ee-r0/recipe-sysroot/opt/poky/3. 0.2/sysroots/i686-pokysdk-mingw32/usr/include/fileapi.h:53:48: note: initializing argument 1 of 'void* CreateFileA(LPCSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE)' | 53 | WINBASEAPI HANDLE WINAPI CreateFileA (LPCSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile); | | ~~~~~~~^~~~~~~~~~ | Makefile:212: recipe for target 'ioutils.o' failed | make: *** [ioutils.o] Error 1 | WARNING: exit code 2 from a shell command. | ERROR: Task (/home/david/yocto/poky/meta-qt5/recipes-qt/qt5/nativesdk-qtbase_git.bb:do_c onfigure) failed with exit code '1' NOTE: Tasks Summary: Attempted 3299 tasks of which 3161 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/david/yocto/poky/meta-qt5/recipes-qt/qt5/nativesdk-qtbase_git.bb:do_co nfigure Summary: There was 1 ERROR message shown, returning a non-zero exit code. Best regards, David FOURDRIGNIEZ Mobile +33 6 27 94 03 25 Email d.fourdrigniez@idplus.org.mx From: Joshua Watt Sent: mardi 21 avril 2020 13:20 To: d.fourdrigniez@idplus.org.mx Cc: Samuli Piippo ; yocto@lists.yoctoproject.org Subject: Re: [Yocto] Building Qt5 toolchain for windows On 4/21/20 1:00 PM, d.fourdrigniez@idplus.org.mx wrote: Hello, I'm working on a project and I need to build a Qt5 toolchain for Windows, I'm using meta-qt5 and meta-mingw and my build machine is an ubuntu 18.04 However I keep having errors when i execute < bitbake meta-toolchain-qt5 >, very much like the one in below forum thread https://www.yoctoproject.org/pipermail/yocto/2019-March/044512.html Am I doing something wrong ? Could you help sending me some ideas on how I could accomplish what I want ? I don't actually know a whole lot about cmake/qt5, so I'm not sure what would need to be done (other than what I've already stated in the message above). Samuli Piippo (cc'd) recently did some work to get cmake to build for MinGW, so he might have some insight. Thanks, Best regards, David Fourdrigniez. ------=_NextPart_000_000B_01D61892.2C39DDD0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello Joshua,

 

Thank you for your reply,

 

Just for information, I put the = following parameters in local.conf

 

MACHINE ?=3D = “qemuarm”

 

SDKMACHINE =3D “i686-mingw32”

 

IMAGE_INSTALL_append = =3D “ gcc g++ binutils libgcc-dev libstdc++ libstdc++-dev = libstdc++-staticdev qtbase qtcharts qtconnectivity qtdeclarative = qtenginio qtgraphicaleffects qtlocation qtmultimedia qtscript qtsensors = qtserialport qtsystems qttools qttranslations qtvirtualkeyboard = qtwebsockets qtxmlpatterns openssh-sftp-server gdb = gdbserver”

 

And here is the error I get when I run the command: = bitbake = meta-toolchain-qt5

 

| In file included = from = /home/david/yocto/poky/build/tmp/work/i686-nativesdk-mingw32-pokysdk-ming= w32/nativesdk-qtbase/5.13.2+gitAUTOINC+a7a24784ee-r0/recipe-sysroot/opt/p= oky/3.0.2/sysroots/i686-pokysdk-mingw32/usr/include/winbase.h:18,

|           =        from = /home/david/yocto/poky/build/tmp/work/i686-nativesdk-mingw32-pokysdk-ming= w32/nativesdk-qtbase/5.13.2+gitAUTOINC+a7a24784ee-r0/recipe-sysroot/opt/p= oky/3.0.2/sysroots/i686-pokysdk-mingw32/usr/include/windows.h:70,

|           =        from = /home/david/yocto/poky/build/tmp/work/i686-nativesdk-mingw32-pokysdk-ming= w32/nativesdk-qtbase/5.13.2+gitAUTOINC+a7a24784ee-r0/git/qmake/library/io= utils.cpp:35:

| = /home/david/yocto/poky/build/tmp/work/i686-nativesdk-mingw32-pokysdk-ming= w32/nativesdk-qtbase/5.13.2+gitAUTOINC+a7a24784ee-r0/recipe-sysroot/opt/p= oky/3.0.2/sysroots/i686-pokysdk-mingw32/usr/include/fileapi.h:53:48: = note:   initializing argument 1 of 'void* CreateFileA(LPCSTR, = DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, = HANDLE)'

|    = 53 |   WINBASEAPI HANDLE WINAPI CreateFileA (LPCSTR = lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, = LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, = DWORD dwFlagsAndAttributes, HANDLE = hTemplateFile);

|       = |            =          =             &= nbsp;       ~~~~~~~^~~~~~~~~~

| Makefile:212: = recipe for target 'ioutils.o' failed

| make: *** = [ioutils.o] Error 1

| = WARNING: exit code 2 from a shell command.

| =

ERROR: = Task = (/home/david/yocto/poky/meta-qt5/recipes-qt/qt5/nativesdk-qtbase_git.bb:d= o_configure) failed with exit code '1'

NOTE: Tasks Summary: = Attempted 3299 tasks of which 3161 didn't need to be rerun and 1 = failed.

 

Summary: 1 task failed:

  = /home/david/yocto/poky/meta-qt5/recipes-qt/qt5/nativesdk-qtbase_git.bb:do= _configure

Summary: There was 1 = ERROR message shown, returning a non-zero exit = code.

 

Best regards,

 

David = FOURDRIGNIEZ
Mobile = +33 6 = 27 94 03 25

Email d.fourdrigniez@idplus.org.mx

 

From: Joshua Watt = <jpewhacker@gmail.com>
Sent: mardi 21 avril 2020 = 13:20
To: d.fourdrigniez@idplus.org.mx
Cc: Samuli = Piippo <samuli.piippo@qt.io>; = yocto@lists.yoctoproject.org
Subject: Re: [Yocto] Building Qt5 = toolchain for windows

 

 

On 4/21/20 1:00 PM, d.fourdrigniez@idplus.org.mx= wrote:

Hello,

 

I’m = working on a project and I need to build a Qt5 toolchain for = Windows,

I’m using meta-qt5 and = meta-mingw and my build machine is an ubuntu 18.04

However I keep having errors when i execute = « bitbake meta-toolchain-qt5 », very much like the = one in below forum thread 

https://www.yoctoproject.org/pipermail/yocto/2019-March/044512.html

 

Am I doing something wrong ? Could you help = sending me some ideas on how I could accomplish what I = want ?

 

I don't = actually know a whole lot about cmake/qt5, so I'm not sure what would = need to be done (other than what I've already stated in the message = above). Samuli Piippo (cc'd) recently did some work to get cmake to = build for MinGW, so he might have some = insight.

 

Thanks,

 

Best = regards,

David = Fourdrigniez.

------=_NextPart_000_000B_01D61892.2C39DDD0--