Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error building Qt for Raspberry 3 (cross compile)
Forum Updated to NodeBB v4.3 + New Features

Error building Qt for Raspberry 3 (cross compile)

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
10 Posts 3 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Robb_
    wrote on last edited by Robb_
    #1

    Hello together,

    I'm trying to set up Qt for cross compiling with a Raspberry Pi 3.
    The system I want to build my programs on is a virtual machine running Ubuntu 16.04 LTS.
    I've come across a Tutorial on the Qt website: https://wiki.qt.io/RaspberryPi2EGLFS and made it to step 7. I get error messages when trying to run ./configure (-"...all commands") . The configuration stops, as soon as verifyspec.cpp is called and a error message is pushed: collect 2: fatal error: cannot find 'ld'.

    Has somebody done this recently and has any hints oder even a step by step solution?! PLEASE :)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Maybe a silly question but do you have the development tools of your distribution installed on your host system ?

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

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Robb_
        wrote on last edited by
        #3

        Thank you for your response!
        I've just checked for the development tools and everything is installed as it should. Any other ideas?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Did you install the build-essentials package ?

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

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Robb_
            wrote on last edited by
            #5

            Yes I checked this and it was already installed.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Can you compile a standard hello world application ?

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

              1 Reply Last reply
              0
              • R Offline
                R Offline
                Robb_
                wrote on last edited by
                #7

                Yes this is possible.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Ok... That's weird...

                  Can you post the output of the configure part around the failure point ?

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

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    ascnp
                    wrote on last edited by
                    #9

                    check your libs link in rpi3 sysroot. maybe it is broken.

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      Robb_
                      wrote on last edited by
                      #10

                      Thank you for your support so far. I decided to start the coding direktly on the Raspberry. Not the fastest thing but works for me.
                      I've saved the image from my Raspberry and I'll try again, when I have time. I'll let you know.

                      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