<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックQt make: g++: Command not found issue with SDK generated for soloX</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Qt-make-g-Command-not-found-issue-with-SDK-generated-for-soloX/m-p/662827#M101783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have used following steps to get and build&amp;nbsp;the BSP for soloX sabre board. i am using Krogoth branch to build the bsp and populate sdk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Freescale/fsl-community-bsp-platform" title="https://github.com/Freescale/fsl-community-bsp-platform"&gt;GitHub - Freescale/fsl-community-bsp-platform: BSP platform manifest&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i added qt support in the build by following&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard" title="http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard"&gt;Building Qt5 using yocto on Wandboard - Wandboard Wiki&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that i bitbaked toolchain for this using following&lt;/P&gt;&lt;P&gt;$ bitbake meta-toolchain-qt5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this i generated sdk using following command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ bitbake &amp;lt;image-name&amp;gt; -c populate_sdk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then i installed the sdk on my development machine, it is installed under&lt;/P&gt;&lt;P&gt;/opt/poky/2.1.1/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i installed and setup latest Qt by using following steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/309578"&gt;Setup QT Creator with Yocto Build&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After all this setup done, i created a simple console application and trying to build it, and i get an error as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;14:10:10: Running steps for project HelloWorld...&lt;BR /&gt;14:10:10: Configuration unchanged, skipping qmake step.&lt;BR /&gt;14:10:10: Starting: "/usr/bin/make" &lt;BR /&gt;g++ -c -pipe -O2 -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -I../HelloWorld -I. -I/opt/poky/2.1.1/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/qt5 -I/opt/poky/2.1.1/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/qt5/QtCore -I. -I/opt/poky/2.1.1/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/lib/qt5/mkspecs/linux-g++ -o main.o ../HelloWorld/main.cpp&lt;BR /&gt;make: g++: Command not found&lt;BR /&gt;make: *** [main.o] Error 127&lt;BR /&gt;14:10:10: The process "/usr/bin/make" exited with code 2.&lt;BR /&gt;Error while building/deploying project HelloWorld (kit: mx6solox)&lt;BR /&gt;The kit mx6solox has configuration issues which might be the root cause for this problem.&lt;BR /&gt;When executing step "Make"&lt;BR /&gt;14:10:10: Elapsed time: 00:00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have googled a lot but could not find any solution on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody please help on this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2016 08:48:27 GMT</pubDate>
    <dc:creator>Alankar</dc:creator>
    <dc:date>2016-12-09T08:48:27Z</dc:date>
    <item>
      <title>Qt make: g++: Command not found issue with SDK generated for soloX</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Qt-make-g-Command-not-found-issue-with-SDK-generated-for-soloX/m-p/662827#M101783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have used following steps to get and build&amp;nbsp;the BSP for soloX sabre board. i am using Krogoth branch to build the bsp and populate sdk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Freescale/fsl-community-bsp-platform" title="https://github.com/Freescale/fsl-community-bsp-platform"&gt;GitHub - Freescale/fsl-community-bsp-platform: BSP platform manifest&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i added qt support in the build by following&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard" title="http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard"&gt;Building Qt5 using yocto on Wandboard - Wandboard Wiki&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that i bitbaked toolchain for this using following&lt;/P&gt;&lt;P&gt;$ bitbake meta-toolchain-qt5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this i generated sdk using following command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ bitbake &amp;lt;image-name&amp;gt; -c populate_sdk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then i installed the sdk on my development machine, it is installed under&lt;/P&gt;&lt;P&gt;/opt/poky/2.1.1/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i installed and setup latest Qt by using following steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/309578"&gt;Setup QT Creator with Yocto Build&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After all this setup done, i created a simple console application and trying to build it, and i get an error as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;14:10:10: Running steps for project HelloWorld...&lt;BR /&gt;14:10:10: Configuration unchanged, skipping qmake step.&lt;BR /&gt;14:10:10: Starting: "/usr/bin/make" &lt;BR /&gt;g++ -c -pipe -O2 -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -I../HelloWorld -I. -I/opt/poky/2.1.1/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/qt5 -I/opt/poky/2.1.1/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/qt5/QtCore -I. -I/opt/poky/2.1.1/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/lib/qt5/mkspecs/linux-g++ -o main.o ../HelloWorld/main.cpp&lt;BR /&gt;make: g++: Command not found&lt;BR /&gt;make: *** [main.o] Error 127&lt;BR /&gt;14:10:10: The process "/usr/bin/make" exited with code 2.&lt;BR /&gt;Error while building/deploying project HelloWorld (kit: mx6solox)&lt;BR /&gt;The kit mx6solox has configuration issues which might be the root cause for this problem.&lt;BR /&gt;When executing step "Make"&lt;BR /&gt;14:10:10: Elapsed time: 00:00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have googled a lot but could not find any solution on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody please help on this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 08:48:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Qt-make-g-Command-not-found-issue-with-SDK-generated-for-soloX/m-p/662827#M101783</guid>
      <dc:creator>Alankar</dc:creator>
      <dc:date>2016-12-09T08:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Qt make: g++: Command not found issue with SDK generated for soloX</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Qt-make-g-Command-not-found-issue-with-SDK-generated-for-soloX/m-p/662828#M101784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alankar Dhobale,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have reproduced this error. It’s most likely a Qt Creator configuration issue. I haven’t found a fix but I’ll let you know if I make any progress.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 18:27:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Qt-make-g-Command-not-found-issue-with-SDK-generated-for-soloX/m-p/662828#M101784</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2016-12-16T18:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Qt make: g++: Command not found issue with SDK generated for soloX</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Qt-make-g-Command-not-found-issue-with-SDK-generated-for-soloX/m-p/662829#M101785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gusarambula,&lt;/P&gt;&lt;P&gt;i am able to resolve this issue, following are the details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually When qmake is run, qtcreator by default puts a “-spec $(QMAKE_XSPEC)” to the argument list. This was causing the compiler now to default to the x86 one instead of the arm one. This was why the compile was failing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The quick fix for this problem is to override the QMAKE_XSPEC variable. This is pretty simple in qtcreator; go to Tools-&amp;gt;Options-&amp;gt;Build &amp;amp;Run-&amp;gt;Kits and add “linux-oe-g++” to the “Qt mkspec” text box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To add to this, the bug is probably here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-shortxspec=`echo $XQMAKESPEC | sed "s,^${relpath}/mkspecs/,,"`&lt;/P&gt;&lt;P&gt;-shortspec=`echo $QMAKESPEC | sed "s,^${relpath}/mkspecs/,,"`&lt;/P&gt;&lt;P&gt;+if [ "$QT_CROSS_COMPILE" = "yes" ] ; then&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; shortxspec=linux-g++&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; shortspec=linux-g++&lt;/P&gt;&lt;P&gt;+else&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; shortxspec=`echo $XQMAKESPEC | sed "s,^${relpath}/mkspecs/,,"`&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp; shortspec=`echo $QMAKESPEC | sed "s,^${relpath}/mkspecs/,,"`&lt;/P&gt;&lt;P&gt;+fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a in a patch file:&lt;/P&gt;&lt;P&gt;/fsl-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtbase /0008-configure-paths-for-target-qmake-properly.patch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i believe this patch is being applied. i think somebody from Yocto community need to look into this, i will post this to Yocto mailing list also...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 04:51:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Qt-make-g-Command-not-found-issue-with-SDK-generated-for-soloX/m-p/662829#M101785</guid>
      <dc:creator>Alankar</dc:creator>
      <dc:date>2016-12-28T04:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Qt make: g++: Command not found issue with SDK generated for soloX</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Qt-make-g-Command-not-found-issue-with-SDK-generated-for-soloX/m-p/662830#M101786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for posting your findings, Alankar Dhobale!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 21:30:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Qt-make-g-Command-not-found-issue-with-SDK-generated-for-soloX/m-p/662830#M101786</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2017-01-05T21:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Qt make: g++: Command not found issue with SDK generated for soloX</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Qt-make-g-Command-not-found-issue-with-SDK-generated-for-soloX/m-p/662831#M101787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have encountered the same problem of &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Alankar"&gt;Alankar&lt;/A&gt;‌. Do you know if this already solved &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/gusarambula"&gt;gusarambula&lt;/A&gt;‌ or we are supposed to&amp;nbsp;override the QMAKE_XSPEC variable to linux-oe-g++ always now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 16:30:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Qt-make-g-Command-not-found-issue-with-SDK-generated-for-soloX/m-p/662831#M101787</guid>
      <dc:creator>raz3l</dc:creator>
      <dc:date>2017-07-14T16:30:38Z</dc:date>
    </item>
  </channel>
</rss>

