<?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: In i.mx51  with Qt Compile, The EGL functionality test failed. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277796#M31379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I successfully compiled the Qt-4.8.5 with LTIB.This time i used ubuntu 10.04 instead of 13.04 and LTIB version also 10.xx.now it worked fine.&lt;/P&gt;&lt;P&gt;Now i'm facing problem in running compiled openGL project in i.mx platform.&lt;/P&gt;&lt;P&gt;The error i got is,&lt;/P&gt;&lt;P&gt;QEgl::display(): Cannot initialize EGL display: "Not initialized (0x3001)"&lt;/P&gt;&lt;P&gt;QEglContext::chooseConfig(): Could not find a suitable EGL configuration&lt;/P&gt;&lt;P&gt;Requested: "type=es2 rgba=8,8,8,0 surface-type=window"&lt;/P&gt;&lt;P&gt;Available: &lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Nov 2013 06:18:56 GMT</pubDate>
    <dc:creator>ravivarman</dc:creator>
    <dc:date>2013-11-29T06:18:56Z</dc:date>
    <item>
      <title>In i.mx51  with Qt Compile, The EGL functionality test failed.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277792#M31375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I’m trying to cross compile qt-everywhere-opensource-src-4.6.1 with openGL es2 support.&lt;/P&gt;&lt;P&gt;Details: &lt;BR /&gt; &lt;STRONG&gt;Host:Ubuntu 10.04.4 &lt;SPAN class="caps"&gt;LTS&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt; &lt;STRONG&gt;Target:ARM Cortex A8 (Freescale i.MX51 Processor)&lt;/STRONG&gt;&lt;BR /&gt; &lt;STRONG&gt;Target Linux:linux-2.6.31.&lt;/STRONG&gt;&lt;BR /&gt; &lt;STRONG&gt;Qt Version:4.6.1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Steps i did are,&lt;/P&gt;&lt;P&gt;1.downloaded &lt;STRONG&gt;qt-everywhere-opensource-src-4.6.1.tar.gz&lt;/STRONG&gt; from &lt;A href="ftp://ftp.qt.nokia.com/qt/source/"&gt;ftp://ftp.qt.nokia.com/qt/source/&lt;/A&gt; &lt;EM&gt;[ftp.qt.nokia.com]&lt;/EM&gt;&lt;BR /&gt; 2.Copied mkspecs for arm-cortex_a8-linux-gnueabi-g++ and modified its qmake.conf as given – &lt;A href="https://dl.dropboxusercontent.com/u/12382973/linux-g++-mx5x/qmake.conf"&gt;https://dl.dropboxusercontent.com/u/12382973/linux-g++-mx5x/qmake.conf&lt;/A&gt; &lt;EM&gt;[dl.dropboxusercontent.com]&lt;/EM&gt; . 3.then configured as,&lt;BR /&gt; &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class="de1"&gt;.&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;configure &lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;arch arm &lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;xplatform linux&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;g&lt;SPAN class="sy0"&gt;++-&lt;/SPAN&gt;mx5x &lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;release &lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;prefix &lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt; &lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;multimedia &lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;qt&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;gfx&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;linuxfb &lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;qt&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;kbd&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;tty &lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;little&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;endian &lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;host&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;little&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;endian &lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;fontconfig &lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;sm &lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;opengl es2&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp; And now i got the problem it shows,&lt;/P&gt;&lt;P&gt; &lt;EM&gt;“The &lt;SPAN class="caps"&gt;EGL&lt;/SPAN&gt; functionality test failed!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;EM&gt;&lt;SPAN class="caps"&gt;EGL&lt;/SPAN&gt; is required for OpenGL ES to manage contexts &amp;amp; surfaces.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;EM&gt;You might need to modify the include and library search paths by editing&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;EM&gt;&lt;SPAN class="caps"&gt;QMAKE&lt;/SPAN&gt;_INCDIR_EGL, &lt;SPAN class="caps"&gt;QMAKE&lt;/SPAN&gt;_LIBDIR_EGL and &lt;SPAN class="caps"&gt;QMAKE&lt;/SPAN&gt;_LIBS_EGL in&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;EM&gt;/home/elangovan/qt-everywhere-opensource-src-4.6.1/mkspecs/linux-g++-mx5x”&lt;/EM&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;but in qmake.conf it has,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class="de1"&gt;QMAKE_INCDIR_EGL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="sy0"&gt;=&lt;/SPAN&gt; &lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;usr&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;local&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;DigiEL&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;&lt;SPAN class="nu16"&gt;5.6&lt;/SPAN&gt;&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;x&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;tools&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;arm&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;cortex_a8&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;linux&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;gnueabi&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;arm&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;cortex_a8&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;linux&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;gnueabi&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;sys&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;root&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;usr&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;include&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;EGL&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="de1"&gt;QMAKE_LIBDIR_EGL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="sy0"&gt;=&lt;/SPAN&gt; &lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;usr&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;local&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;DigiEL&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;&lt;SPAN class="nu16"&gt;5.6&lt;/SPAN&gt;&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;x&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;tools&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;arm&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;cortex_a8&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;linux&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;gnueabi&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;arm&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;cortex_a8&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;linux&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;gnueabi&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;sys&lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;root&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;usr&lt;SPAN class="sy0"&gt;/&lt;/SPAN&gt;lib&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="de1"&gt; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="de1"&gt;QMAKE_LIBS_EGL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="sy0"&gt;=&lt;/SPAN&gt; &lt;SPAN class="sy0"&gt;-&lt;/SPAN&gt;lEGL&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;when i use -v switching in config it gives errors as in the file – &lt;A href="https://dl.dropboxusercontent.com/u/12382973/configError.txt"&gt;https://dl.dropboxusercontent.com/u/12382973/configError.txt&lt;/A&gt; &lt;EM&gt;[dl.dropboxusercontent.com]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Anybody successfully compiled qt with opengl es2 support?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 14:23:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277792#M31375</guid>
      <dc:creator>ravivarman</dc:creator>
      <dc:date>2013-11-14T14:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: In i.mx51  with Qt Compile, The EGL functionality test failed.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277793#M31376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I saw your post when searching for the answer to the same problem. I finally made it work in this way (I have iMX6 and Ubuntu 12.04.3 LTS):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) turned on the verbose mode (by appending '-v' at the end of configuration command) and tried to configure Qt again;&lt;/P&gt;&lt;P&gt;2) in my case, "&lt;EM&gt;The &lt;SPAN class="caps"&gt;EGL&lt;/SPAN&gt; functionality test failed&lt;/EM&gt;" because it couldn't find the header file EGL/egl.h. I then searched this file in Ubuntu and found it at /home/linuxdev/iMX/mountpoint/usr/include/EGL/egl.h;&lt;/P&gt;&lt;P&gt;3) went to &lt;EM&gt;QTRoot&lt;/EM&gt;/qtbase/mkspecs/devices/linux-imx6-g++ (QTRoot is where you downloaded Qt source files), opened qmake.conf, and added the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QMAKE_INCDIR_OPENGL_ES2 = /home/linuxdev/iMX/mountpoint/usr/include&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QMAKE_LIBDIR_OPENGL_ES2 = /home/linuxdev/iMX/mountpoint/usr/lib&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QMAKE_INCDIR_EGL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = /home/linuxdev/iMX/mountpoint/usr/include&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QMAKE_LIBDIR_EGL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = /home/linuxdev/iMX/mountpoint/usr/lib&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DONE!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 22:48:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277793#M31376</guid>
      <dc:creator>jasonjiang</dc:creator>
      <dc:date>2013-11-15T22:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: In i.mx51  with Qt Compile, The EGL functionality test failed.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277794#M31377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;This i did already but didn't work for me :smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 12:01:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277794#M31377</guid>
      <dc:creator>ravivarman</dc:creator>
      <dc:date>2013-11-20T12:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: In i.mx51  with Qt Compile, The EGL functionality test failed.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277795#M31378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you turn turn verbose mode to see what the error is? That's how I debugged mine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 16:54:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277795#M31378</guid>
      <dc:creator>jasonjiang</dc:creator>
      <dc:date>2013-11-20T16:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: In i.mx51  with Qt Compile, The EGL functionality test failed.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277796#M31379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I successfully compiled the Qt-4.8.5 with LTIB.This time i used ubuntu 10.04 instead of 13.04 and LTIB version also 10.xx.now it worked fine.&lt;/P&gt;&lt;P&gt;Now i'm facing problem in running compiled openGL project in i.mx platform.&lt;/P&gt;&lt;P&gt;The error i got is,&lt;/P&gt;&lt;P&gt;QEgl::display(): Cannot initialize EGL display: "Not initialized (0x3001)"&lt;/P&gt;&lt;P&gt;QEglContext::chooseConfig(): Could not find a suitable EGL configuration&lt;/P&gt;&lt;P&gt;Requested: "type=es2 rgba=8,8,8,0 surface-type=window"&lt;/P&gt;&lt;P&gt;Available: &lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 06:18:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277796#M31379</guid>
      <dc:creator>ravivarman</dc:creator>
      <dc:date>2013-11-29T06:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: In i.mx51  with Qt Compile, The EGL functionality test failed.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277797#M31380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you ever figure out the cause of EGL failing to initialize?&amp;nbsp; I think I may be running into the same problem trying to get OpenGL running on an i.MX53.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 00:38:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277797#M31380</guid>
      <dc:creator>fvasquez</dc:creator>
      <dc:date>2014-03-21T00:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: In i.mx51  with Qt Compile, The EGL functionality test failed.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277798#M31381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you got the wrong person.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 00:39:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277798#M31381</guid>
      <dc:creator>jasonjiang</dc:creator>
      <dc:date>2014-03-21T00:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: In i.mx51  with Qt Compile, The EGL functionality test failed.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277799#M31382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about that, Jason.&amp;nbsp; I'm new to the Freescale Community forums.&amp;nbsp; My question was intended for Ravi.&amp;nbsp; Specifically, how he got rid of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QEgl::display(): Cannot initialize EGL display: "Not initialized (0x3001)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using OpenGL ES without Qt so your verbose mode and qmake.conf fixes don't apply to me.&amp;nbsp; I can already compile the OpenGL sample programs that came with the GPUSDK.&amp;nbsp; I just get EGL initialization failures when I try to run them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 18:06:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/In-i-mx51-with-Qt-Compile-The-EGL-functionality-test-failed/m-p/277799#M31382</guid>
      <dc:creator>fvasquez</dc:creator>
      <dc:date>2014-03-21T18:06:01Z</dc:date>
    </item>
  </channel>
</rss>

