Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt embedded compile with opengl error...
Forum Updated to NodeBB v4.3 + New Features

Qt embedded compile with opengl error...

Scheduled Pinned Locked Moved Installation and Deployment
11 Posts 4 Posters 6.0k 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.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 12 Aug 2013, 18:45 last edited by
    #2

    Hi and welcome to devnet,

    Did you ensure that the libs and header were put in a folder that can be found by the configuration script ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • M Offline
      M Offline
      minamiman
      wrote on 12 Aug 2013, 21:44 last edited by
      #3

      Yes, I checked libs and header path in configiration

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 13 Aug 2013, 08:19 last edited by
        #4

        Can you re-run configure with -v ? That should show you where the failure happens

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • M Offline
          M Offline
          minamiman
          wrote on 13 Aug 2013, 09:18 last edited by
          #5

          thans you for your apply...
          when i was doing with -v option,
          error message is below...

          =======================================================
          arm-none-linux-gnueabi-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I../../../../tslib-master/arm_tslib/include -I/usr/include/GLES2 -o opengles2.o opengles2.cpp
          cc1plus: warning: include location "/usr/include/GLES2" is unsafe for cross-compilation
          opengles2.cpp:45: fatal error: GLES2/gl2.h: No such file or directory

          but there is /usr/include/GLES2 folder and gl2.h file...

          ======================================================
          ls -al /usr/include/GLES2/
          total 100
          drwxr-xr-x 2 root root 4096 jun 31 11:06 ./
          drwxr-xr-x 95 root root 12288 jun 8 17:28 ../
          -rw-r--r-- 1 root root 31914 jun 19 05:54 gl2.h
          -rw-r--r-- 1 root root 48666 jun 19 05:54 gl2ext.h
          -rw-r--r-- 1 root root 909 jun 19 05:54 gl2platform.h

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 13 Aug 2013, 09:47 last edited by
            #6

            Did you install the ARM headers/libs in your system folders ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sachintm
              wrote on 3 Sept 2013, 12:35 last edited by
              #7

              Hello SGaist,

              I am also getting the below error, while configuring Qt with opengl -es2 option. Can you please elaborate, how to install ARM headers/libs in system folders ?

              Error:
              opengles2.cpp:45: fatal error: GLES2/gl2.h: No such file or directory

              Thanks,
              Sachin

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 3 Sept 2013, 14:03 last edited by
                #8

                Installing ARM headers/libs in system folders is wrong.

                You have a tool chain with it's own set of headers and libraries. Copy then needed files there. (You can get them i.e from the debian packages)

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sachintm
                  wrote on 5 Sept 2013, 12:02 last edited by
                  #9

                  Hi,

                  I am having problem in providing finding the lib -lGLESv2 in the downloaded packages. But there is a lib -lGLESv2x present in the package. But, the configuration is searching for -lGLESv2.

                  How do I solve this issue ?

                  Note: I am using Red-hat Linux.

                  Thanks,
                  Sachin

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 5 Sept 2013, 12:41 last edited by
                    #10

                    From the debian packages: "libgles2-mesa-dev" and its friends

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      John2014
                      wrote on 22 Jun 2014, 04:17 last edited by
                      #11

                      Hi,
                      I met the same issue as you,have you solved this issue? I cannot solve this issue despite reading many forum posts,I feel loses very much.What should be done to solve this issue?
                      Thanks,
                      John2014

                      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