<?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 Re: Issue running the GPU SDK samples: no such file or directory in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Issue-running-the-GPU-SDK-samples-no-such-file-or-directory/m-p/433593#M66196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jingyi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if the binary application calls a dynamic library that is not present in your binary folder, as example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;readelf -a &amp;lt;app-binary&amp;gt; | grep interpreter&lt;/P&gt;&lt;P&gt;this will give you some library name and route: /lib/ld-xxxxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then just do a dynamic link to your folder app for that library with ln -s &amp;lt;new name&amp;gt; &amp;lt;library&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run your binary file again and it should run.&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, 09 Sep 2015 16:13:52 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2015-09-09T16:13:52Z</dc:date>
    <item>
      <title>Issue running the GPU SDK samples: no such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-running-the-GPU-SDK-samples-no-such-file-or-directory/m-p/433592#M66195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My setup:&lt;/P&gt;&lt;P&gt;imx6q SabreSD board running the fsl-image-gui image built via YOCTO, linux version 3.14.28&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to compile and run the gpu sdk sample apps from:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freescale.com/webapp/Download?colCode=IMX6_GPU_SDK&amp;amp;location=null&amp;amp;Parent_nodeId=1337637154535695831062&amp;amp;Parent_pageType=product&amp;amp;Parent_nodeId=1337637154535695831062&amp;amp;Parent_pageType=product" title="https://www.freescale.com/webapp/Download?colCode=IMX6_GPU_SDK&amp;amp;location=null&amp;amp;Parent_nodeId=1337637154535695831062&amp;amp;Parent_pageType=product&amp;amp;Parent_nodeId=1337637154535695831062&amp;amp;Parent_pageType=product"&gt;https://www.freescale.com/webapp/Download?colCode=IMX6_GPU_SDK&amp;amp;location=null&amp;amp;Parent_nodeId=1337637154535695831062&amp;amp;Parent_pageType=product&amp;amp;Parent_nodeId=1337637154535695831062&amp;amp;Parent_pageType=product&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm running into an error at runtime:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sh: ./01_SimpleTriangle: no such file or directory&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read online that this error shows up if I'm trying to run a 32 bit program on a 64 bit system or vice versa. But I have previously compiled another program that is also 32bit and it runs fine. Running:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;file 01_SimpleTriangle&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;returns:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01_SimpleTriangle: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=fab14febc7f25ca6332db5a55828e20a10b6747f, not stripped&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before compiling, I manually modifed the CFLAGS in the makefile to also include all the flags outputted by the $CC environment variable, and using -mfloat-abi=hard instead of =softfp&lt;/P&gt;&lt;P&gt;Running:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;echo $CC&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;returns:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;arm-poky-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By doing so I was able to compile the first sample 01_SimpleTriangle. (I did not bother fixing the rest of the makefiles yet so I have removed the other samples from the makefile)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I copied over the bin folder to my board and tried running it, I get the above error. Can someone shine some light on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 19:26:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-running-the-GPU-SDK-samples-no-such-file-or-directory/m-p/433592#M66195</guid>
      <dc:creator>jingyizhang</dc:creator>
      <dc:date>2015-09-08T19:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue running the GPU SDK samples: no such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-running-the-GPU-SDK-samples-no-such-file-or-directory/m-p/433593#M66196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jingyi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if the binary application calls a dynamic library that is not present in your binary folder, as example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;readelf -a &amp;lt;app-binary&amp;gt; | grep interpreter&lt;/P&gt;&lt;P&gt;this will give you some library name and route: /lib/ld-xxxxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then just do a dynamic link to your folder app for that library with ln -s &amp;lt;new name&amp;gt; &amp;lt;library&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run your binary file again and it should run.&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, 09 Sep 2015 16:13:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-running-the-GPU-SDK-samples-no-such-file-or-directory/m-p/433593#M66196</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2015-09-09T16:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue running the GPU SDK samples: no such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-running-the-GPU-SDK-samples-no-such-file-or-directory/m-p/433594#M66197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Hi jingyi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Following thread might help you:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/564669?et=watches.email.thread#564669" title="https://community.freescale.com/message/564669?et=watches.email.thread#564669"&gt;https://community.freescale.com/message/564669?et=watches.email.thread#564669&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Dhaval&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 05:11:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-running-the-GPU-SDK-samples-no-such-file-or-directory/m-p/433594#M66197</guid>
      <dc:creator>dhavalvadhar</dc:creator>
      <dc:date>2015-09-10T05:11:44Z</dc:date>
    </item>
  </channel>
</rss>

