<?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>topic c++ headers in cross compilation in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/c-headers-in-cross-compilation/m-p/1555355#M197637</link>
    <description>&lt;P&gt;Hi Imx8mp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I Have a question for you regarding c++ standard headers.&lt;/P&gt;&lt;P&gt;We have setup a development environment with Eclipse cross compiling and we are working with C projects without problems. Now we try to integrate a c++ component, and we have problems cross compiling the code for the imx8mp platform. It doesn’t seams that the SDK include the C++ standard headers like &amp;lt;iostream&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;15:52:32 **** Rebuild of configuration Debug for project hello_world ****&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Info: Internal Builder is used for build&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;aarch64-fslc-linux-g++ -std=c++17 -O0 -g3 -Wall -c -fmessage-length=0 -o src/hello_world.o ../src/hello_world.cpp &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;../src/hello_world.cpp:9:10: fatal error: iostream: No such file or directory&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9 | #include &amp;lt;iostream&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^~~~~~~~~~&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;compilation terminated.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;15:52:33 Build Failed. 1 errors, 0 warnings. (took 620ms)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do we need to build the kernel with implicit c++ headers support? How do we do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;P&gt;Zohar&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 01:33:54 GMT</pubDate>
    <dc:creator>zohargolan</dc:creator>
    <dc:date>2022-11-17T01:33:54Z</dc:date>
    <item>
      <title>c++ headers in cross compilation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/c-headers-in-cross-compilation/m-p/1555355#M197637</link>
      <description>&lt;P&gt;Hi Imx8mp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I Have a question for you regarding c++ standard headers.&lt;/P&gt;&lt;P&gt;We have setup a development environment with Eclipse cross compiling and we are working with C projects without problems. Now we try to integrate a c++ component, and we have problems cross compiling the code for the imx8mp platform. It doesn’t seams that the SDK include the C++ standard headers like &amp;lt;iostream&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;15:52:32 **** Rebuild of configuration Debug for project hello_world ****&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Info: Internal Builder is used for build&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;aarch64-fslc-linux-g++ -std=c++17 -O0 -g3 -Wall -c -fmessage-length=0 -o src/hello_world.o ../src/hello_world.cpp &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;../src/hello_world.cpp:9:10: fatal error: iostream: No such file or directory&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9 | #include &amp;lt;iostream&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^~~~~~~~~~&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;compilation terminated.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;15:52:33 Build Failed. 1 errors, 0 warnings. (took 620ms)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do we need to build the kernel with implicit c++ headers support? How do we do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;P&gt;Zohar&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 01:33:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/c-headers-in-cross-compilation/m-p/1555355#M197637</guid>
      <dc:creator>zohargolan</dc:creator>
      <dc:date>2022-11-17T01:33:54Z</dc:date>
    </item>
  </channel>
</rss>

