<?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: Problem porting an OpenGL application in yocto in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problem-porting-an-OpenGL-application-in-yocto/m-p/1097742#M160706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Priyank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven´t try devil with MX8 but here is the recipe you need for compiling:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://git.congatec.com/yocto/meta-fsl-demos/blob/937690e39b1ea2432a9e207d9070eb795c7530fd/recipes-graphics/devil/devil_1.7.8.bb" title="https://git.congatec.com/yocto/meta-fsl-demos/blob/937690e39b1ea2432a9e207d9070eb795c7530fd/recipes-graphics/devil/devil_1.7.8.bb"&gt;recipes-graphics/devil/devil_1.7.8.bb · 937690e39b1ea2432a9e207d9070eb795c7530fd · yocto / meta-fsl-demos · GitLab&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This recipe is required for gpu-sdk. Let us know if this work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Aug 2020 13:34:06 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2020-08-18T13:34:06Z</dc:date>
    <item>
      <title>Problem porting an OpenGL application in yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-porting-an-OpenGL-application-in-yocto/m-p/1097741#M160705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Hello Everyone,&lt;/P&gt;&lt;P style="text-align: left;"&gt;We are working on &lt;STRONG&gt;imx8qxp MEK&lt;/STRONG&gt; board with &lt;STRONG&gt;Yocto zeus&lt;/STRONG&gt; and &lt;STRONG&gt;kernel version L5.4.24_2.1.0&lt;/STRONG&gt;. We have a test application to display HD images on HD display. For the same we are using &lt;STRONG&gt;OpenGL&lt;/STRONG&gt;(Open Graphics Libaray), &lt;STRONG&gt;DevIL&lt;/STRONG&gt;(Developer's Image Library) and &lt;STRONG&gt;glut&lt;/STRONG&gt;(OpenGL Utility Toolkit) libraries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have checked that imx8qxpmek has support for OpenGL from the i.MX 8DualX/8DualXPlus/8QuadXPlus Applications Processor Reference Manual&lt;/P&gt;&lt;P&gt;We have created a layer in yocto, which has a recipe for our application which includes src(.c) file. The src(.c) file is compiled from the recipe by the following command&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;do_compile &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;

 $&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;CC&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt; hdimages&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;c $&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;LDFLAGS&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;lGL &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;lglut &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;lIL &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;o hdimages
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The src(.c) file is compiling fine on Ubuntu 18.04 terminal and we are succesfully able to see images. But it is giving some issues when running on yocto build.&lt;BR /&gt;1. bitbake using bitbake recipe_name (For compiling that specific recipe only) &lt;BR /&gt;2. bitbake using bitbake imx-image-multimedia (For compiling whole image)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While compiling the application recipe, it gives an error saying that il.h header file does not exist. The error looks like&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;fatal error: IL/il.h: No such file or directory&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 40 | #include &amp;lt;IL/il.h&amp;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; /* DevIL libarary for loading images */&lt;BR /&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;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;We had got the same error while compiling on Ubuntu terminal but that was resolved by installing the following package&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;STRONG&gt;sudo apt-get install libdevil-dev&lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same was tried on yocto to install the libdevil-dev package by adding the following line in local.conf :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;CORE_IMAGE_EXTRA_INSTALL += "libdevil-dev" OR IMAGE_INSTALL += " libdevil-dev"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;to install the extra packages which is dependent for that recipe. But this approach did not work fine and its giving same error again.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;On checking for the il.h header file, it is available on the following path yocto imx-multimedia build :-&lt;BR /&gt;Path for il.h header file - /build-imx_image_multimedia/tmp/sysroots-components/imx8qxpmek/devil/usr/include/IL&lt;/LI&gt;&lt;LI&gt;On checking for the glut.h header file, it is available on the following path yocto imx-multimedia build :-&lt;BR /&gt;Path for glut.h header file - /build-imx_image_multimedia/tmp/sysroots-components/aarch64-mx8/freeglut/usr/include/GL&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any solution to compile this recipe without going for SDK approach?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2020 11:44:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-porting-an-OpenGL-application-in-yocto/m-p/1097741#M160705</guid>
      <dc:creator>priyank_bhatt</dc:creator>
      <dc:date>2020-08-17T11:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem porting an OpenGL application in yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-porting-an-OpenGL-application-in-yocto/m-p/1097742#M160706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Priyank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven´t try devil with MX8 but here is the recipe you need for compiling:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://git.congatec.com/yocto/meta-fsl-demos/blob/937690e39b1ea2432a9e207d9070eb795c7530fd/recipes-graphics/devil/devil_1.7.8.bb" title="https://git.congatec.com/yocto/meta-fsl-demos/blob/937690e39b1ea2432a9e207d9070eb795c7530fd/recipes-graphics/devil/devil_1.7.8.bb"&gt;recipes-graphics/devil/devil_1.7.8.bb · 937690e39b1ea2432a9e207d9070eb795c7530fd · yocto / meta-fsl-demos · GitLab&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This recipe is required for gpu-sdk. Let us know if this work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 13:34:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-porting-an-OpenGL-application-in-yocto/m-p/1097742#M160706</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2020-08-18T13:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem porting an OpenGL application in yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-porting-an-OpenGL-application-in-yocto/m-p/1162816#M162900</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/34846"&gt;@Bio_TICFSL&lt;/a&gt;,&lt;BR /&gt;The "fatal error: IL/il.h: No such file or directory" is resolved by adding the dependency of devil in the recipe, now the application is compiled successfully with core-image-base &amp;amp; imx-image-multimedia. But presently we are facing the issue that while executing the application, it is not displaying images on the HDMI display instead it is showing some flickerings on the screen&lt;/P&gt;&lt;P&gt;Please suggest us some application with which we can display HD images on the HDMI display, we are using the LVDS0 port&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 09:05:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-porting-an-OpenGL-application-in-yocto/m-p/1162816#M162900</guid>
      <dc:creator>priyank_bhatt</dc:creator>
      <dc:date>2020-10-05T09:05:42Z</dc:date>
    </item>
  </channel>
</rss>

