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. I built Qt Everywhere for beaglebone black (OS Debian) but fail, somebody used to built it success can help me?
Forum Updated to NodeBB v4.3 + New Features

I built Qt Everywhere for beaglebone black (OS Debian) but fail, somebody used to built it success can help me?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
43 Posts 3 Posters 27.0k Views
  • 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.
  • jsulmJ jsulm

    @Dang-Vu I actually wanted to see the output generated during all the tests which are executed by configure. What you pasted is after that tests.

    D Offline
    D Offline
    Dang Vu
    wrote on last edited by
    #27

    @jsulm i configure below:

    sudo ./configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=~/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- 
    -sysroot /mnt/bbb-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5bbb -hostprefix /usr/local/qt5bbb -no-xcb -qt-zlib -no-opengl -qt-libpng -nomake examples -nomake tests -no-xkb -no-kms -eglfs -no-xcb -no-accessibility -opengl es2 -no-gui -no-widgets -no-egl -openssl -no-qml-debug -v
    

    all out put:

    Configure summary:
    
    Building on:  x86_64
    Building for: arm
    Configuration: cross_compile compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 c++14 concurrent dbus no-gui mremap no-qml-debug reduce_exports release_tools stl no-widgets
    Build options:
      Mode ................................... release; optimized tools
      Building shared libraries .............. yes
      Using C++ standard ..................... C++14
      Using gold linker ...................... no
      Using new DTAGS ........................ yes
      Using precompiled headers .............. yes
      Using LTCG ............................. no
      Target compiler supports:
        NEON ................................. yes
      Build parts ............................ libs
    Qt modules and options:
      Qt Concurrent .......................... yes
      Qt D-Bus ............................... yes
      Qt D-Bus directly linked to libdbus .... yes
      Qt Gui ................................. no
      Qt Widgets ............................. no
    Support enabled for:
      Accessibility .......................... no
      Using pkg-config ....................... yes
      QML debugging .......................... no
      udev ................................... no
      Using system zlib ...................... no
    Qt Core:
      DoubleConversion ....................... yes
        Using system DoubleConversion ........ no
      GLib ................................... no
      iconv .................................. yes
      ICU .................................... no
      Logging backends:
        journald ............................. no
        syslog ............................... no
      Using system PCRE ...................... no
    Qt Network:
      getaddrinfo() .......................... yes
      getifaddrs() ........................... yes
      IPv6 ifname ............................ yes
      libproxy ............................... no
      OpenSSL ................................ yes
        Qt directly linked to OpenSSL ........ no
      SCTP ................................... no
      Use system proxies ..................... yes
    Qt Sql:
      DB2 (IBM) .............................. no
      InterBase .............................. no
      MySql .................................. no
      OCI (Oracle) ........................... no
      ODBC ................................... no
      PostgreSQL ............................. no
      SQLite2 ................................ no
      SQLite ................................. yes
        Using system provided SQLite ......... no
      TDS (Sybase) ........................... no
    Qt Gui:
      FreeType ............................... yes
        Using system FreeType ................ no
      HarfBuzz ............................... yes
        Using system HarfBuzz ................ no
      Fontconfig ............................. no
      Image formats:
        GIF .................................. yes
        ICO .................................. yes
        JPEG ................................. yes
          Using system libjpeg ............... no
        PNG .................................. yes
          Using system libpng ................ no
      OpenGL:
        EGL .................................. no
        Desktop OpenGL ....................... no
        OpenGL ES 2.0 ........................ no
        OpenGL ES 3.0 ........................ no
        OpenGL ES 3.1 ........................ no
      Session Management ..................... yes
    Features used by QPA backends:
      evdev .................................. yes
      libinput ............................... no
      mtdev .................................. no
      tslib .................................. no
      xkbcommon-evdev ........................ no
    QPA backends:
      DirectFB ............................... no
      EGLFS .................................. no
      LinuxFB ................................ yes
      Mir client ............................. no
    Qt Widgets:
      GTK+ ................................... no
      Styles ................................. Fusion Windows
    Qt PrintSupport:
      CUPS ................................... no
    
    Note: -optimized-tools is not useful in -release mode.
    
    WARNING: Accessibility disabled. This configuration of Qt is unsupported.
    
    ERROR: Feature 'opengles2' was enabled, but the pre-condition 'config.win32 || (!config.watchos && !features.opengl-desktop && libs.opengl_es2)' failed.
    
    ERROR: Feature 'eglfs' was enabled, but the pre-condition 'features.egl' failed.
    
    D 1 Reply Last reply
    0
    • D Dang Vu

      @jsulm i configure below:

      sudo ./configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=~/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- 
      -sysroot /mnt/bbb-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5bbb -hostprefix /usr/local/qt5bbb -no-xcb -qt-zlib -no-opengl -qt-libpng -nomake examples -nomake tests -no-xkb -no-kms -eglfs -no-xcb -no-accessibility -opengl es2 -no-gui -no-widgets -no-egl -openssl -no-qml-debug -v
      

      all out put:

      Configure summary:
      
      Building on:  x86_64
      Building for: arm
      Configuration: cross_compile compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 c++14 concurrent dbus no-gui mremap no-qml-debug reduce_exports release_tools stl no-widgets
      Build options:
        Mode ................................... release; optimized tools
        Building shared libraries .............. yes
        Using C++ standard ..................... C++14
        Using gold linker ...................... no
        Using new DTAGS ........................ yes
        Using precompiled headers .............. yes
        Using LTCG ............................. no
        Target compiler supports:
          NEON ................................. yes
        Build parts ............................ libs
      Qt modules and options:
        Qt Concurrent .......................... yes
        Qt D-Bus ............................... yes
        Qt D-Bus directly linked to libdbus .... yes
        Qt Gui ................................. no
        Qt Widgets ............................. no
      Support enabled for:
        Accessibility .......................... no
        Using pkg-config ....................... yes
        QML debugging .......................... no
        udev ................................... no
        Using system zlib ...................... no
      Qt Core:
        DoubleConversion ....................... yes
          Using system DoubleConversion ........ no
        GLib ................................... no
        iconv .................................. yes
        ICU .................................... no
        Logging backends:
          journald ............................. no
          syslog ............................... no
        Using system PCRE ...................... no
      Qt Network:
        getaddrinfo() .......................... yes
        getifaddrs() ........................... yes
        IPv6 ifname ............................ yes
        libproxy ............................... no
        OpenSSL ................................ yes
          Qt directly linked to OpenSSL ........ no
        SCTP ................................... no
        Use system proxies ..................... yes
      Qt Sql:
        DB2 (IBM) .............................. no
        InterBase .............................. no
        MySql .................................. no
        OCI (Oracle) ........................... no
        ODBC ................................... no
        PostgreSQL ............................. no
        SQLite2 ................................ no
        SQLite ................................. yes
          Using system provided SQLite ......... no
        TDS (Sybase) ........................... no
      Qt Gui:
        FreeType ............................... yes
          Using system FreeType ................ no
        HarfBuzz ............................... yes
          Using system HarfBuzz ................ no
        Fontconfig ............................. no
        Image formats:
          GIF .................................. yes
          ICO .................................. yes
          JPEG ................................. yes
            Using system libjpeg ............... no
          PNG .................................. yes
            Using system libpng ................ no
        OpenGL:
          EGL .................................. no
          Desktop OpenGL ....................... no
          OpenGL ES 2.0 ........................ no
          OpenGL ES 3.0 ........................ no
          OpenGL ES 3.1 ........................ no
        Session Management ..................... yes
      Features used by QPA backends:
        evdev .................................. yes
        libinput ............................... no
        mtdev .................................. no
        tslib .................................. no
        xkbcommon-evdev ........................ no
      QPA backends:
        DirectFB ............................... no
        EGLFS .................................. no
        LinuxFB ................................ yes
        Mir client ............................. no
      Qt Widgets:
        GTK+ ................................... no
        Styles ................................. Fusion Windows
      Qt PrintSupport:
        CUPS ................................... no
      
      Note: -optimized-tools is not useful in -release mode.
      
      WARNING: Accessibility disabled. This configuration of Qt is unsupported.
      
      ERROR: Feature 'opengles2' was enabled, but the pre-condition 'config.win32 || (!config.watchos && !features.opengl-desktop && libs.opengl_es2)' failed.
      
      ERROR: Feature 'eglfs' was enabled, but the pre-condition 'features.egl' failed.
      
      D Offline
      D Offline
      Dang Vu
      wrote on last edited by
      #28

      @Dang-Vu out put during all a test? your mean is everything while configure run? i'll make a word file for you!

      jsulmJ 1 Reply Last reply
      0
      • D Dang Vu

        @Dang-Vu out put during all a test? your mean is everything while configure run? i'll make a word file for you!

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #29

        @Dang-Vu Word file? Why not just a text file?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        D 1 Reply Last reply
        0
        • jsulmJ jsulm

          @Dang-Vu Word file? Why not just a text file?

          D Offline
          D Offline
          Dang Vu
          wrote on last edited by
          #30

          @jsulm said in I built Qt Everywhere for beaglebone black (OS Debian) but fail, somebody used to built it success can help me?:

          Word file? Why not just a text file?

          i can't understand the "output file" which your mention! and, i recent bought a Rasperry pi3... may be i change a Beaglebone to Raperrry, you have a expericent a Rapperry?

          jsulmJ 1 Reply Last reply
          0
          • D Dang Vu

            @jsulm said in I built Qt Everywhere for beaglebone black (OS Debian) but fail, somebody used to built it success can help me?:

            Word file? Why not just a text file?

            i can't understand the "output file" which your mention! and, i recent bought a Rasperry pi3... may be i change a Beaglebone to Raperrry, you have a expericent a Rapperry?

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #31

            @Dang-Vu What "output file"? You just execute configure with -v parameter, copy all its output, open a text editor, paste the stuff there and safe it as file (or paste it here). That's all.
            With RaspberryPi it will be similar. See here https://wiki.qt.io/RaspberryPi_Beginners_Guide

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            D 1 Reply Last reply
            0
            • jsulmJ jsulm

              @Dang-Vu What "output file"? You just execute configure with -v parameter, copy all its output, open a text editor, paste the stuff there and safe it as file (or paste it here). That's all.
              With RaspberryPi it will be similar. See here https://wiki.qt.io/RaspberryPi_Beginners_Guide

              D Offline
              D Offline
              Dang Vu
              wrote on last edited by
              #32

              @jsulm it file you need, sir!

              https://drive.google.com/file/d/0BxlMhouhD6_YYlN4N3R6b2Faazg/view
              

              please downloads it!
              my confifgure

              sudo ./configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=~/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/bbb-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5bbb -hostprefix /usr/local/qt5bbb -no-xcb -qt-zlib -no-opengl -qt-libpng -nomake examples -nomake tests -no-xkb -no-kms -eglfs -no-xcb -no-accessibility -no-opengl -gui -no-widgets -openssl -no-qml-debug -v
              
              
              jsulmJ 1 Reply Last reply
              0
              • D Dang Vu

                @jsulm it file you need, sir!

                https://drive.google.com/file/d/0BxlMhouhD6_YYlN4N3R6b2Faazg/view
                

                please downloads it!
                my confifgure

                sudo ./configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=~/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/bbb-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5bbb -hostprefix /usr/local/qt5bbb -no-xcb -qt-zlib -no-opengl -qt-libpng -nomake examples -nomake tests -no-xkb -no-kms -eglfs -no-xcb -no-accessibility -no-opengl -gui -no-widgets -openssl -no-qml-debug -v
                
                
                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #33

                @Dang-Vu Why do you disable OpenGL: -no-opengl ?

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                D 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @Dang-Vu Why do you disable OpenGL: -no-opengl ?

                  D Offline
                  D Offline
                  Dang Vu
                  wrote on last edited by
                  #34

                  @jsulm oh sorry! my mistake, but when i delete it the result is same! i will upload file sir!

                  D 1 Reply Last reply
                  0
                  • D Dang Vu

                    @jsulm oh sorry! my mistake, but when i delete it the result is same! i will upload file sir!

                    D Offline
                    D Offline
                    Dang Vu
                    wrote on last edited by
                    #35

                    @Dang-Vu
                    my file i fix Sir!

                    https://drive.google.com/file/d/0BxlMhouhD6_YN2ltT3hmcjE2NVE/view
                    

                    my configure sir

                    sudo ./configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=~/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/bbb-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5bbb -hostprefix /usr/local/qt5bbb -no-xcb -qt-zlib -no-opengl -qt-libpng -nomake examples -nomake tests -no-xkb -no-kms -eglfs -no-xcb -no-accessibility -egl -openssl -no-qml-debug -v
                    
                    jsulmJ 1 Reply Last reply
                    0
                    • D Dang Vu

                      @Dang-Vu
                      my file i fix Sir!

                      https://drive.google.com/file/d/0BxlMhouhD6_YN2ltT3hmcjE2NVE/view
                      

                      my configure sir

                      sudo ./configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=~/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/bbb-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5bbb -hostprefix /usr/local/qt5bbb -no-xcb -qt-zlib -no-opengl -qt-libpng -nomake examples -nomake tests -no-xkb -no-kms -eglfs -no-xcb -no-accessibility -egl -openssl -no-qml-debug -v
                      
                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #36

                      @Dang-Vu

                      Your configure again contains -no-opengl

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      D 1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @Dang-Vu

                        Your configure again contains -no-opengl

                        D Offline
                        D Offline
                        Dang Vu
                        wrote on last edited by Dang Vu
                        #37

                        @jsulm oh! sr....i coppy wrong! but it's still error

                        WARNING: Accessibility disabled. This configuration of Qt is unsupported.
                        
                        ERROR: Feature 'egl' was enabled, but the pre-condition 'features.opengl && (features.angle || libs.egl)' failed.
                        
                        ERROR: Feature 'eglfs' was enabled, but the pre-condition 'features.egl' failed.
                        
                        ERROR: The OpenGL functionality tests failed!
                        You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
                        QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
                        

                        out put here!

                        https://drive.google.com/file/d/0BxlMhouhD6_YdE0zaWhxQV9Uc3M/view
                        
                        sudo ./configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=~/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/bbb-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5bbb -hostprefix /usr/local/qt5bbb -no-xcb -qt-zlib -qt-libpng -nomake examples -nomake tests -no-xkb -no-kms -eglfs -no-xcb -no-accessibility -egl -openssl -no-qml-debug -v
                        
                        jsulmJ 1 Reply Last reply
                        0
                        • D Dang Vu

                          @jsulm oh! sr....i coppy wrong! but it's still error

                          WARNING: Accessibility disabled. This configuration of Qt is unsupported.
                          
                          ERROR: Feature 'egl' was enabled, but the pre-condition 'features.opengl && (features.angle || libs.egl)' failed.
                          
                          ERROR: Feature 'eglfs' was enabled, but the pre-condition 'features.egl' failed.
                          
                          ERROR: The OpenGL functionality tests failed!
                          You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
                          QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
                          

                          out put here!

                          https://drive.google.com/file/d/0BxlMhouhD6_YdE0zaWhxQV9Uc3M/view
                          
                          sudo ./configure -device linux-beagleboard-g++ -device-option CROSS_COMPILE=~/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/bbb-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5bbb -hostprefix /usr/local/qt5bbb -no-xcb -qt-zlib -qt-libpng -nomake examples -nomake tests -no-xkb -no-kms -eglfs -no-xcb -no-accessibility -egl -openssl -no-qml-debug -v
                          
                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #38

                          @Dang-Vu Your sysroot is missing OpenGL libs:

                          /home/ngocvu/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lGL
                          

                          OpenGL ES failed as well:

                          /mnt/bbb-rootfs/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `_glapi_tls_Dispatch'
                          

                          not sure what lib is missing.

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          D 2 Replies Last reply
                          0
                          • jsulmJ jsulm

                            @Dang-Vu Your sysroot is missing OpenGL libs:

                            /home/ngocvu/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lGL
                            

                            OpenGL ES failed as well:

                            /mnt/bbb-rootfs/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `_glapi_tls_Dispatch'
                            

                            not sure what lib is missing.

                            D Offline
                            D Offline
                            Dang Vu
                            wrote on last edited by
                            #39

                            @jsulm oh! how can i fix this error? trouble opengl it's terrible! i will research this error and if really necessary i will contact to mesa! thanks sir!

                            1 Reply Last reply
                            0
                            • jsulmJ jsulm

                              @Dang-Vu Your sysroot is missing OpenGL libs:

                              /home/ngocvu/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.9.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lGL
                              

                              OpenGL ES failed as well:

                              /mnt/bbb-rootfs/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `_glapi_tls_Dispatch'
                              

                              not sure what lib is missing.

                              D Offline
                              D Offline
                              Dang Vu
                              wrote on last edited by
                              #40

                              @jsulm maybe cause a debian.img? i will try some various image to check out!

                              jsulmJ 1 Reply Last reply
                              0
                              • D Dang Vu

                                @jsulm maybe cause a debian.img? i will try some various image to check out!

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #41

                                @Dang-Vu If you're running Debian you can simply install needed packages (including -dev packages) for OpenGL.

                                https://forum.qt.io/topic/113070/qt-code-of-conduct

                                D 1 Reply Last reply
                                0
                                • jsulmJ jsulm

                                  @Dang-Vu If you're running Debian you can simply install needed packages (including -dev packages) for OpenGL.

                                  D Offline
                                  D Offline
                                  Dang Vu
                                  wrote on last edited by
                                  #42

                                  @jsulm said in I built Qt Everywhere for beaglebone black (OS Debian) but fail, somebody used to built it success can help me?:

                                  (including -dev packages

                                  i was installed:

                                  sudo apt-get install build-essential libgl1-mesa-dev
                                  sudo apt-get install freeglut3 freeglut3-dev mesa-common-dev 
                                  sudo apt-get install libglut3-dev
                                  sudo apt-get install libglapi-mesa && sudo apt-get install libosmesa6
                                  apt-get install mesa-utils
                                  

                                  on debian....
                                  can deficient some packed?

                                  1 Reply Last reply
                                  0
                                  • W Offline
                                    W Offline
                                    wegatron
                                    wrote on last edited by
                                    #43

                                    I met the same problem when i execute the command "./configure" in linux alpine. just see this https://forum.qt.io/topic/78224/opengl-test-failed-when-configure-qt-asource

                                    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