Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. The OpenGL ES 2.0 functionality test failed!
Forum Updated to NodeBB v4.3 + New Features

The OpenGL ES 2.0 functionality test failed!

Scheduled Pinned Locked Moved Mobile and Embedded
15 Posts 4 Posters 25.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    post4pavan
    wrote on last edited by
    #5

    o.k, I have the error log. "Here":https://docs.google.com/open?id=0B12LY55IemhxOTU1MzE5OWQtYzIzMy00OTU1LWE1YTktMjE2ODU2N2E4MWVk

    Yeah! for short lines of code I will use code snippets, but this log is 304 lines or more, for the time being I will use a TRUSTED site like google-docs.

    Qt for Embedded! INTERESTING!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      almagest
      wrote on last edited by
      #6

      First of, its not a matter of trust of not, its just not the right way to post logs.
      The first error it encountered was:

      @arm-none-linux-gnueabi-g++ -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/Qt-4.7.4/lib -o floatmath floatmath.o -L/home/post4pavan/ltib/rootfs/usr/lib -lglib-2.0 -lgthread-2.0 -lgstreamer-0.10 -lxml2 -lz -lgmodule-2.0 -lgobject-2.0 -lts -lasound -lgsl -lEGL -lpng
      /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgsl
      collect2: ld returned 1 exit status@

      No need to read the next 600+ errors or so.

      -lgsl must be an opengl library (libgsl.so), check if you have it (and that it is arm-compatible)

      It should be noted that you are trying to use the newest Qt version out there, and not 4.6 that other people did get to work on the i.mx51. That might be worth to test (before jumping to the very last version).

      Not to be rude, but if you post another link to your google docs, dont expect me to read it.

      Regards.
      A.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        post4pavan
        wrote on last edited by
        #7

        o.k, I do not have any issues to post codes here, from now.

        Coming to the graphic libraries

        @sudo find / -name lgsl@ gave nothing

        lgsl is not present.

        And the files in my ltib dir. are
        @ltib/usr/include$ ls
        alsa ft2build.h GLES2 iso7816-3.h libvolume_id.h pxp_lib.h tslib.h vpu_lib.h zlib.h EGL gio-unix-2.0 glib-2.0 KHR libxml2 ScreenLayer.h VG z160.h
        freetype2 GLES gstreamer-0.10 liboil-0.3 mxc_ipu_hl_lib.h sys vpu_io.h zconf.h@

        This is all I know till now.

        Qt for Embedded! INTERESTING!

        1 Reply Last reply
        0
        • A Offline
          A Offline
          almagest
          wrote on last edited by
          #8

          Try 'sudo find / -name lgsl*' (with the wildcard)

          Also look in directory ltib/usr/lib, or ltib/lib for the libraries, only header (.h) files are supposed to be in include directories.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            post4pavan
            wrote on last edited by
            #9

            @sudo find /home/post4pavan/pavan/ltib/rootfs/lib/ -name lib*
            /home/post4pavan/pavan/ltib/rootfs/lib/
            /home/post4pavan/pavan/ltib/rootfs/lib/libSegFault.so
            /home/post4pavan/pavan/ltib/rootfs/lib/modules/2.6.31-770-g0e46b52/kernel/drivers/ata/libata.ko
            /home/post4pavan/pavan/ltib/rootfs/lib/modules/2.6.31-770-g0e46b52/kernel/drivers/ata/libahci.ko
            /home/post4pavan/pavan/ltib/rootfs/lib/modules/2.6.31-770-g0e46b52/kernel/lib
            /home/post4pavan/pavan/ltib/rootfs/lib/libpthread.so.0
            /home/post4pavan/pavan/ltib/rootfs/lib/libnss_nis-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libutil-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libresolv-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libpthread-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libthread_db.so.1
            /home/post4pavan/pavan/ltib/rootfs/lib/libBrokenLocale.so.1
            /home/post4pavan/pavan/ltib/rootfs/lib/libpcprofile.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libnss_files-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libanl.so.1
            /home/post4pavan/pavan/ltib/rootfs/lib/libc-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libmemusage.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libnss_nisplus-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libc.so.6
            /home/post4pavan/pavan/ltib/rootfs/lib/libBrokenLocale-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libstdc++.so.6.0.8
            /home/post4pavan/pavan/ltib/rootfs/lib/libnss_nis.so.2
            /home/post4pavan/pavan/ltib/rootfs/lib/libcrypt.so.1
            /home/post4pavan/pavan/ltib/rootfs/lib/librt.so.1
            /home/post4pavan/pavan/ltib/rootfs/lib/libanl-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libm-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libnss_nisplus.so.2
            /home/post4pavan/pavan/ltib/rootfs/lib/libgcc_s.so.1
            /home/post4pavan/pavan/ltib/rootfs/lib/libnss_compat-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libnss_compat.so.2
            /home/post4pavan/pavan/ltib/rootfs/lib/libnss_hesiod-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libnsl.so.1
            /home/post4pavan/pavan/ltib/rootfs/lib/libnss_files.so.2
            /home/post4pavan/pavan/ltib/rootfs/lib/libvolume_id.so.0
            /home/post4pavan/pavan/ltib/rootfs/lib/libvolume_id.so.0.81.0
            /home/post4pavan/pavan/ltib/rootfs/lib/libnss_dns-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libdl-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/librt-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libm.so.6
            /home/post4pavan/pavan/ltib/rootfs/lib/libnss_dns.so.2
            /home/post4pavan/pavan/ltib/rootfs/lib/libthread_db-1.0.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libnsl-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libcrypt-2.5.so
            /home/post4pavan/pavan/ltib/rootfs/lib/libresolv.so.2
            /home/post4pavan/pavan/ltib/rootfs/lib/libutil.so.1
            /home/post4pavan/pavan/ltib/rootfs/lib/libnss_hesiod.so.2
            /home/post4pavan/pavan/ltib/rootfs/lib/libdl.so.2
            /home/post4pavan/pavan/ltib/rootfs/lib/libstdc++.so.6
            @

            lgsl is not present even when @sudo find / -name lgsl*@ this was used.

            Qt for Embedded! INTERESTING!

            1 Reply Last reply
            0
            • A Offline
              A Offline
              almagest
              wrote on last edited by
              #10

              According to this post;
              "building-qt-for-imx5x":http://imxcommunity.org/group/imxqt/forum/topics/building-qt-for-imx5x?commentId=4103961:Comment:46172&xg_source=activity&groupId=4103961:Group:12203

              A guy just linked (ln -s) to the library he had to fix a similar issue.

              What you can, and maybe should do, is download an ubuntu image (that was made to run on the i.mx51) from freescale to your harddrive and unpack that. If you look within its library folders, you probably find precompiled libraries that could work. (i have done similar stuff).

              A.

              1 Reply Last reply
              0
              • P Offline
                P Offline
                post4pavan
                wrote on last edited by
                #11

                Thanks for your reply Almagest.
                I saw the "link here":http://imxcommunity.org/group/imxqt/forum/topics/building-qt-for-imx5x?commentId=4103961:Comment:46172&xg_source=activity&groupId=4103961:Group:12203 you have mentioned in your post.

                But, Almagest, I am not loading Ubuntu on my EVK, I just have to do with the Linux from LTIB only.

                Is there any other solution.
                Can you please suggest me an alternative?

                Qt for Embedded! INTERESTING!

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  post4pavan
                  wrote on last edited by
                  #12

                  In the modified config, that was sent later, I have pointed to my installation dir, rather than giving the link.

                  Please try to take a look at that.....and suggest me.........>!

                  Qt for Embedded! INTERESTING!

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    almagest
                    wrote on last edited by
                    #13

                    bq. But, Almagest, I am not loading Ubuntu on my EVK, I just have to do with the Linux from LTIB only.

                    Im not saying that you should run ubuntu, im saying that image contain the needed libraries (so you could copy them to wherever you want them to be.

                    bq. In the modified config, that was sent later, I have pointed to my installation dir, rather than giving the link.

                    Im certain the files you posted to google docs are pretty much identical. At least they both contain /tftpboot/ltib/ references. So if you have your ltib directory somewhere else, you need to edit this file.

                    In any case, if you do not have the libgsl.so (or a similar libgsl-fsl.so that you can link to) you would have to get this file somehow. My tip regarding downloading the ubuntu.tar-image still stands, im pretty certain all your library needs can be found there. And no, you do not need to run ubuntu, i ran ltib myself and copied some libraries from an earlier i.mx51 ubuntu-ready image.

                    1 Reply Last reply
                    0
                    • citiustechC Offline
                      citiustechC Offline
                      citiustech
                      wrote on last edited by
                      #14

                      i have copied arm opengl file from board to ubuntu desktop system.
                      i have chnaged the qmake.conf file also export path from command line and also set varaible path from command line.but still it gives opengl functionality test error. include path of opengl lib/libs. please help

                      small_birdS 1 Reply Last reply
                      0
                      • citiustechC citiustech

                        i have copied arm opengl file from board to ubuntu desktop system.
                        i have chnaged the qmake.conf file also export path from command line and also set varaible path from command line.but still it gives opengl functionality test error. include path of opengl lib/libs. please help

                        small_birdS Offline
                        small_birdS Offline
                        small_bird
                        wrote on last edited by
                        #15

                        @citiustech I have the same problem, have you solved that? Could you help me? Thanks in advance!

                        1 Reply Last reply
                        0

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved