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 6.0 build from source on Raspberry Pi 4 "Opengl functionality tests failed"
Forum Updated to NodeBB v4.3 + New Features

Qt 6.0 build from source on Raspberry Pi 4 "Opengl functionality tests failed"

Scheduled Pinned Locked Moved Solved Mobile and Embedded
27 Posts 6 Posters 11.7k 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.
  • K Offline
    K Offline
    Kelenyche
    wrote on 7 Jan 2021, 18:17 last edited by
    #5

    I have, but I'm not able to discern much of use from them. There's not really any mention of opengl in them, so I can't see exactly what's failing. I'd post the whole thing but the files are HUGE. Is that useful? Also fyi I'm limited in how often I can post since I'm new. :)

    it does look like a lot of the actions had this failure:

    Performing C++ SOURCE FILE Test HAVE_d2d1_1 failed with the following output:
    Change Dir: /home/pi/Desktop/Qt6/src/CMakeFiles/CMakeTmp
    

    I can't tell if that's useful.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 7 Jan 2021, 18:27 last edited by
      #6

      Might be a silly question but did you install the dev packages of the OpenGL libraries ?

      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
      • K Offline
        K Offline
        Kelenyche
        wrote on 7 Jan 2021, 18:31 last edited by
        #7

        Yes, I've installed a bunch of different opengl packages based on similar threads around the internet.
        fwiw I can't see it in the /usr/lib directory, but I'm not 100% that's where it should be.
        running glxinfo "grep "OpenGL version" gives: 2.1 Mesa 19.3.2

        So it's there, but I guess the Qt configuration is maybe looking in the wrong place for it?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 7 Jan 2021, 18:37 last edited by
          #8

          There's the catch: you have the normal package to use by application and you have their dev version for development purpose hence my question about them being installed.

          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
          1
          • K Offline
            K Offline
            Kelenyche
            wrote on 7 Jan 2021, 18:51 last edited by
            #9

            I'm not sure this is the issue - probably the command I ran to get the version only shows the normal package, I don't know how to show the dev package versions. To make sure I went back through all the steps I could find to install dev packages:
            sudo apt-get install freeglut3
            sudo apt-get install freeglut3-dev
            sudo apt-get install binutils-gold
            sudo apt-get install libglew-dev
            sudo apt-get install mesa-common-dev
            sudo apt-get install libglew1.5-dev libglm-dev
            sudo apt-get install libgles2-mesa-dev
            sudo apt-get install xorg-dev

            A few of these installed packages I didn't have before. After a reboot and rerunning the Qt6 configuration, same issue.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 7 Jan 2021, 20:44 last edited by
              #10

              One thing that you can do is to install the build dependencies of the Qt 5 OpenGL package.

              apt-get build-dep libqt5opengl5
              

              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
              • K Offline
                K Offline
                Kelenyche
                wrote on 7 Jan 2021, 21:21 last edited by
                #11

                It seemed so promising! But the same error at the end.

                I'll list out what I did so the next poor lost soul can follow along.
                so for me that returned an error: You must put some source URIs in your sources.list.
                I went to etc/apt/sources.list and uncommented the bottom three lines.
                After retrying, it said two packages were missing, one of which had another dependent package that was missing.

                sudo apt-get install libgtk-3-dev
                sudo apt-get install libegl-mesa0
                sudo apt-get install libgbm-dev

                Then I retried your command, and it spent a while building everything. But like I said when I tried the ./configure stuff again I ended with the same message.

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  Kelenyche
                  wrote on 7 Jan 2021, 21:31 last edited by
                  #12

                  So maybe it's worth noting the reason I'm building from source is because the online installer executable isn't running on my pi. I'm running the new 64-bit Raspberry Pi OS image, but it's not recognizing the 64-bit executable. Googling that hasn't been much help, it's mostly people that have mismatched the executable and operating system, but as far as I can tell, mine should match. Any insight there? If I get that working life might be a lot easier.

                  J 1 Reply Last reply 8 Jan 2021, 05:27
                  0
                  • K Kelenyche
                    7 Jan 2021, 21:31

                    So maybe it's worth noting the reason I'm building from source is because the online installer executable isn't running on my pi. I'm running the new 64-bit Raspberry Pi OS image, but it's not recognizing the 64-bit executable. Googling that hasn't been much help, it's mostly people that have mismatched the executable and operating system, but as far as I can tell, mine should match. Any insight there? If I get that working life might be a lot easier.

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 8 Jan 2021, 05:27 last edited by
                    #13

                    @Kelenyche said in Qt 6.0 build from source on Raspberry Pi 4 "Opengl functionality tests failed":

                    but it's not recognizing the 64-bit executable

                    Do you mean the online installer from Qt Company web site? That one is for x86_64, not ARM.

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

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      Kelenyche
                      wrote on 8 Jan 2021, 13:49 last edited by
                      #14

                      Ah, that makes sense. So that means if I'm gonna get this installed on a Pi I have to build from source then.

                      1 Reply Last reply
                      0
                      • K Offline
                        K Offline
                        Kelenyche
                        wrote on 8 Jan 2021, 15:58 last edited by
                        #15

                        Holy Geez I solved it!

                        I decided to just start going through the entire log that it blurts out after running the configure script. One of the first warnings was that I had the default build package (I forgot the name) instead of Ninja, but Qt is made to work with Ninja, so use the default at your own risk. I installed Ninja, and it configured just fine and is building now!

                        H 1 Reply Last reply 30 Sept 2022, 11:58
                        1
                        • S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 8 Jan 2021, 16:41 last edited by
                          #16

                          Great !

                          Thanks for providing the solution.

                          Ninja is one point I did not think about.

                          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
                          • K Kelenyche
                            8 Jan 2021, 15:58

                            Holy Geez I solved it!

                            I decided to just start going through the entire log that it blurts out after running the configure script. One of the first warnings was that I had the default build package (I forgot the name) instead of Ninja, but Qt is made to work with Ninja, so use the default at your own risk. I installed Ninja, and it configured just fine and is building now!

                            H Offline
                            H Offline
                            hareendran-tl
                            wrote on 30 Sept 2022, 11:58 last edited by
                            #17

                            @Kelenyche said in Qt 6.0 build from source on Raspberry Pi 4 "Opengl functionality tests failed":

                            Holy Geez I solved it!

                            I decided to just start going through the entire log that it blurts out after running the configure script. One of the first warnings was that I had the default build package (I forgot the name) instead of Ninja, but Qt is made to work with Ninja, so use the default at your own risk. I installed Ninja, and it configured just fine and is building now!

                            Hi,

                            I am just starting with qt and cross compiling. I got the same error with ubuntu 22 and raspberry pi3 64 bit. I followed this tutorial. https://wiki.qt.io/Cross-Compile_Qt_6_for_Raspberry_Pi.

                            My doubt is,
                            1: How to install Ninja?
                            2: How to configure with it?

                            Any help would be greatly appreciated.

                            J 1 Reply Last reply 30 Sept 2022, 12:02
                            0
                            • H hareendran-tl
                              30 Sept 2022, 11:58

                              @Kelenyche said in Qt 6.0 build from source on Raspberry Pi 4 "Opengl functionality tests failed":

                              Holy Geez I solved it!

                              I decided to just start going through the entire log that it blurts out after running the configure script. One of the first warnings was that I had the default build package (I forgot the name) instead of Ninja, but Qt is made to work with Ninja, so use the default at your own risk. I installed Ninja, and it configured just fine and is building now!

                              Hi,

                              I am just starting with qt and cross compiling. I got the same error with ubuntu 22 and raspberry pi3 64 bit. I followed this tutorial. https://wiki.qt.io/Cross-Compile_Qt_6_for_Raspberry_Pi.

                              My doubt is,
                              1: How to install Ninja?
                              2: How to configure with it?

                              Any help would be greatly appreciated.

                              J Offline
                              J Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on 30 Sept 2022, 12:02 last edited by
                              #18

                              @hareendran-tl

                              1. Using apt (apt install ninja-build)
                              2. Pass this parameter to CMake: -GNinja

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

                              1 Reply Last reply
                              0
                              • H Offline
                                H Offline
                                hareendran-tl
                                wrote on 30 Sept 2022, 12:12 last edited by
                                #19

                                @jsulm
                                Thanks for the immediate reply.
                                1: ninja-build was already installed.
                                2: -GNinja argument was passed with the command.

                                I ran the following script

                                cmake ../qt5/ -GNinja -DCMAKE_BUILD_TYPE=Release -DINPUT_opengl=es2 -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF -DQT_HOST_PATH=$HOME/qt-host -DCMAKE_STAGING_PREFIX=$HOME/qt-raspi -DCMAKE_INSTALL_PREFIX=/usr/local/qt6 -DCMAKE_TOOLCHAIN_FILE=$HOME/toolchain.cmake -DQT_QMAKE_TARGET_MKSPEC=devices/linux-rasp-pi4-aarch64 -DQT_FEATURE_xcb=ON -DFEATURE_xcb_xlib=ON -DQT_FEATURE_xlib=ON
                                
                                
                                J 1 Reply Last reply 30 Sept 2022, 12:19
                                0
                                • H hareendran-tl
                                  30 Sept 2022, 12:12

                                  @jsulm
                                  Thanks for the immediate reply.
                                  1: ninja-build was already installed.
                                  2: -GNinja argument was passed with the command.

                                  I ran the following script

                                  cmake ../qt5/ -GNinja -DCMAKE_BUILD_TYPE=Release -DINPUT_opengl=es2 -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF -DQT_HOST_PATH=$HOME/qt-host -DCMAKE_STAGING_PREFIX=$HOME/qt-raspi -DCMAKE_INSTALL_PREFIX=/usr/local/qt6 -DCMAKE_TOOLCHAIN_FILE=$HOME/toolchain.cmake -DQT_QMAKE_TARGET_MKSPEC=devices/linux-rasp-pi4-aarch64 -DQT_FEATURE_xcb=ON -DFEATURE_xcb_xlib=ON -DQT_FEATURE_xlib=ON
                                  
                                  
                                  J Offline
                                  J Offline
                                  jsulm
                                  Lifetime Qt Champion
                                  wrote on 30 Sept 2022, 12:19 last edited by
                                  #20

                                  @hareendran-tl And what is the problem?
                                  You should now be able to build using ninja.

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

                                  1 Reply Last reply
                                  0
                                  • H Offline
                                    H Offline
                                    hareendran-tl
                                    wrote on 30 Sept 2022, 12:34 last edited by
                                    #21

                                    @jsulm
                                    This is the error i getting.

                                    ERROR: The OpenGL functionality tests failed! You might need to modify the OpenGL package search path by setting the OpenGL_DIR CMake variable to the OpenGL library's installation directory.

                                    CMake Error at qtbase/cmake/QtBuildInformation.cmake:181 (message):
                                    Check the configuration messages for an error that has occurred.
                                    Call Stack (most recent call first):
                                    qtbase/cmake/QtBuildInformation.cmake:21 (qt_configure_print_summary)
                                    CMakeLists.txt:111 (qt_print_feature_summary)

                                    1 Reply Last reply
                                    0
                                    • D Offline
                                      D Offline
                                      Dane 0
                                      wrote on 2 Jan 2023, 19:39 last edited by
                                      #22

                                      I am having the same problem on a RPi3B+, did anybody manage to solve this?

                                      J 1 Reply Last reply 3 Jan 2023, 08:14
                                      0
                                      • D Dane 0
                                        2 Jan 2023, 19:39

                                        I am having the same problem on a RPi3B+, did anybody manage to solve this?

                                        J Offline
                                        J Offline
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote on 3 Jan 2023, 08:14 last edited by
                                        #23

                                        @Dane-0 Check config.log file which contains the build log. You should find there error messages - post them here.

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

                                        D 1 Reply Last reply 5 Jan 2023, 14:10
                                        0
                                        • J jsulm
                                          3 Jan 2023, 08:14

                                          @Dane-0 Check config.log file which contains the build log. You should find there error messages - post them here.

                                          D Offline
                                          D Offline
                                          Dane 0
                                          wrote on 5 Jan 2023, 14:10 last edited by
                                          #24

                                          @jsulm Thanks for the reply :-).

                                          CMakeError.log:

                                          Performing C++ SOURCE FILE Test TEST_use_lld_linker failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_c6781 && [1/2] Building CXX object CMakeFiles/cmTC_c6781.dir/src.cxx.o
                                          [2/2] Linking CXX executable cmTC_c6781
                                          FAILED: cmTC_c6781 
                                          : && /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -I/home/dane/rpi-sysroot/usr/include -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed    -fuse-ld=lld CMakeFiles/cmTC_c6781.dir/src.cxx.o -o cmTC_c6781  -Wl,-rpath,/home/dane/rpi-sysroot && :
                                          collect2: fatal error: cannot find ‘ld’
                                          compilation terminated.
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                          int main() { return 0; }
                                          Performing C++ SOURCE FILE Test TEST_gdb_index failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_dc754 && [1/2] Building CXX object CMakeFiles/cmTC_dc754.dir/src.cxx.o
                                          [2/2] Linking CXX executable cmTC_dc754
                                          FAILED: cmTC_dc754 
                                          : && /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -I/home/dane/rpi-sysroot/usr/include -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed    -Wl,--gdb-index CMakeFiles/cmTC_dc754.dir/src.cxx.o -o cmTC_dc754  -Wl,-rpath,/home/dane/rpi-sysroot && :
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: unrecognized option '--gdb-index'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: use the --help option for usage information
                                          collect2: error: ld returned 1 exit status
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                          int main() { return 0; }
                                          Performing C++ SOURCE FILE Test HAVE_reduce_relocations failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_8a0a1 && [1/2] Building CXX object CMakeFiles/cmTC_8a0a1.dir/src.cxx.o
                                          FAILED: CMakeFiles/cmTC_8a0a1.dir/src.cxx.o 
                                          /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -DHAVE_reduce_relocations  -I/home/dane/rpi-sysroot/usr/include  -fPIE -std=gnu++17 -o CMakeFiles/cmTC_8a0a1.dir/src.cxx.o -c /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:2:4: error: #error Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129).
                                              2 | #  error Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129).
                                                |    ^~~~~
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           #if !(defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__) || defined(__amd64)) || defined(__sun)
                                          #  error Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129).
                                          #endif
                                          
                                          int main(void)
                                          {
                                              /* BEGIN TEST: */
                                              /* END TEST: */
                                              return 0;
                                          }
                                          
                                          Performing C++ SOURCE FILE Test HAVE_alloca_malloc_h failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_eb7a0 && [1/2] Building CXX object CMakeFiles/cmTC_eb7a0.dir/src.cxx.o
                                          FAILED: CMakeFiles/cmTC_eb7a0.dir/src.cxx.o 
                                          /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -DHAVE_alloca_malloc_h  -I/home/dane/rpi-sysroot/usr/include  -fPIE -std=gnu++17 -o CMakeFiles/cmTC_eb7a0.dir/src.cxx.o -c /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:6:1: error: ‘alloca’ was not declared in this scope; did you mean ‘valloc’?
                                              6 | alloca(1);
                                                | ^~~~~~
                                                | valloc
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           #include <malloc.h>
                                          
                                          int main(void)
                                          {
                                              /* BEGIN TEST: */
                                          alloca(1);
                                              /* END TEST: */
                                              return 0;
                                          }
                                          
                                          Performing C++ SOURCE FILE Test HAVE_intelcet failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_7bb00 && [1/2] Building CXX object CMakeFiles/cmTC_7bb00.dir/src.cxx.o
                                          FAILED: CMakeFiles/cmTC_7bb00.dir/src.cxx.o 
                                          /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -DHAVE_intelcet  -I/home/dane/rpi-sysroot/usr/include  -fPIE -std=gnu++17 -o CMakeFiles/cmTC_7bb00.dir/src.cxx.o -c /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:5:4: error: #error Intel CET not available
                                              5 | #  error Intel CET not available
                                                |    ^~~~~
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           int main(void)
                                          {
                                              /* BEGIN TEST: */
                                          #if !defined(__CET__)
                                          #  error Intel CET not available
                                          #endif
                                              /* END TEST: */
                                              return 0;
                                          }
                                          
                                          Performing C++ SOURCE FILE Test HAVE_pollts failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_bd0bb && [1/2] Building CXX object CMakeFiles/cmTC_bd0bb.dir/src.cxx.o
                                          FAILED: CMakeFiles/cmTC_bd0bb.dir/src.cxx.o 
                                          /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -DHAVE_pollts  -I/home/dane/rpi-sysroot/usr/include  -fPIE -std=gnu++17 -o CMakeFiles/cmTC_bd0bb.dir/src.cxx.o -c /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:11:1: error: ‘pollts’ was not declared in this scope; did you mean ‘poll’?
                                             11 | pollts(&pfd, 1, &ts, &sig);
                                                | ^~~~~~
                                                | poll
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           #include <poll.h>
                                          #include <signal.h>
                                          #include <time.h>
                                          
                                          int main(void)
                                          {
                                              /* BEGIN TEST: */
                                          struct pollfd pfd;
                                          struct timespec ts;
                                          sigset_t sig;
                                          pollts(&pfd, 1, &ts, &sig);
                                              /* END TEST: */
                                              return 0;
                                          }
                                          
                                          Performing C++ SOURCE FILE Test HAVE_cpp_winrt failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_032af && [1/2] Building CXX object CMakeFiles/cmTC_032af.dir/src.cxx.o
                                          FAILED: CMakeFiles/cmTC_032af.dir/src.cxx.o 
                                          /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -DHAVE_cpp_winrt  -I/home/dane/rpi-sysroot/usr/include  -fPIE -std=gnu++17 -o CMakeFiles/cmTC_032af.dir/src.cxx.o -c /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:2:13: fatal error: winrt/base.h: No such file or directory
                                              2 | #   include <winrt/base.h>
                                                |             ^~~~~~~~~~~~~~
                                          compilation terminated.
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           // Including winrt/base.h causes an error in some configurations (Windows 10 SDK + c++20)
                                          #   include <winrt/base.h>
                                          
                                          int main(void)
                                          {
                                              return 0;
                                          }
                                          
                                          Performing C++ SOURCE FILE Test HAVE_xlocalescanprint failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_1795b && [1/2] Building CXX object CMakeFiles/cmTC_1795b.dir/src.cxx.o
                                          FAILED: CMakeFiles/cmTC_1795b.dir/src.cxx.o 
                                          /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -DHAVE_xlocalescanprint  -I/home/dane/rpi-sysroot/usr/include  -fPIE -std=gnu++17 -o CMakeFiles/cmTC_1795b.dir/src.cxx.o -c /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:10:10: error: #include expects "FILENAME" or <FILENAME>
                                             10 | #include QDSP_P_H
                                                |          ^~~~~~~~
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:18:1: error: ‘locale_t’ was not declared in this scope
                                             18 | locale_t invalidLocale = NULL;
                                                | ^~~~~~~~
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:21:17: error: ‘argv’ was not declared in this scope
                                             21 | qDoubleSnprintf(argv[0], 1, invalidLocale, "invalid format", a);
                                                |                 ^~~~
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:21:29: error: ‘invalidLocale’ was not declared in this scope
                                             21 | qDoubleSnprintf(argv[0], 1, invalidLocale, "invalid format", a);
                                                |                             ^~~~~~~~~~~~~
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:21:1: error: ‘qDoubleSnprintf’ was not declared in this scope
                                             21 | qDoubleSnprintf(argv[0], 1, invalidLocale, "invalid format", a);
                                                | ^~~~~~~~~~~~~~~
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:22:62: error: ‘argc’ was not declared in this scope
                                             22 | qDoubleSscanf(argv[0], invalidLocale, "invalid format", &a, &argc);
                                                |                                                              ^~~~
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:22:1: error: ‘qDoubleSscanf’ was not declared in this scope
                                             22 | qDoubleSscanf(argv[0], invalidLocale, "invalid format", &a, &argc);
                                                | ^~~~~~~~~~~~~
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           #define QT_BEGIN_NAMESPACE
                                          #define QT_END_NAMESPACE
                                          
                                          #ifdef _MSVC_VER
                                          #define Q_CC_MSVC _MSVC_VER
                                          #endif
                                          
                                          #define QT_NO_DOUBLECONVERSION
                                          
                                          #include QDSP_P_H
                                          
                                          int main(void)
                                          {
                                              /* BEGIN TEST: */
                                          #ifdef _MSVC_VER
                                          _locale_t invalidLocale = NULL;
                                          #else
                                          locale_t invalidLocale = NULL;
                                          #endif
                                          double a = 3.4;
                                          qDoubleSnprintf(argv[0], 1, invalidLocale, "invalid format", a);
                                          qDoubleSscanf(argv[0], invalidLocale, "invalid format", &a, &argc);
                                              /* END TEST: */
                                              return 0;
                                          }
                                          
                                          Performing C++ SOURCE FILE Test HAVE_openssl failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_a6f61 && [1/2] Building CXX object CMakeFiles/cmTC_a6f61.dir/src.cxx.o
                                          [2/2] Linking CXX executable cmTC_a6f61
                                          FAILED: cmTC_a6f61 
                                          : && /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -I/home/dane/rpi-sysroot/usr/include -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/cmTC_a6f61.dir/src.cxx.o -o cmTC_a6f61  -Wl,-rpath,/home/dane/rpi-sysroot  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libssl.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libcrypto.so && :
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_sym@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libpthread.so.0: undefined reference to `__libc_dlclose@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libpthread.so.0: undefined reference to `__libc_allocate_rtsig_private@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libpthread.so.0: undefined reference to `__libc_dlsym@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libpthread.so.0: undefined reference to `__libc_thread_freeres@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libpthread.so.0: undefined reference to `__libc_current_sigrtmax_private@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_vsym@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libpthread.so.0: undefined reference to `__libc_current_sigrtmin_private@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libpthread.so.0: undefined reference to `_dl_make_stack_executable@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libpthread.so.0: undefined reference to `__libc_longjmp@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libpthread.so.0: undefined reference to `__libc_dlopen_mode@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_addr@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libpthread.so.0: undefined reference to `__libc_pthread_init@GLIBC_PRIVATE'
                                          collect2: error: ld returned 1 exit status
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           #include <openssl/ssl.h>
                                          #include <openssl/opensslv.h>
                                          #if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER-0 < 0x10101000L
                                          #  error OpenSSL >= 1.1.1 is required
                                          #endif
                                          #if !defined(OPENSSL_NO_EC) && !defined(SSL_CTRL_SET_CURVES)
                                          #  error OpenSSL was reported as >= 1.1.1 but is missing required features, possibly it is libressl which is unsupported
                                          #endif
                                          
                                          int main(void)
                                          {
                                              /* BEGIN TEST: */
                                          SSL_free(SSL_new(0));
                                              /* END TEST: */
                                              return 0;
                                          }
                                          
                                          Performing C++ SOURCE FILE Test HAVE_ifr_index failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_75823 && [1/2] Building CXX object CMakeFiles/cmTC_75823.dir/src.cxx.o
                                          FAILED: CMakeFiles/cmTC_75823.dir/src.cxx.o 
                                          /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -DHAVE_ifr_index  -I/home/dane/rpi-sysroot/usr/include  -fPIE -std=gnu++17 -o CMakeFiles/cmTC_75823.dir/src.cxx.o -c /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:7:5: error: ‘struct ifreq’ has no member named ‘ifr_index’
                                              7 | req.ifr_index = 0;
                                                |     ^~~~~~~~~
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           #include <net/if.h>
                                          
                                          int main(void)
                                          {
                                              /* BEGIN TEST: */
                                          struct ifreq req;
                                          req.ifr_index = 0;
                                              /* END TEST: */
                                              return 0;
                                          }
                                          
                                          Performing C++ SOURCE FILE Test HAVE_sctp failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_54867 && [1/2] Building CXX object CMakeFiles/cmTC_54867.dir/src.cxx.o
                                          FAILED: CMakeFiles/cmTC_54867.dir/src.cxx.o 
                                          /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -DHAVE_sctp  -I/home/dane/rpi-sysroot/usr/include  -fPIE -std=gnu++17 -o CMakeFiles/cmTC_54867.dir/src.cxx.o -c /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:4:10: fatal error: netinet/sctp.h: No such file or directory
                                              4 | #include <netinet/sctp.h>
                                                |          ^~~~~~~~~~~~~~~~
                                          compilation terminated.
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           #include <sys/types.h>
                                          #include <sys/socket.h>
                                          #include <netinet/in.h>
                                          #include <netinet/sctp.h>
                                          
                                          int main(void)
                                          {
                                              /* BEGIN TEST: */
                                          sctp_initmsg sctpInitMsg;
                                          socklen_t sctpInitMsgSize = sizeof(sctpInitMsg);
                                          (void) socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP);
                                          (void) getsockopt(-1, SOL_SCTP, SCTP_INITMSG, &sctpInitMsg, &sctpInitMsgSize);
                                              /* END TEST: */
                                              return 0;
                                          }
                                          
                                          Performing C++ SOURCE FILE Test HAVE_networklistmanager failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_3f97b && [1/2] Building CXX object CMakeFiles/cmTC_3f97b.dir/src.cxx.o
                                          FAILED: CMakeFiles/cmTC_3f97b.dir/src.cxx.o 
                                          /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -DHAVE_networklistmanager  -I/home/dane/rpi-sysroot/usr/include  -fPIE -std=gnu++17 -o CMakeFiles/cmTC_3f97b.dir/src.cxx.o -c /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:1:11: fatal error: netlistmgr.h: No such file or directory
                                              1 |  #include <netlistmgr.h>
                                                |           ^~~~~~~~~~~~~~
                                          compilation terminated.
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           #include <netlistmgr.h>
                                          #include <wrl/client.h>
                                          
                                          int main(void)
                                          {
                                              /* BEGIN TEST: */
                                          using namespace Microsoft::WRL;
                                          ComPtr<INetworkListManager> networkListManager;
                                          ComPtr<IConnectionPoint> connectionPoint;
                                          ComPtr<IConnectionPointContainer> connectionPointContainer;
                                          networkListManager.As(&connectionPointContainer);
                                          connectionPointContainer->FindConnectionPoint(IID_INetworkConnectionEvents, &connectionPoint);
                                              /* END TEST: */
                                              return 0;
                                          }
                                          
                                          Performing C++ SOURCE FILE Test HAVE_EGL failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_35bbb && [1/2] Building CXX object CMakeFiles/cmTC_35bbb.dir/src.cxx.o
                                          [2/2] Linking CXX executable cmTC_35bbb
                                          FAILED: cmTC_35bbb 
                                          : && /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -I/home/dane/rpi-sysroot/usr/include -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/cmTC_35bbb.dir/src.cxx.o -o cmTC_35bbb  -Wl,-rpath,/home/dane/rpi-sysroot  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libEGL.so && :
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_addr@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_vsym@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_sym@GLIBC_PRIVATE'
                                          collect2: error: ld returned 1 exit status
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                          
                                          #include <EGL/egl.h>
                                          
                                          int main(int, char **) {
                                              EGLint x = 0; EGLDisplay dpy = 0; EGLContext ctx = 0;
                                              eglDestroyContext(dpy, ctx);
                                          }
                                          Performing C++ SOURCE FILE Test HAVE_GLESv2 failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_f0126 && [1/2] Building CXX object CMakeFiles/cmTC_f0126.dir/src.cxx.o
                                          [2/2] Linking CXX executable cmTC_f0126
                                          FAILED: cmTC_f0126 
                                          : && /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -I/home/dane/rpi-sysroot/usr/include -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/cmTC_f0126.dir/src.cxx.o -o cmTC_f0126  -Wl,-rpath,/home/dane/rpi-sysroot  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libGLESv2.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libEGL.so && :
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_addr@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_vsym@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_sym@GLIBC_PRIVATE'
                                          collect2: error: ld returned 1 exit status
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                          
                                          #ifdef __APPLE__
                                          #  include <OpenGLES/ES2/gl.h>
                                          #else
                                          #  define GL_GLEXT_PROTOTYPES
                                          #  include <GLES2/gl2.h>
                                          #endif
                                          
                                          int main(int, char **) {
                                              glUniform1f(1, GLfloat(1.0));
                                              glClear(GL_COLOR_BUFFER_BIT);
                                          }
                                          Determining if the function XOpenDisplay exists in the /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libX11.so;/home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libXext.so failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_42d6b && [1/2] Building C object CMakeFiles/cmTC_42d6b.dir/CheckFunctionExists.c.o
                                          [2/2] Linking C executable cmTC_42d6b
                                          FAILED: cmTC_42d6b 
                                          : && /usr/bin/aarch64-linux-gnu-gcc-10 --sysroot=/home/dane/rpi-sysroot -I/home/dane/rpi-sysroot/usr/include -DCHECK_FUNCTION_EXISTS=XOpenDisplay -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/cmTC_42d6b.dir/CheckFunctionExists.c.o -o cmTC_42d6b  -Wl,-rpath,/home/dane/rpi-sysroot  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libX11.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libXext.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libGLESv2.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libEGL.so && :
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_addr@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_vsym@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_sym@GLIBC_PRIVATE'
                                          collect2: error: ld returned 1 exit status
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          
                                          Determining if the function dnet_ntoa exists in the dnet failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_da8a9 && [1/2] Building C object CMakeFiles/cmTC_da8a9.dir/CheckFunctionExists.c.o
                                          [2/2] Linking C executable cmTC_da8a9
                                          FAILED: cmTC_da8a9 
                                          : && /usr/bin/aarch64-linux-gnu-gcc-10 --sysroot=/home/dane/rpi-sysroot -I/home/dane/rpi-sysroot/usr/include -DCHECK_FUNCTION_EXISTS=dnet_ntoa -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/cmTC_da8a9.dir/CheckFunctionExists.c.o -o cmTC_da8a9  -Wl,-rpath,/home/dane/rpi-sysroot  -ldnet  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libGLESv2.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libEGL.so && :
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: cannot find -ldnet: No such file or directory
                                          collect2: error: ld returned 1 exit status
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          
                                          Determining if the function dnet_ntoa exists in the dnet_stub failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_095dd && [1/2] Building C object CMakeFiles/cmTC_095dd.dir/CheckFunctionExists.c.o
                                          [2/2] Linking C executable cmTC_095dd
                                          FAILED: cmTC_095dd 
                                          : && /usr/bin/aarch64-linux-gnu-gcc-10 --sysroot=/home/dane/rpi-sysroot -I/home/dane/rpi-sysroot/usr/include -DCHECK_FUNCTION_EXISTS=dnet_ntoa -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/cmTC_095dd.dir/CheckFunctionExists.c.o -o cmTC_095dd  -Wl,-rpath,/home/dane/rpi-sysroot  -ldnet_stub  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libGLESv2.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libEGL.so && :
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: cannot find -ldnet_stub: No such file or directory
                                          collect2: error: ld returned 1 exit status
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          
                                          Performing C++ SOURCE FILE Test HAVE_integrityfb failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_8ad53 && [1/2] Building CXX object CMakeFiles/cmTC_8ad53.dir/src.cxx.o
                                          FAILED: CMakeFiles/cmTC_8ad53.dir/src.cxx.o 
                                          /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -DHAVE_integrityfb  -I/home/dane/rpi-sysroot/usr/include  -fPIE -std=gnu++17 -o CMakeFiles/cmTC_8ad53.dir/src.cxx.o -c /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:1:11: fatal error: device/fbdriver.h: No such file or directory
                                              1 |  #include <device/fbdriver.h>
                                                |           ^~~~~~~~~~~~~~~~~~~
                                          compilation terminated.
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           #include <device/fbdriver.h>
                                          
                                          int main(void)
                                          {
                                              /* BEGIN TEST: */
                                          FBDriver *driver = 0;
                                              /* END TEST: */
                                              return 0;
                                          }
                                          
                                          Performing C++ SOURCE FILE Test HAVE_xcb_syslibs failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_225e8 && [1/2] Building CXX object CMakeFiles/cmTC_225e8.dir/src.cxx.o
                                          [2/2] Linking CXX executable cmTC_225e8
                                          FAILED: cmTC_225e8 
                                          : && /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -I/home/dane/rpi-sysroot/usr/include -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/cmTC_225e8.dir/src.cxx.o -o cmTC_225e8  -Wl,-rpath,/home/dane/rpi-sysroot  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb-icccm.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb-image.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb-keysyms.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb-randr.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb-render.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb-render-util.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb-shape.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb-shm.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb-sync.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb-xfixes.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb-xkb.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb-render.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb-shape.so  /home/dane/rpi-sysroot/usr/lib/aarch64-linux-gnu/libxcb.so && :
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_addr@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_vsym@GLIBC_PRIVATE'
                                          /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: /home/dane/rpi-sysroot/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_sym@GLIBC_PRIVATE'
                                          collect2: error: ld returned 1 exit status
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           // xkb.h is using a variable called 'explicit', which is a reserved keyword in C++
                                          #define explicit dont_use_cxx_explicit
                                          #include <xcb/xcb.h>
                                          #include <xcb/xcb_image.h>
                                          #include <xcb/xcb_keysyms.h>
                                          #include <xcb/randr.h>
                                          #include <xcb/render.h>
                                          #include <xcb/shape.h>
                                          #include <xcb/shm.h>
                                          #include <xcb/sync.h>
                                          #include <xcb/xfixes.h>
                                          #include <xcb/xcb_icccm.h>
                                          #include <xcb/xcb_renderutil.h>
                                          #include <xcb/xkb.h>
                                          #undef explicit
                                          
                                          int main(void)
                                          {
                                              /* BEGIN TEST: */
                                          int primaryScreen = 0;
                                          xcb_connection_t *c = xcb_connect("", &primaryScreen);
                                          /* RENDER */
                                          xcb_generic_error_t *error = nullptr;
                                          xcb_render_query_pict_formats_cookie_t formatsCookie =
                                              xcb_render_query_pict_formats(c);
                                          xcb_render_query_pict_formats_reply_t *formatsReply =
                                              xcb_render_query_pict_formats_reply(c, formatsCookie, &error);
                                          /* RENDERUTIL: xcb_renderutil.h include won't compile unless version >= 0.3.9 */
                                          xcb_render_util_find_standard_format(nullptr, XCB_PICT_STANDARD_ARGB_32);
                                          /* XKB: This takes more arguments in xcb-xkb < 1.11 */
                                          xcb_xkb_get_kbd_by_name_replies_key_names_value_list_sizeof(nullptr, 0, 0, 0, 0, 0, 0, 0, 0);
                                              /* END TEST: */
                                              return 0;
                                          }
                                          
                                          Performing C++ SOURCE FILE Test HAVE_libinput_hires_wheel_support failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_f078d && [1/2] Building CXX object CMakeFiles/cmTC_f078d.dir/src.cxx.o
                                          FAILED: CMakeFiles/cmTC_f078d.dir/src.cxx.o 
                                          /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -DHAVE_libinput_hires_wheel_support  -I/home/dane/rpi-sysroot/usr/include  -fPIE -std=gnu++17 -o CMakeFiles/cmTC_f078d.dir/src.cxx.o -c /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’:
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:5:28: error: ‘LIBINPUT_EVENT_POINTER_SCROLL_WHEEL’ was not declared in this scope; did you mean ‘LIBINPUT_EVENT_POINTER_MOTION’?
                                              5 | libinput_event_type type = LIBINPUT_EVENT_POINTER_SCROLL_WHEEL;
                                                |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                |                            LIBINPUT_EVENT_POINTER_MOTION
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:6:1: error: ‘libinput_event_pointer_get_scroll_value_v120’ was not declared in this scope; did you mean ‘libinput_event_pointer_get_axis_value’?
                                              6 | libinput_event_pointer_get_scroll_value_v120(nullptr, LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL);
                                                | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                | libinput_event_pointer_get_axis_value
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           #include <libinput.h>
                                          int main(void)
                                          {
                                              /* BEGIN TEST: */
                                          libinput_event_type type = LIBINPUT_EVENT_POINTER_SCROLL_WHEEL;
                                          libinput_event_pointer_get_scroll_value_v120(nullptr, LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL);
                                              /* END TEST: */
                                              return 0;
                                          }
                                          
                                          Performing C++ SOURCE FILE Test HAVE_directwrite failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_ea5c3 && [1/2] Building CXX object CMakeFiles/cmTC_ea5c3.dir/src.cxx.o
                                          FAILED: CMakeFiles/cmTC_ea5c3.dir/src.cxx.o 
                                          /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -DHAVE_directwrite  -I/home/dane/rpi-sysroot/usr/include  -fPIE -std=gnu++17 -o CMakeFiles/cmTC_ea5c3.dir/src.cxx.o -c /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:1:11: fatal error: dwrite_2.h: No such file or directory
                                              1 |  #include <dwrite_2.h>
                                                |           ^~~~~~~~~~~~
                                          compilation terminated.
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           #include <dwrite_2.h>
                                          int main(int, char **)
                                          {
                                              IUnknown *factory = nullptr;
                                              DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, __uuidof(IDWriteFactory2),
                                                                  &factory);
                                              return 0;
                                          }
                                          
                                          Performing C++ SOURCE FILE Test HAVE_directwrite3 failed with the following output:
                                          Change Dir: /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp
                                          
                                          Run Build Command(s):/usr/bin/ninja cmTC_b36f4 && [1/2] Building CXX object CMakeFiles/cmTC_b36f4.dir/src.cxx.o
                                          FAILED: CMakeFiles/cmTC_b36f4.dir/src.cxx.o 
                                          /usr/bin/aarch64-linux-gnu-g++-10 --sysroot=/home/dane/rpi-sysroot -DHAVE_directwrite3  -I/home/dane/rpi-sysroot/usr/include  -fPIE -std=gnu++17 -o CMakeFiles/cmTC_b36f4.dir/src.cxx.o -c /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx
                                          /home/dane/qt-raspi-build/CMakeFiles/CMakeTmp/src.cxx:1:11: fatal error: dwrite_3.h: No such file or directory
                                              1 |  #include <dwrite_3.h>
                                                |           ^~~~~~~~~~~~
                                          compilation terminated.
                                          ninja: build stopped: subcommand failed.
                                          
                                          
                                          Source file was:
                                           #include <dwrite_3.h>
                                          int main(int, char **)
                                          {
                                              IUnknown *factory = nullptr;
                                              DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, __uuidof(IDWriteFactory3),
                                                                  &factory);
                                              return 0;
                                          }
                                          
                                          L 1 Reply Last reply 11 Mar 2024, 08:53
                                          0

                                          • Login

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