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. Cross Compile QT for raspberry, error on make

Cross Compile QT for raspberry, error on make

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 3 Posters 1.6k 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.
  • F Offline
    F Offline
    Fransebas
    wrote on last edited by Fransebas
    #1

    Hi, I'm following this tutorial [ https://wiki.qt.io/RaspberryPi2EGLFS ] for building for raspberry and when I start the 'make' it prompt me an error, because the promt is to long and not really know what is important I have it in this file:
    http://www.filedropper.com/make

    Please help I really want to have this done and I've tried a lot.

    From the configuration in promp this: http://www.filedropper.com/config_65, the resume of the config is

    Build parts ............  libs
      Mode ................... release
      Using sanitizer(s)...... none
      Using C++ standard ..... c++11
      Using gold linker....... yes
      Using new DTAGS ........ yes
      Using PCH .............. yes
      Using LTCG ............. no
      Target compiler supports:
        Neon ................. yes
    
    Qt modules and options:
      Qt D-Bus ............... yes (loading dbus-1 at runtime)
      Qt Concurrent .......... yes
      Qt GUI ................. yes
      Qt Widgets ............. yes
      Large File ............. yes
      QML debugging .......... yes
      Use system proxies ..... no
    
    Support enabled for:
      Accessibility .......... yes
      ALSA ................... yes
      CUPS ................... yes
      Evdev .................. yes
      FontConfig ............. yes
      FreeType ............... yes (system library)
      Glib ................... yes
      GStreamer .............. no
      GTK theme .............. no
      HarfBuzz ............... yes (bundled copy)
      Iconv .................. yes
      ICU .................... no
      Image formats: 
        GIF .................. yes (plugin, using bundled copy)
        JPEG ................. yes (plugin, using system library)
        PNG .................. yes (in QtGui, using bundled copy)
      libinput................ no
      Logging backends: 
        journald ............... no
        syslog   ............... no
      mtdev .................. yes (system library)
      Networking: 
        getaddrinfo .......... yes
        getifaddrs ........... yes
        IPv6 ifname .......... yes
        libproxy.............. no
        OpenSSL .............. yes (loading libraries at run-time)
      OpenGL / OpenVG: 
        EGL .................. yes
        OpenGL ............... yes (OpenGL ES 2.0+)
        OpenVG ............... yes-auto
      PCRE ................... yes (bundled copy)
      pkg-config ............. yes 
      PulseAudio ............. no
      QPA backends: 
        DirectFB ............. no
        EGLFS ................ yes
          EGLFS i.MX6 ........ no
          EGLFS i.MX6 Wayland. no
          EGLFS EGLDevice .... no
          EGLFS GBM .......... yes
          EGLFS Mali ......... no
          EGLFS Raspberry Pi . yes
          EGLFS X11 .......... no
        LinuxFB .............. yes
        Mir client............ no
        XCB .................. yes (system library)
          EGL on X ........... no
          GLX ................ yes
          MIT-SHM ............ yes
          Xcb-Xlib ........... yes
          Xcursor ............ yes (loaded at runtime)
          Xfixes ............. yes (loaded at runtime)
          Xi ................. no
          Xi2 ................ yes
          Xinerama ........... yes (loaded at runtime)
          Xrandr ............. yes (loaded at runtime)
          Xrender ............ yes
          XKB ................ no
          XShape ............. yes
          XSync .............. yes
          XVideo ............. yes
      Session management ..... yes
      SQL drivers: 
        DB2 .................. no
        InterBase ............ no
        MySQL ................ no
        OCI .................. no
        ODBC ................. yes (plugin)
        PostgreSQL ........... no
        SQLite 2 ............. yes (plugin)
        SQLite ............... yes (plugin, using bundled copy)
        TDS .................. yes (plugin)
      tslib .................. yes
      udev ................... no
      xkbcommon-x11........... yes (bundled copy, XKB config root: /usr/share/X11/xkb)
      xkbcommon-evdev......... yes
      zlib ................... yes (system library)
    
    Qt is now configured for building. Just run 'make'.
    Once everything is built, you must run 'make install'.
    Qt will be installed into /usr/local/qt5pi
    
    
    A 1 Reply Last reply
    0
    • F Fransebas

      Hi, I'm following this tutorial [ https://wiki.qt.io/RaspberryPi2EGLFS ] for building for raspberry and when I start the 'make' it prompt me an error, because the promt is to long and not really know what is important I have it in this file:
      http://www.filedropper.com/make

      Please help I really want to have this done and I've tried a lot.

      From the configuration in promp this: http://www.filedropper.com/config_65, the resume of the config is

      Build parts ............  libs
        Mode ................... release
        Using sanitizer(s)...... none
        Using C++ standard ..... c++11
        Using gold linker....... yes
        Using new DTAGS ........ yes
        Using PCH .............. yes
        Using LTCG ............. no
        Target compiler supports:
          Neon ................. yes
      
      Qt modules and options:
        Qt D-Bus ............... yes (loading dbus-1 at runtime)
        Qt Concurrent .......... yes
        Qt GUI ................. yes
        Qt Widgets ............. yes
        Large File ............. yes
        QML debugging .......... yes
        Use system proxies ..... no
      
      Support enabled for:
        Accessibility .......... yes
        ALSA ................... yes
        CUPS ................... yes
        Evdev .................. yes
        FontConfig ............. yes
        FreeType ............... yes (system library)
        Glib ................... yes
        GStreamer .............. no
        GTK theme .............. no
        HarfBuzz ............... yes (bundled copy)
        Iconv .................. yes
        ICU .................... no
        Image formats: 
          GIF .................. yes (plugin, using bundled copy)
          JPEG ................. yes (plugin, using system library)
          PNG .................. yes (in QtGui, using bundled copy)
        libinput................ no
        Logging backends: 
          journald ............... no
          syslog   ............... no
        mtdev .................. yes (system library)
        Networking: 
          getaddrinfo .......... yes
          getifaddrs ........... yes
          IPv6 ifname .......... yes
          libproxy.............. no
          OpenSSL .............. yes (loading libraries at run-time)
        OpenGL / OpenVG: 
          EGL .................. yes
          OpenGL ............... yes (OpenGL ES 2.0+)
          OpenVG ............... yes-auto
        PCRE ................... yes (bundled copy)
        pkg-config ............. yes 
        PulseAudio ............. no
        QPA backends: 
          DirectFB ............. no
          EGLFS ................ yes
            EGLFS i.MX6 ........ no
            EGLFS i.MX6 Wayland. no
            EGLFS EGLDevice .... no
            EGLFS GBM .......... yes
            EGLFS Mali ......... no
            EGLFS Raspberry Pi . yes
            EGLFS X11 .......... no
          LinuxFB .............. yes
          Mir client............ no
          XCB .................. yes (system library)
            EGL on X ........... no
            GLX ................ yes
            MIT-SHM ............ yes
            Xcb-Xlib ........... yes
            Xcursor ............ yes (loaded at runtime)
            Xfixes ............. yes (loaded at runtime)
            Xi ................. no
            Xi2 ................ yes
            Xinerama ........... yes (loaded at runtime)
            Xrandr ............. yes (loaded at runtime)
            Xrender ............ yes
            XKB ................ no
            XShape ............. yes
            XSync .............. yes
            XVideo ............. yes
        Session management ..... yes
        SQL drivers: 
          DB2 .................. no
          InterBase ............ no
          MySQL ................ no
          OCI .................. no
          ODBC ................. yes (plugin)
          PostgreSQL ........... no
          SQLite 2 ............. yes (plugin)
          SQLite ............... yes (plugin, using bundled copy)
          TDS .................. yes (plugin)
        tslib .................. yes
        udev ................... no
        xkbcommon-x11........... yes (bundled copy, XKB config root: /usr/share/X11/xkb)
        xkbcommon-evdev......... yes
        zlib ................... yes (system library)
      
      Qt is now configured for building. Just run 'make'.
      Once everything is built, you must run 'make install'.
      Qt will be installed into /usr/local/qt5pi
      
      
      A Offline
      A Offline
      ambershark
      wrote on last edited by
      #2

      @Fransebas Looks like you don't have your environment set up properly.

      First error in that make file is make being unable to find libz, like so:

      error: cannot open /home/fransebas/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libz.so: No such file or directory

      It goes on to not be able to find many other libs. Make sure /home/fransebas/raspi/sysroot/ is setup up with the proper files/libraries.

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      F S 2 Replies Last reply
      1
      • A ambershark

        @Fransebas Looks like you don't have your environment set up properly.

        First error in that make file is make being unable to find libz, like so:

        error: cannot open /home/fransebas/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libz.so: No such file or directory

        It goes on to not be able to find many other libs. Make sure /home/fransebas/raspi/sysroot/ is setup up with the proper files/libraries.

        F Offline
        F Offline
        Fransebas
        wrote on last edited by
        #3

        @ambershark Finally finish, It was a folder wich I didn't have the permission but use chmod and all work, to explain a little in the last post I manage to advance thanks to you but I had another problem but it all finish thanks a lot, really.

        A 1 Reply Last reply
        0
        • F Fransebas

          @ambershark Finally finish, It was a folder wich I didn't have the permission but use chmod and all work, to explain a little in the last post I manage to advance thanks to you but I had another problem but it all finish thanks a lot, really.

          A Offline
          A Offline
          ambershark
          wrote on last edited by
          #4

          @Fransebas No problem, glad you got it worked out. Don't forget to mark this is solved for other people. :)

          My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

          1 Reply Last reply
          0
          • A ambershark

            @Fransebas Looks like you don't have your environment set up properly.

            First error in that make file is make being unable to find libz, like so:

            error: cannot open /home/fransebas/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libz.so: No such file or directory

            It goes on to not be able to find many other libs. Make sure /home/fransebas/raspi/sysroot/ is setup up with the proper files/libraries.

            S Offline
            S Offline
            ShengS
            wrote on last edited by
            #5

            @ambershark
            I have encountered the similar problem, but with some additional libs missing, I have configured both the sysroot usr and sysroot opt on host pc according to the wiki instruction, but according to your regarding the original post, it is due to incorrect file passage, if possibe can I send you a copy of the error msg and I'd much appreciate your opinion.

            A 1 Reply Last reply
            0
            • S ShengS

              @ambershark
              I have encountered the similar problem, but with some additional libs missing, I have configured both the sysroot usr and sysroot opt on host pc according to the wiki instruction, but according to your regarding the original post, it is due to incorrect file passage, if possibe can I send you a copy of the error msg and I'd much appreciate your opinion.

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

              @ShengS Sure send away.. you can also open a new topic and send me a notification and I'll take a look.

              My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

              S 1 Reply Last reply
              0
              • A ambershark

                @ShengS Sure send away.. you can also open a new topic and send me a notification and I'll take a look.

                S Offline
                S Offline
                ShengS
                wrote on last edited by
                #7

                @ambershark Amazing, wasn't expecting such a prompt response, and because of that, I went ahead to start over, if I come across again the problem i will start a new topic and notify you.

                1 Reply Last reply
                1

                • Login

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