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. Qt 5.9.1 crosscompile on raspberry Pi 3
Forum Updated to NodeBB v4.3 + New Features

Qt 5.9.1 crosscompile on raspberry Pi 3

Scheduled Pinned Locked Moved Solved Mobile and Embedded
13 Posts 4 Posters 7.1k Views 2 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.
  • A Offline
    A Offline
    arsinte_andrei
    wrote on last edited by
    #1

    I do not understand why this command :

    ./configure -release -opengl es2  -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v
    

    give this error

    /home/andrei/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.gold: error: verifyspec.o: unknown CPU architecture
    > collect2: error: ld returned 1 exit status
    > Makefile:67: recipe for target 'verifyspec' failed
    > make: *** [verifyspec] Error 1
    Note: Also available for Linux: linux-clang linux-icc
    
    ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.
    
    

    and when running this command :

    ./configure -release -opengl es2 -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v
    

    will configure succesfully, as you can see:

    Configure summary:
    
    Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
    Building for: devices/linux-rasp-pi2-g++ (arm, CPU features: neon)
    Configuration: cross_compile use_gold_linker compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 concurrent dbus mremap reduce_exports stl
    Build options:
      Mode ................................... release
      Optimize release build for size ........ no
      Building shared libraries .............. yes
      Using C++ standard ..................... C++11
      Using gold linker ...................... yes
      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 ................................. yes
      Qt Network ............................. yes
      Qt Sql ................................. yes
      Qt Testlib ............................. yes
      Qt Widgets ............................. yes
      Qt Xml ................................. yes
    Support enabled for:
      Using pkg-config ....................... yes
      QML debugging .......................... yes
      udev ................................... yes
      Using system zlib ...................... yes
    Qt Core:
      DoubleConversion ....................... yes
        Using system DoubleConversion ........ yes
      GLib ................................... yes
      iconv .................................. no
      ICU .................................... yes
      Logging backends:
        journald ............................. no
        syslog ............................... no
        slog2 ................................ no
      Using system PCRE2 ..................... 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 .................................. yes
      OCI (Oracle) ........................... no
      ODBC ................................... yes
      PostgreSQL ............................. yes
      SQLite2 ................................ yes
      SQLite ................................. yes
        Using system provided SQLite ......... no
      TDS (Sybase) ........................... yes
    Qt Gui:
      Accessibility .......................... yes
      FreeType ............................... yes
        Using system FreeType ................ yes
      HarfBuzz ............................... yes
        Using system HarfBuzz ................ yes
      Fontconfig ............................. yes
      Image formats:
        GIF .................................. yes
        ICO .................................. yes
        JPEG ................................. yes
          Using system libjpeg ............... yes
        PNG .................................. yes
          Using system libpng ................ yes
      EGL .................................... yes
      OpenVG ................................. no
      OpenGL:
        Desktop OpenGL ....................... no
        OpenGL ES 2.0 ........................ yes
        OpenGL ES 3.0 ........................ yes
        OpenGL ES 3.1 ........................ yes
      Session Management ..................... yes
    Features used by QPA backends:
      evdev .................................. yes
      libinput ............................... yes
      mtdev .................................. yes
      tslib .................................. yes
      xkbcommon-evdev ........................ yes
    QPA backends:
      DirectFB ............................... no
      EGLFS .................................. yes
      EGLFS details:
        EGLFS i.Mx6 .......................... no
        EGLFS i.Mx6 Wayland .................. no
        EGLFS EGLDevice ...................... no
        EGLFS GBM ............................ yes
        EGLFS Mali ........................... no
        EGLFS Raspberry Pi ................... yes
        EGL on X11 ........................... no
      LinuxFB ................................ yes
      VNC .................................... yes
      Mir client ............................. no
      X11:
        Using system-provided XCB libraries .. yes
        EGL on X11 ........................... no
        Xinput2 .............................. yes
        XCB XKB .............................. yes
        XLib ................................. yes
        XCB render ........................... yes
        XCB GLX .............................. yes
        XCB Xlib ............................. yes
        Using system-provided xkbcommon ...... no
    Qt Widgets:
      GTK+ ................................... no
      Styles ................................. Fusion Windows
    Qt PrintSupport:
      CUPS ................................... yes
    Qt SerialBus:
      Socket CAN ............................. yes
      Socket CAN FD .......................... yes
    QtXmlPatterns:
      XML schema support ..................... yes
    Qt QML:
      QML interpreter ........................ yes
      QML network support .................... yes
    Qt Quick:
      Direct3D 12 ............................ no
      AnimatedImage item ..................... yes
      Canvas item ............................ yes
      Support for Quick Designer ............. yes
      Flipable item .......................... yes
      GridView item .......................... yes
      ListView item .......................... yes
      Path support ........................... yes
      PathView item .......................... yes
      Positioner items ....................... yes
      ShaderEffect item ...................... yes
      Sprite item ............................ yes
    Qt Gamepad:
      SDL2 ................................... no
    Qt 3D:
      Assimp ................................. yes
      System Assimp .......................... no
      Output Qt3D Job traces ................. no
      Output Qt3D GL traces .................. no
    Qt 3D GeometryLoaders:
      Autodesk FBX ........................... no
    Qt Wayland Drivers:
      EGL .................................... yes
      Raspberry Pi ........................... yes
      XComposite EGL ......................... no
      XComposite GLX ......................... no
      DRM EGL ................................ no
      libhybris EGL .......................... no
    Qt Wayland Client ........................ yes
    Qt Wayland Compositor .................... yes
    Qt Bluetooth:
      BlueZ .................................. no
      BlueZ Low Energy ....................... no
      Linux Crypto API ....................... no
    Qt Sensors:
      sensorfw ............................... no
    Qt Multimedia:
      ALSA ................................... yes
      GStreamer 1.0 .......................... yes
      GStreamer 0.10 ......................... no
      Video for Linux ........................ yes
      OpenAL ................................. no
      PulseAudio ............................. yes
      Resource Policy (libresourceqt5) ....... no
      Windows Audio Services ................. no
      DirectShow ............................. no
      Windows Media Foundation ............... no
    Qt Quick Controls 2:
      Styles ................................. Default Material Universal
    Qt Quick Templates 2:
      Hover support .......................... yes
    Qt Location:
      Gypsy GPS Daemon ....................... no
      WinRT Geolocation API .................. no
    Qt WebEngine:
      Embedded build ......................... yes
      Pepper Plugins ......................... no
      Printing and PDF ....................... no
      Proprietary Codecs ..................... no
      Spellchecker ........................... yes
      WebRTC ................................. no
      Using system ninja ..................... no
      ALSA ................................... yes
      PulseAudio ............................. yes
      System libraries:
        ICU .................................. no
        libwebp and libwebpdemux ............. no
        Opus ................................. no
        ffmpeg ............................... no
    
    Note: Also available for Linux: linux-clang linux-icc
    
    Note: PKG_CONFIG_LIBDIR automatically set to /home/andrei/raspi/sysroot/usr/lib/pkgconfig:/home/andrei/raspi/sysroot/usr/share/pkgconfig:/home/andrei/raspi/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig
    
    Note: PKG_CONFIG_SYSROOT_DIR automatically set to /home/andrei/raspi/sysroot
    
    Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
    
    Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'.
    
    Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'.
    
    

    what did I miss out?
    the only difference is between : linux-rasp-pi2-g++ and linux-rasp-pi3-g++...
    Why is this?? how can I fix it? same error in 5.9.1 and 5.9.0

    jsulmJ raven-worxR 2 Replies Last reply
    0
    • A arsinte_andrei

      I do not understand why this command :

      ./configure -release -opengl es2  -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v
      

      give this error

      /home/andrei/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.gold: error: verifyspec.o: unknown CPU architecture
      > collect2: error: ld returned 1 exit status
      > Makefile:67: recipe for target 'verifyspec' failed
      > make: *** [verifyspec] Error 1
      Note: Also available for Linux: linux-clang linux-icc
      
      ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.
      
      

      and when running this command :

      ./configure -release -opengl es2 -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v
      

      will configure succesfully, as you can see:

      Configure summary:
      
      Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
      Building for: devices/linux-rasp-pi2-g++ (arm, CPU features: neon)
      Configuration: cross_compile use_gold_linker compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 concurrent dbus mremap reduce_exports stl
      Build options:
        Mode ................................... release
        Optimize release build for size ........ no
        Building shared libraries .............. yes
        Using C++ standard ..................... C++11
        Using gold linker ...................... yes
        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 ................................. yes
        Qt Network ............................. yes
        Qt Sql ................................. yes
        Qt Testlib ............................. yes
        Qt Widgets ............................. yes
        Qt Xml ................................. yes
      Support enabled for:
        Using pkg-config ....................... yes
        QML debugging .......................... yes
        udev ................................... yes
        Using system zlib ...................... yes
      Qt Core:
        DoubleConversion ....................... yes
          Using system DoubleConversion ........ yes
        GLib ................................... yes
        iconv .................................. no
        ICU .................................... yes
        Logging backends:
          journald ............................. no
          syslog ............................... no
          slog2 ................................ no
        Using system PCRE2 ..................... 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 .................................. yes
        OCI (Oracle) ........................... no
        ODBC ................................... yes
        PostgreSQL ............................. yes
        SQLite2 ................................ yes
        SQLite ................................. yes
          Using system provided SQLite ......... no
        TDS (Sybase) ........................... yes
      Qt Gui:
        Accessibility .......................... yes
        FreeType ............................... yes
          Using system FreeType ................ yes
        HarfBuzz ............................... yes
          Using system HarfBuzz ................ yes
        Fontconfig ............................. yes
        Image formats:
          GIF .................................. yes
          ICO .................................. yes
          JPEG ................................. yes
            Using system libjpeg ............... yes
          PNG .................................. yes
            Using system libpng ................ yes
        EGL .................................... yes
        OpenVG ................................. no
        OpenGL:
          Desktop OpenGL ....................... no
          OpenGL ES 2.0 ........................ yes
          OpenGL ES 3.0 ........................ yes
          OpenGL ES 3.1 ........................ yes
        Session Management ..................... yes
      Features used by QPA backends:
        evdev .................................. yes
        libinput ............................... yes
        mtdev .................................. yes
        tslib .................................. yes
        xkbcommon-evdev ........................ yes
      QPA backends:
        DirectFB ............................... no
        EGLFS .................................. yes
        EGLFS details:
          EGLFS i.Mx6 .......................... no
          EGLFS i.Mx6 Wayland .................. no
          EGLFS EGLDevice ...................... no
          EGLFS GBM ............................ yes
          EGLFS Mali ........................... no
          EGLFS Raspberry Pi ................... yes
          EGL on X11 ........................... no
        LinuxFB ................................ yes
        VNC .................................... yes
        Mir client ............................. no
        X11:
          Using system-provided XCB libraries .. yes
          EGL on X11 ........................... no
          Xinput2 .............................. yes
          XCB XKB .............................. yes
          XLib ................................. yes
          XCB render ........................... yes
          XCB GLX .............................. yes
          XCB Xlib ............................. yes
          Using system-provided xkbcommon ...... no
      Qt Widgets:
        GTK+ ................................... no
        Styles ................................. Fusion Windows
      Qt PrintSupport:
        CUPS ................................... yes
      Qt SerialBus:
        Socket CAN ............................. yes
        Socket CAN FD .......................... yes
      QtXmlPatterns:
        XML schema support ..................... yes
      Qt QML:
        QML interpreter ........................ yes
        QML network support .................... yes
      Qt Quick:
        Direct3D 12 ............................ no
        AnimatedImage item ..................... yes
        Canvas item ............................ yes
        Support for Quick Designer ............. yes
        Flipable item .......................... yes
        GridView item .......................... yes
        ListView item .......................... yes
        Path support ........................... yes
        PathView item .......................... yes
        Positioner items ....................... yes
        ShaderEffect item ...................... yes
        Sprite item ............................ yes
      Qt Gamepad:
        SDL2 ................................... no
      Qt 3D:
        Assimp ................................. yes
        System Assimp .......................... no
        Output Qt3D Job traces ................. no
        Output Qt3D GL traces .................. no
      Qt 3D GeometryLoaders:
        Autodesk FBX ........................... no
      Qt Wayland Drivers:
        EGL .................................... yes
        Raspberry Pi ........................... yes
        XComposite EGL ......................... no
        XComposite GLX ......................... no
        DRM EGL ................................ no
        libhybris EGL .......................... no
      Qt Wayland Client ........................ yes
      Qt Wayland Compositor .................... yes
      Qt Bluetooth:
        BlueZ .................................. no
        BlueZ Low Energy ....................... no
        Linux Crypto API ....................... no
      Qt Sensors:
        sensorfw ............................... no
      Qt Multimedia:
        ALSA ................................... yes
        GStreamer 1.0 .......................... yes
        GStreamer 0.10 ......................... no
        Video for Linux ........................ yes
        OpenAL ................................. no
        PulseAudio ............................. yes
        Resource Policy (libresourceqt5) ....... no
        Windows Audio Services ................. no
        DirectShow ............................. no
        Windows Media Foundation ............... no
      Qt Quick Controls 2:
        Styles ................................. Default Material Universal
      Qt Quick Templates 2:
        Hover support .......................... yes
      Qt Location:
        Gypsy GPS Daemon ....................... no
        WinRT Geolocation API .................. no
      Qt WebEngine:
        Embedded build ......................... yes
        Pepper Plugins ......................... no
        Printing and PDF ....................... no
        Proprietary Codecs ..................... no
        Spellchecker ........................... yes
        WebRTC ................................. no
        Using system ninja ..................... no
        ALSA ................................... yes
        PulseAudio ............................. yes
        System libraries:
          ICU .................................. no
          libwebp and libwebpdemux ............. no
          Opus ................................. no
          ffmpeg ............................... no
      
      Note: Also available for Linux: linux-clang linux-icc
      
      Note: PKG_CONFIG_LIBDIR automatically set to /home/andrei/raspi/sysroot/usr/lib/pkgconfig:/home/andrei/raspi/sysroot/usr/share/pkgconfig:/home/andrei/raspi/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig
      
      Note: PKG_CONFIG_SYSROOT_DIR automatically set to /home/andrei/raspi/sysroot
      
      Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
      
      Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'.
      
      Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'.
      
      

      what did I miss out?
      the only difference is between : linux-rasp-pi2-g++ and linux-rasp-pi3-g++...
      Why is this?? how can I fix it? same error in 5.9.1 and 5.9.0

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

      @arsinte_andrei said in Qt 5.9.1 crosscompile on raspberry Pi 3:

      arm-linux-gnueabihf/4.8.3

      I'm not sure I'm correct, but isn't 4.8.3 a bit old? Do you have the current compiler tool-chain?

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

      A 1 Reply Last reply
      0
      • jsulmJ jsulm

        @arsinte_andrei said in Qt 5.9.1 crosscompile on raspberry Pi 3:

        arm-linux-gnueabihf/4.8.3

        I'm not sure I'm correct, but isn't 4.8.3 a bit old? Do you have the current compiler tool-chain?

        A Offline
        A Offline
        arsinte_andrei
        wrote on last edited by
        #3

        @jsulm I've followed this well known tutorial and I do not know where to take a new version of it.. what is the latest?
        the source of the compiler is https://github.com/raspberrypi/tools.
        can you help me to get a better one?

        jsulmJ 1 Reply Last reply
        0
        • A arsinte_andrei

          @jsulm I've followed this well known tutorial and I do not know where to take a new version of it.. what is the latest?
          the source of the compiler is https://github.com/raspberrypi/tools.
          can you help me to get a better one?

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

          @arsinte_andrei The link you posted points to GCC 4.9.3

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

          A 1 Reply Last reply
          0
          • A arsinte_andrei

            I do not understand why this command :

            ./configure -release -opengl es2  -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v
            

            give this error

            /home/andrei/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.gold: error: verifyspec.o: unknown CPU architecture
            > collect2: error: ld returned 1 exit status
            > Makefile:67: recipe for target 'verifyspec' failed
            > make: *** [verifyspec] Error 1
            Note: Also available for Linux: linux-clang linux-icc
            
            ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.
            
            

            and when running this command :

            ./configure -release -opengl es2 -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v
            

            will configure succesfully, as you can see:

            Configure summary:
            
            Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
            Building for: devices/linux-rasp-pi2-g++ (arm, CPU features: neon)
            Configuration: cross_compile use_gold_linker compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 concurrent dbus mremap reduce_exports stl
            Build options:
              Mode ................................... release
              Optimize release build for size ........ no
              Building shared libraries .............. yes
              Using C++ standard ..................... C++11
              Using gold linker ...................... yes
              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 ................................. yes
              Qt Network ............................. yes
              Qt Sql ................................. yes
              Qt Testlib ............................. yes
              Qt Widgets ............................. yes
              Qt Xml ................................. yes
            Support enabled for:
              Using pkg-config ....................... yes
              QML debugging .......................... yes
              udev ................................... yes
              Using system zlib ...................... yes
            Qt Core:
              DoubleConversion ....................... yes
                Using system DoubleConversion ........ yes
              GLib ................................... yes
              iconv .................................. no
              ICU .................................... yes
              Logging backends:
                journald ............................. no
                syslog ............................... no
                slog2 ................................ no
              Using system PCRE2 ..................... 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 .................................. yes
              OCI (Oracle) ........................... no
              ODBC ................................... yes
              PostgreSQL ............................. yes
              SQLite2 ................................ yes
              SQLite ................................. yes
                Using system provided SQLite ......... no
              TDS (Sybase) ........................... yes
            Qt Gui:
              Accessibility .......................... yes
              FreeType ............................... yes
                Using system FreeType ................ yes
              HarfBuzz ............................... yes
                Using system HarfBuzz ................ yes
              Fontconfig ............................. yes
              Image formats:
                GIF .................................. yes
                ICO .................................. yes
                JPEG ................................. yes
                  Using system libjpeg ............... yes
                PNG .................................. yes
                  Using system libpng ................ yes
              EGL .................................... yes
              OpenVG ................................. no
              OpenGL:
                Desktop OpenGL ....................... no
                OpenGL ES 2.0 ........................ yes
                OpenGL ES 3.0 ........................ yes
                OpenGL ES 3.1 ........................ yes
              Session Management ..................... yes
            Features used by QPA backends:
              evdev .................................. yes
              libinput ............................... yes
              mtdev .................................. yes
              tslib .................................. yes
              xkbcommon-evdev ........................ yes
            QPA backends:
              DirectFB ............................... no
              EGLFS .................................. yes
              EGLFS details:
                EGLFS i.Mx6 .......................... no
                EGLFS i.Mx6 Wayland .................. no
                EGLFS EGLDevice ...................... no
                EGLFS GBM ............................ yes
                EGLFS Mali ........................... no
                EGLFS Raspberry Pi ................... yes
                EGL on X11 ........................... no
              LinuxFB ................................ yes
              VNC .................................... yes
              Mir client ............................. no
              X11:
                Using system-provided XCB libraries .. yes
                EGL on X11 ........................... no
                Xinput2 .............................. yes
                XCB XKB .............................. yes
                XLib ................................. yes
                XCB render ........................... yes
                XCB GLX .............................. yes
                XCB Xlib ............................. yes
                Using system-provided xkbcommon ...... no
            Qt Widgets:
              GTK+ ................................... no
              Styles ................................. Fusion Windows
            Qt PrintSupport:
              CUPS ................................... yes
            Qt SerialBus:
              Socket CAN ............................. yes
              Socket CAN FD .......................... yes
            QtXmlPatterns:
              XML schema support ..................... yes
            Qt QML:
              QML interpreter ........................ yes
              QML network support .................... yes
            Qt Quick:
              Direct3D 12 ............................ no
              AnimatedImage item ..................... yes
              Canvas item ............................ yes
              Support for Quick Designer ............. yes
              Flipable item .......................... yes
              GridView item .......................... yes
              ListView item .......................... yes
              Path support ........................... yes
              PathView item .......................... yes
              Positioner items ....................... yes
              ShaderEffect item ...................... yes
              Sprite item ............................ yes
            Qt Gamepad:
              SDL2 ................................... no
            Qt 3D:
              Assimp ................................. yes
              System Assimp .......................... no
              Output Qt3D Job traces ................. no
              Output Qt3D GL traces .................. no
            Qt 3D GeometryLoaders:
              Autodesk FBX ........................... no
            Qt Wayland Drivers:
              EGL .................................... yes
              Raspberry Pi ........................... yes
              XComposite EGL ......................... no
              XComposite GLX ......................... no
              DRM EGL ................................ no
              libhybris EGL .......................... no
            Qt Wayland Client ........................ yes
            Qt Wayland Compositor .................... yes
            Qt Bluetooth:
              BlueZ .................................. no
              BlueZ Low Energy ....................... no
              Linux Crypto API ....................... no
            Qt Sensors:
              sensorfw ............................... no
            Qt Multimedia:
              ALSA ................................... yes
              GStreamer 1.0 .......................... yes
              GStreamer 0.10 ......................... no
              Video for Linux ........................ yes
              OpenAL ................................. no
              PulseAudio ............................. yes
              Resource Policy (libresourceqt5) ....... no
              Windows Audio Services ................. no
              DirectShow ............................. no
              Windows Media Foundation ............... no
            Qt Quick Controls 2:
              Styles ................................. Default Material Universal
            Qt Quick Templates 2:
              Hover support .......................... yes
            Qt Location:
              Gypsy GPS Daemon ....................... no
              WinRT Geolocation API .................. no
            Qt WebEngine:
              Embedded build ......................... yes
              Pepper Plugins ......................... no
              Printing and PDF ....................... no
              Proprietary Codecs ..................... no
              Spellchecker ........................... yes
              WebRTC ................................. no
              Using system ninja ..................... no
              ALSA ................................... yes
              PulseAudio ............................. yes
              System libraries:
                ICU .................................. no
                libwebp and libwebpdemux ............. no
                Opus ................................. no
                ffmpeg ............................... no
            
            Note: Also available for Linux: linux-clang linux-icc
            
            Note: PKG_CONFIG_LIBDIR automatically set to /home/andrei/raspi/sysroot/usr/lib/pkgconfig:/home/andrei/raspi/sysroot/usr/share/pkgconfig:/home/andrei/raspi/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig
            
            Note: PKG_CONFIG_SYSROOT_DIR automatically set to /home/andrei/raspi/sysroot
            
            Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
            
            Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'.
            
            Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'.
            
            

            what did I miss out?
            the only difference is between : linux-rasp-pi2-g++ and linux-rasp-pi3-g++...
            Why is this?? how can I fix it? same error in 5.9.1 and 5.9.0

            raven-worxR Offline
            raven-worxR Offline
            raven-worx
            Moderators
            wrote on last edited by
            #5

            @arsinte_andrei
            just FYI: www.qtrpi.com

            --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
            If you have a question please use the forum so others can benefit from the solution in the future

            A 1 Reply Last reply
            0
            • raven-worxR raven-worx

              @arsinte_andrei
              just FYI: www.qtrpi.com

              A Offline
              A Offline
              arsinte_andrei
              wrote on last edited by
              #6

              @raven-worx the version used there is Qt5.7 witch is a bit old

              raven-worxR 1 Reply Last reply
              0
              • jsulmJ jsulm

                @arsinte_andrei The link you posted points to GCC 4.9.3

                A Offline
                A Offline
                arsinte_andrei
                wrote on last edited by
                #7

                @jsulm in which folder there are many folders there. this folder I used:
                ~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-

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

                  This is the result :

                  Build options:
                    Mode ................................... release
                    Optimize release build for size ........ no
                    Building shared libraries .............. yes
                    Using C++ standard ..................... C++11
                    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 ................................. yes
                    Qt Network ............................. yes
                    Qt Sql ................................. yes
                    Qt Testlib ............................. yes
                    Qt Widgets ............................. yes
                    Qt Xml ................................. yes
                  Support enabled for:
                    Using pkg-config ....................... yes
                    QML debugging .......................... yes
                    udev ................................... yes
                    Using system zlib ...................... yes
                  Qt Core:
                    DoubleConversion ....................... yes
                      Using system DoubleConversion ........ no
                    GLib ................................... yes
                    iconv .................................. yes
                    ICU .................................... no
                    Logging backends:
                      journald ............................. no
                      syslog ............................... no
                      slog2 ................................ no
                    Using system PCRE2 ..................... 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 Gui:
                    Accessibility .......................... yes
                    FreeType ............................... yes
                      Using system FreeType ................ yes
                    HarfBuzz ............................... yes
                      Using system HarfBuzz ................ no
                    Fontconfig ............................. yes
                    Image formats:
                      GIF .................................. yes
                      ICO .................................. yes
                      JPEG ................................. yes
                        Using system libjpeg ............... yes
                      PNG .................................. yes
                        Using system libpng ................ yes
                    EGL .................................... yes
                    OpenVG ................................. yes
                    OpenGL:
                      Desktop OpenGL ....................... no
                      OpenGL ES 2.0 ........................ yes
                      OpenGL ES 3.0 ........................ no
                      OpenGL ES 3.1 ........................ no
                    Session Management ..................... yes
                  Features used by QPA backends:
                    evdev .................................. yes
                    libinput ............................... yes
                    INTEGRITY HID .......................... no
                    mtdev .................................. yes
                    tslib .................................. yes
                    xkbcommon-evdev ........................ yes
                  QPA backends:
                    DirectFB ............................... no
                    EGLFS .................................. yes
                    EGLFS details:
                      EGLFS i.Mx6 .......................... no
                      EGLFS i.Mx6 Wayland .................. no
                      EGLFS EGLDevice ...................... no
                      EGLFS GBM ............................ yes
                      EGLFS Mali ........................... no
                      EGLFS Raspberry Pi ................... yes
                      EGL on X11 ........................... no
                    LinuxFB ................................ yes
                    VNC .................................... yes
                    Mir client ............................. no
                    X11:
                      Using system-provided XCB libraries .. yes
                      EGL on X11 ........................... no
                      Xinput2 .............................. yes
                      XCB XKB .............................. yes
                      XLib ................................. yes
                      XCB render ........................... yes
                      XCB GLX .............................. yes
                      XCB Xlib ............................. yes
                      Using system-provided xkbcommon ...... no
                  Qt Widgets:
                    GTK+ ................................... no
                    Styles ................................. Fusion Windows
                  Qt PrintSupport:
                    CUPS ................................... yes
                  Qt Sql:
                    DB2 (IBM) .............................. no
                    InterBase .............................. no
                    MySql .................................. no
                    OCI (Oracle) ........................... no
                    ODBC ................................... yes
                    PostgreSQL ............................. yes
                    SQLite2 ................................ yes
                    SQLite ................................. yes
                      Using system provided SQLite ......... no
                    TDS (Sybase) ........................... yes
                  Qt SerialBus:
                    Socket CAN ............................. yes
                    Socket CAN FD .......................... yes
                  QtXmlPatterns:
                    XML schema support ..................... yes
                  Qt QML:
                    QML interpreter ........................ yes
                    QML network support .................... yes
                  Qt Quick:
                    Direct3D 12 ............................ no
                    AnimatedImage item ..................... yes
                    Canvas item ............................ yes
                    Support for Qt Quick Designer .......... yes
                    Flipable item .......................... yes
                    GridView item .......................... yes
                    ListView item .......................... yes
                    Path support ........................... yes
                    PathView item .......................... yes
                    Positioner items ....................... yes
                    ShaderEffect item ...................... yes
                    Sprite item ............................ yes
                  Qt Gamepad:
                    SDL2 ................................... no
                  Qt 3D:
                    Assimp ................................. yes
                    System Assimp .......................... no
                    Output Qt3D Job traces ................. no
                    Output Qt3D GL traces .................. no
                  Qt 3D GeometryLoaders:
                    Autodesk FBX ........................... no
                  Qt Wayland Drivers:
                    EGL .................................... yes
                    Raspberry Pi ........................... yes
                    XComposite EGL ......................... no
                    XComposite GLX ......................... no
                    DRM EGL ................................ no
                    libhybris EGL .......................... no
                  Qt Wayland Client ........................ yes
                  Qt Wayland Compositor .................... yes
                  Qt Bluetooth:
                    BlueZ .................................. no
                    BlueZ Low Energy ....................... no
                    Linux Crypto API ....................... no
                  Qt Sensors:
                    sensorfw ............................... no
                  Qt Multimedia:
                    ALSA ................................... yes
                    GStreamer 1.0 .......................... yes
                    GStreamer 0.10 ......................... no
                    Video for Linux ........................ yes
                    OpenAL ................................. no
                    PulseAudio ............................. yes
                    Resource Policy (libresourceqt5) ....... no
                    Windows Audio Services ................. no
                    DirectShow ............................. no
                    Windows Media Foundation ............... no
                  Qt Quick Controls 2:
                    Styles ................................. Default Material Universal
                  Qt Quick Templates 2:
                    Hover support .......................... yes
                    Multi-touch support .................... yes
                  Qt Location:
                    Gypsy GPS Daemon ....................... no
                    WinRT Geolocation API .................. no
                  Qt WebEngine:
                    Embedded build ......................... yes
                    Pepper Plugins ......................... no
                    Printing and PDF ....................... no
                    Proprietary Codecs ..................... no
                    Spellchecker ........................... yes
                    WebRTC ................................. no
                    Using system ninja ..................... no
                    ALSA ................................... yes
                    PulseAudio ............................. yes
                    System libraries:
                      ICU .................................. no
                      libwebp and libwebpdemux ............. no
                      Opus ................................. no
                      ffmpeg ............................... no
                  
                  Note: Also available for Linux: linux-clang linux-icc
                  
                  Note: PKG_CONFIG_LIBDIR automatically set to /home/andrei/raspi/sysroot/usr/lib/pkgconfig:/home/andrei/raspi/sysroot/usr/share/pkgconfig:/home/andrei/raspi/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig
                  
                  Note: PKG_CONFIG_SYSROOT_DIR automatically set to /home/andrei/raspi/sysroot
                  
                  Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
                  
                  Note: Disabling Linux Accessibility Bridge: D-Bus is missing.
                  
                  Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'.
                  
                  Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'.
                  
                  Qt is now configured for building. Just run 'make'.
                  Once everything is built, you must run 'make install'.
                  Qt will be installed into '/home/andrei/raspi/qt5pi'.
                  
                  Prior to reconfiguration, make sure you remove any leftovers from
                  the previous build.
                  
                  
                  

                  with this command:

                  ./configure -release -opengl es2  -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v
                  
                  1 Reply Last reply
                  0
                  • A arsinte_andrei

                    @raven-worx the version used there is Qt5.7 witch is a bit old

                    raven-worxR Offline
                    raven-worxR Offline
                    raven-worx
                    Moderators
                    wrote on last edited by
                    #9

                    @arsinte_andrei said in Qt 5.9.1 crosscompile on raspberry Pi 3:

                    @raven-worx the version used there is Qt5.7 witch is a bit old

                    the prebuilt ones yes.
                    But it provides a toolchain to cross-compile Qt yourself -> see git repo

                    --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                    If you have a question please use the forum so others can benefit from the solution in the future

                    A 1 Reply Last reply
                    0
                    • raven-worxR raven-worx

                      @arsinte_andrei said in Qt 5.9.1 crosscompile on raspberry Pi 3:

                      @raven-worx the version used there is Qt5.7 witch is a bit old

                      the prebuilt ones yes.
                      But it provides a toolchain to cross-compile Qt yourself -> see git repo

                      A Offline
                      A Offline
                      arsinte_andrei
                      wrote on last edited by
                      #10

                      @raven-worx
                      After some looking around I've decided to go another way... hope to be easier.
                      I've run this in my host

                      sudo apt-get install g++-arm-linux-gnueabihf
                      

                      and everything was fine... on config,

                      ./configure -release -opengl es2  -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v
                      

                      good on make but on

                      make install
                      

                      I'm getting this

                      In file included from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.cpp:55:0:
                      /home/andrei/raspi/sysroot/opt/vc/include/GLES2/gl2.h:78:0: warning: "GL_FALSE" redefined
                       #define GL_FALSE                          (GLboolean)0
                       ^
                      In file included from /home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtbase/include/QtGui/../../src/gui/opengl/qopengl.h:105:0,
                                       from /home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtbase/include/QtGui/qopengl.h:1,
                                       from ../../../../../include/QtWaylandCompositor/../../src/compositor/compositor_api/qwaylandbufferref.h:47,
                                       from ../../../../../include/QtWaylandCompositor/qwaylandbufferref.h:1,
                                       from ../../../../../include/QtWaylandCompositor/5.9.1/QtWaylandCompositor/private/../../../../../src/compositor/hardware_integration/qwlclientbufferintegration_p.h:56,
                                       from ../../../../../include/QtWaylandCompositor/5.9.1/QtWaylandCompositor/private/qwlclientbufferintegration_p.h:1,
                                       from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.h:43,
                                       from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.cpp:40:
                      /home/andrei/raspi/sysroot/usr/include/GLES3/gl31.h:83:0: note: this is the location of the previous definition
                       #define GL_FALSE                          0
                       ^
                      In file included from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.cpp:55:0:
                      /home/andrei/raspi/sysroot/opt/vc/include/GLES2/gl2.h:79:0: warning: "GL_TRUE" redefined
                       #define GL_TRUE                           (GLboolean)1
                       ^
                      In file included from /home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtbase/include/QtGui/../../src/gui/opengl/qopengl.h:105:0,
                                       from /home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtbase/include/QtGui/qopengl.h:1,
                                       from ../../../../../include/QtWaylandCompositor/../../src/compositor/compositor_api/qwaylandbufferref.h:47,
                                       from ../../../../../include/QtWaylandCompositor/qwaylandbufferref.h:1,
                                       from ../../../../../include/QtWaylandCompositor/5.9.1/QtWaylandCompositor/private/../../../../../src/compositor/hardware_integration/qwlclientbufferintegration_p.h:56,
                                       from ../../../../../include/QtWaylandCompositor/5.9.1/QtWaylandCompositor/private/qwlclientbufferintegration_p.h:1,
                                       from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.h:43,
                                       from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.cpp:40:
                      /home/andrei/raspi/sysroot/usr/include/GLES3/gl31.h:84:0: note: this is the location of the previous definition
                       #define GL_TRUE                           1
                       ^
                      In file included from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.cpp:55:0:
                      /home/andrei/raspi/sysroot/opt/vc/include/GLES2/gl2.h:600:125: error: conflicting declaration of C function ‘void glShaderSource(GLuint, GLsizei, const GLchar**, const GLint*)’
                       GL_APICALL void         GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar** string, const GLint* length);
                                                                                                                                                   ^
                      In file included from /home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtbase/include/QtGui/../../src/gui/opengl/qopengl.h:105:0,
                                       from /home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtbase/include/QtGui/qopengl.h:1,
                                       from ../../../../../include/QtWaylandCompositor/../../src/compositor/compositor_api/qwaylandbufferref.h:47,
                                       from ../../../../../include/QtWaylandCompositor/qwaylandbufferref.h:1,
                                       from ../../../../../include/QtWaylandCompositor/5.9.1/QtWaylandCompositor/private/../../../../../src/compositor/hardware_integration/qwlclientbufferintegration_p.h:56,
                                       from ../../../../../include/QtWaylandCompositor/5.9.1/QtWaylandCompositor/private/qwlclientbufferintegration_p.h:1,
                                       from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.h:43,
                                       from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.cpp:40:
                      /home/andrei/raspi/sysroot/usr/include/GLES3/gl31.h:621:29: note: previous declaration ‘void glShaderSource(GLuint, GLsizei, const GLchar* const*, const GLint*)’
                       GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
                                                   ^
                      Makefile:1833: recipe for target '.obj/brcmeglintegration.o' failed
                      make[6]: *** [.obj/brcmeglintegration.o] Error 1
                      make[6]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins/hardwareintegration/compositor/brcm-egl'
                      Makefile:82: recipe for target 'sub-brcm-egl-install_subtargets' failed
                      make[5]: *** [sub-brcm-egl-install_subtargets] Error 2
                      make[5]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins/hardwareintegration/compositor'
                      Makefile:82: recipe for target 'sub-compositor-install_subtargets' failed
                      make[4]: *** [sub-compositor-install_subtargets] Error 2
                      make[4]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins/hardwareintegration'
                      Makefile:84: recipe for target 'sub-hardwareintegration-install_subtargets' failed
                      make[3]: *** [sub-hardwareintegration-install_subtargets] Error 2
                      make[3]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins'
                      Makefile:162: recipe for target 'sub-plugins-install_subtargets' failed
                      make[2]: *** [sub-plugins-install_subtargets] Error 2
                      make[2]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src'
                      Makefile:58: recipe for target 'sub-src-install_subtargets' failed
                      make[1]: *** [sub-src-install_subtargets] Error 2
                      make[1]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland'
                      Makefile:529: recipe for target 'module-qtwayland-install_subtargets' failed
                      make: *** [module-qtwayland-install_subtargets] Error 2
                      
                      

                      May I know why?? and how can I repair it? What I'm doing wrong?? this time is looking more closer to finis... but just at 99.99% getting that... :((

                      A 1 Reply Last reply
                      0
                      • A arsinte_andrei

                        @raven-worx
                        After some looking around I've decided to go another way... hope to be easier.
                        I've run this in my host

                        sudo apt-get install g++-arm-linux-gnueabihf
                        

                        and everything was fine... on config,

                        ./configure -release -opengl es2  -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v
                        

                        good on make but on

                        make install
                        

                        I'm getting this

                        In file included from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.cpp:55:0:
                        /home/andrei/raspi/sysroot/opt/vc/include/GLES2/gl2.h:78:0: warning: "GL_FALSE" redefined
                         #define GL_FALSE                          (GLboolean)0
                         ^
                        In file included from /home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtbase/include/QtGui/../../src/gui/opengl/qopengl.h:105:0,
                                         from /home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtbase/include/QtGui/qopengl.h:1,
                                         from ../../../../../include/QtWaylandCompositor/../../src/compositor/compositor_api/qwaylandbufferref.h:47,
                                         from ../../../../../include/QtWaylandCompositor/qwaylandbufferref.h:1,
                                         from ../../../../../include/QtWaylandCompositor/5.9.1/QtWaylandCompositor/private/../../../../../src/compositor/hardware_integration/qwlclientbufferintegration_p.h:56,
                                         from ../../../../../include/QtWaylandCompositor/5.9.1/QtWaylandCompositor/private/qwlclientbufferintegration_p.h:1,
                                         from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.h:43,
                                         from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.cpp:40:
                        /home/andrei/raspi/sysroot/usr/include/GLES3/gl31.h:83:0: note: this is the location of the previous definition
                         #define GL_FALSE                          0
                         ^
                        In file included from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.cpp:55:0:
                        /home/andrei/raspi/sysroot/opt/vc/include/GLES2/gl2.h:79:0: warning: "GL_TRUE" redefined
                         #define GL_TRUE                           (GLboolean)1
                         ^
                        In file included from /home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtbase/include/QtGui/../../src/gui/opengl/qopengl.h:105:0,
                                         from /home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtbase/include/QtGui/qopengl.h:1,
                                         from ../../../../../include/QtWaylandCompositor/../../src/compositor/compositor_api/qwaylandbufferref.h:47,
                                         from ../../../../../include/QtWaylandCompositor/qwaylandbufferref.h:1,
                                         from ../../../../../include/QtWaylandCompositor/5.9.1/QtWaylandCompositor/private/../../../../../src/compositor/hardware_integration/qwlclientbufferintegration_p.h:56,
                                         from ../../../../../include/QtWaylandCompositor/5.9.1/QtWaylandCompositor/private/qwlclientbufferintegration_p.h:1,
                                         from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.h:43,
                                         from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.cpp:40:
                        /home/andrei/raspi/sysroot/usr/include/GLES3/gl31.h:84:0: note: this is the location of the previous definition
                         #define GL_TRUE                           1
                         ^
                        In file included from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.cpp:55:0:
                        /home/andrei/raspi/sysroot/opt/vc/include/GLES2/gl2.h:600:125: error: conflicting declaration of C function ‘void glShaderSource(GLuint, GLsizei, const GLchar**, const GLint*)’
                         GL_APICALL void         GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar** string, const GLint* length);
                                                                                                                                                     ^
                        In file included from /home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtbase/include/QtGui/../../src/gui/opengl/qopengl.h:105:0,
                                         from /home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtbase/include/QtGui/qopengl.h:1,
                                         from ../../../../../include/QtWaylandCompositor/../../src/compositor/compositor_api/qwaylandbufferref.h:47,
                                         from ../../../../../include/QtWaylandCompositor/qwaylandbufferref.h:1,
                                         from ../../../../../include/QtWaylandCompositor/5.9.1/QtWaylandCompositor/private/../../../../../src/compositor/hardware_integration/qwlclientbufferintegration_p.h:56,
                                         from ../../../../../include/QtWaylandCompositor/5.9.1/QtWaylandCompositor/private/qwlclientbufferintegration_p.h:1,
                                         from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.h:43,
                                         from ../../../../hardwareintegration/compositor/brcm-egl/brcmeglintegration.cpp:40:
                        /home/andrei/raspi/sysroot/usr/include/GLES3/gl31.h:621:29: note: previous declaration ‘void glShaderSource(GLuint, GLsizei, const GLchar* const*, const GLint*)’
                         GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
                                                     ^
                        Makefile:1833: recipe for target '.obj/brcmeglintegration.o' failed
                        make[6]: *** [.obj/brcmeglintegration.o] Error 1
                        make[6]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins/hardwareintegration/compositor/brcm-egl'
                        Makefile:82: recipe for target 'sub-brcm-egl-install_subtargets' failed
                        make[5]: *** [sub-brcm-egl-install_subtargets] Error 2
                        make[5]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins/hardwareintegration/compositor'
                        Makefile:82: recipe for target 'sub-compositor-install_subtargets' failed
                        make[4]: *** [sub-compositor-install_subtargets] Error 2
                        make[4]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins/hardwareintegration'
                        Makefile:84: recipe for target 'sub-hardwareintegration-install_subtargets' failed
                        make[3]: *** [sub-hardwareintegration-install_subtargets] Error 2
                        make[3]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins'
                        Makefile:162: recipe for target 'sub-plugins-install_subtargets' failed
                        make[2]: *** [sub-plugins-install_subtargets] Error 2
                        make[2]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src'
                        Makefile:58: recipe for target 'sub-src-install_subtargets' failed
                        make[1]: *** [sub-src-install_subtargets] Error 2
                        make[1]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland'
                        Makefile:529: recipe for target 'module-qtwayland-install_subtargets' failed
                        make: *** [module-qtwayland-install_subtargets] Error 2
                        
                        

                        May I know why?? and how can I repair it? What I'm doing wrong?? this time is looking more closer to finis... but just at 99.99% getting that... :((

                        A Offline
                        A Offline
                        arsinte_andrei
                        wrote on last edited by
                        #11

                        it seems that the error is from compiling the wayland for RPI 3. other modules seem to work I've uploaded what was there and is working... I did not test wayland.. I do not know how...

                        1 Reply Last reply
                        0
                        • R Offline
                          R Offline
                          rolando.esq
                          wrote on last edited by
                          #12

                          Hi,
                          This topic seems to be too old, but did you get any solution for this issue?
                          make[6]: *** [.obj/brcmeglintegration.o] Error 1
                          make[6]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins/hardwareintegration/compositor/brcm-egl'
                          Makefile:82: recipe for target 'sub-brcm-egl-install_subtargets' failed
                          make[5]: *** [sub-brcm-egl-install_subtargets] Error 2
                          make[5]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins/hardwareintegration/compositor'
                          Makefile:82: recipe for target 'sub-compositor-install_subtargets' failed
                          make[4]: *** [sub-compositor-install_subtargets] Error 2
                          make[4]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins/hardwareintegration'
                          Makefile:84: recipe for target 'sub-hardwareintegration-install_subtargets' failed
                          make[3]: *** [sub-hardwareintegration-install_subtargets] Error 2
                          make[3]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins'
                          Makefile:162: recipe for target 'sub-plugins-install_subtargets' failed
                          make[2]: *** [sub-plugins-install_subtargets] Error 2
                          make[2]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src'
                          Makefile:58: recipe for target 'sub-src-install_subtargets' failed
                          make[1]: *** [sub-src-install_subtargets] Error 2
                          make[1]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland'
                          Makefile:529: recipe for target 'module-qtwayland-install_subtargets' failed
                          make: *** [module-qtwayland-install_subtargets] Error 2

                          jsulmJ 1 Reply Last reply
                          0
                          • R rolando.esq

                            Hi,
                            This topic seems to be too old, but did you get any solution for this issue?
                            make[6]: *** [.obj/brcmeglintegration.o] Error 1
                            make[6]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins/hardwareintegration/compositor/brcm-egl'
                            Makefile:82: recipe for target 'sub-brcm-egl-install_subtargets' failed
                            make[5]: *** [sub-brcm-egl-install_subtargets] Error 2
                            make[5]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins/hardwareintegration/compositor'
                            Makefile:82: recipe for target 'sub-compositor-install_subtargets' failed
                            make[4]: *** [sub-compositor-install_subtargets] Error 2
                            make[4]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins/hardwareintegration'
                            Makefile:84: recipe for target 'sub-hardwareintegration-install_subtargets' failed
                            make[3]: *** [sub-hardwareintegration-install_subtargets] Error 2
                            make[3]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src/plugins'
                            Makefile:162: recipe for target 'sub-plugins-install_subtargets' failed
                            make[2]: *** [sub-plugins-install_subtargets] Error 2
                            make[2]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland/src'
                            Makefile:58: recipe for target 'sub-src-install_subtargets' failed
                            make[1]: *** [sub-src-install_subtargets] Error 2
                            make[1]: Leaving directory '/home/andrei/raspi/qt-everywhere-opensource-src-5.9.1/qtwayland'
                            Makefile:529: recipe for target 'module-qtwayland-install_subtargets' failed
                            make: *** [module-qtwayland-install_subtargets] Error 2

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

                            @rolando.esq You did not post the actual error which is somewhere before the lines you posted.

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

                            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