Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Unsolved Cross compile gets stuck on "Running configuration tests"

    General and Desktop
    2
    8
    2313
    Loading More Posts
    • 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.
    • J
      Jinxvar last edited by

      Hi, I have been following this guide Raspberry pi 2 embedded Qt cross compile to get Qt 5.5.0 working.

      However, when I follow the guide it keeps getting stuck at "Running configuration tests" and never finishes.

      Any1 any idea?

      best regards,
      Jinx.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        Make the configure process verbose (add -v to configure) to see what is happening

        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 Reply Quote 0
        • J
          Jinxvar last edited by

          Hi, thx 4 getting back 2 me so fast! :)
          I already did a verbose, below is the output I'm getting. Is there anything that could break this? I'm kinda new to this.

          Below is the entire output from mingw32 (msys)

          $ ../qt-everywhere-opensource-src-5.5.0/configure -verbose -platform win32-g++
          -xplatform linux-arm-gnueabi-g++ -release -opengl es2 -device linux-rasp-pi2-g+
          + -sysroot G:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot -prefix /usr/local/q
          t5 -device-option CROSS_COMPILE=G:/SysGCC/Raspberry/bin/arm-linux-gnueabihf- -q
          t-xcb
          + cd qtbase
          + /g/sysdownload/qt-everywhere-opensource-src-5.5.0/qtbase/configure -top-level
          -verbose -platform win32-g++ -xplatform linux-arm-gnueabi-g++ -release -opengl e
          s2 -device linux-rasp-pi2-g++ -sysroot G:/SysGCC/Raspberry/arm-linux-gnueabihf/s
          ysroot -prefix /usr/local/qt5 -device-option CROSS_COMPILE=G:/SysGCC/Raspberry/b
          in/arm-linux-gnueabihf- -qt-xcb
          Which edition of Qt do you want to use ?
          
          Type 'c' if you want to use the Commercial Edition.
          Type 'o' if you want to use the Open Source Edition.
          
          o
          
          
          This is the Qt Open Source Edition.
          
          You are licensed to use this software under the terms of
          the Lesser GNU General Public License (LGPL) versions 2.1.
          You are also licensed to use this software under the terms of
          the GNU Lesser General Public License (LGPL) versions 3.
          
          Type '3' to view the GNU Lesser General Public License version 3.
          Type 'L' to view the Lesser GNU General Public License version 2.1.
          Type 'yes' to accept this license offer.
          Type 'no' to decline this license offer.
          
          Do you accept the terms of either license? yes
          
          Performing shadow build...
          Preparing build tree...
          Precompiled-headers support enabled.
          G:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-g++ -c -fvisibility=hidden fvisibili
          ty.c
          Symbol visibility control enabled.
          g:/sysgcc/raspberry/bin/../lib/gcc/arm-linux-gnueabihf/4.9/../../../../arm-linux
          -gnueabihf/bin/ld.gold.exe: -plugin: unknown option
          g:/sysgcc/raspberry/bin/../lib/gcc/arm-linux-gnueabihf/4.9/../../../../arm-linux
          -gnueabihf/bin/ld.gold.exe: use the --help option for usage information
          collect2.exe: error: ld returned 1 exit status
          G:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-g++ --sysroot=G:/SysGCC/Raspberry/ar
          m-linux-gnueabihf/sysroot -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC b
          symbolic_functions.c
          bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this arch
          itecture may be broken, disabling it (see QTBUG-36129)."
           #error "Symbolic function binding on this architecture may be broken, disabling
           it (see QTBUG-36129)."
            ^
          Symbolic function binding disabled.
          tee: /dev/stderr: No such file or directory
          Running configuration tests...
          
          
          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Did you first try without verbose ?

            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 Reply Quote 0
            • J
              Jinxvar last edited by

              Yes, same behaviour

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                I wonder if it's a Windows version problem. I'd check with the author of the guide to ensure you are working with the same tools.

                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 Reply Quote 0
                • J
                  Jinxvar last edited by

                  Hi, just to let you know. Eventually I did a local build of Qt 5.5 on the Raspberry Pi itself. It took about 1041 minutes, but is working fine now! :)

                  1 Reply Last reply Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    Too bad you couldn't make it work on Windows…

                    If you need more raw power to develop your applications, one alternative is to have a virtual machine with a Linux distribution for the cross-compilation part.

                    In any case, happy coding ! :)

                    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 Reply Quote 0
                    • First post
                      Last post