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\raspberry pi3 stretch, OpenGL Error
Forum Updated to NodeBB v4.3 + New Features

cross compile Qt\raspberry pi3 stretch, OpenGL Error

Scheduled Pinned Locked Moved Solved Mobile and Embedded
13 Posts 4 Posters 5.7k Views 3 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.
  • M Offline
    M Offline
    MAthias_Va
    wrote on 1 Oct 2018, 09:06 last edited by
    #4

    [0_1538384978784_configure error](Uploading 100%)

    the complete log

    J 1 Reply Last reply 1 Oct 2018, 09:08
    0
    • M MAthias_Va
      1 Oct 2018, 09:06

      [0_1538384978784_configure error](Uploading 100%)

      the complete log

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 1 Oct 2018, 09:08 last edited by
      #5

      @MAthias_Va Can you post your log as text?
      Images often do not work here (I can't see it).

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

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MAthias_Va
        wrote on 1 Oct 2018, 09:18 last edited by
        #6

        @MAthias_Va said in cross compile Qt\raspberry pi3 stretch, OpenGL Error:

        cross compile Raspberry pi3 B+; stretch software 2018-06-27 release, using Qt11.2

        ./configure -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=$RPI_TOOLCHAIN -sysroot $RPI_SYSROOT -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5pi -v
        + cd qtbase
        + /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/configure -top-level -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=/home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5pi -v
        Creating qmake...
        make: Nothing to be done for 'first'.
        Command line: -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=/home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5pi -v
        
        This is the Qt Open Source Edition.
        
        You have already accepted the terms of the Open Source license.
        
        Running configuration tests...
        Checking for gold linker... 
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests && /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs -fuse-ld=gold -o conftest-out conftest.cpp
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.gold: error: /tmp/ccbzwKoW.o: unknown CPU architecture
        > collect2: error: ld returned 1 exit status
        test config.qtbase.tests.use_gold_linker FAILED
        Checking for machine tuple... 
        + /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -dumpmachine
        > arm-linux-gnueabihf
        test config.qtbase.tests.machineTuple succeeded
        Checking for valid makespec... 
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/verifyspec && /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_CXXFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_LFLAGS += --sysroot=/mnt/rasp-pi-rootfs" -early "CONFIG += cross_compile" /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/verifyspec
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/verifyspec && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f verifyspec.o
        > rm -f *~ core *.core
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -O2 -std=gnu++11 -w -fPIC  -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/verifyspec -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -o verifyspec.o /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/verifyspec/verifyspec.cpp
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -Wl,-O1 -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-rpath-link,/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/mnt/rasp-pi-rootfs/lib/arm-linux-gnueabihf -o verifyspec verifyspec.o    
        test config.qtbase.tests.verifyspec succeeded
        Checking for target architecture... 
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/arch && /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_CXXFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_LFLAGS += --sysroot=/mnt/rasp-pi-rootfs" -early "CONFIG += cross_compile" /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/arch
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/arch && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f arch.o
        > rm -f *~ core *.core
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -O2 -std=gnu++11 -w -fPIC  -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/arch -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -o arch.o /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/arch/arch.cpp
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -Wl,-O1 -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-rpath-link,/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/mnt/rasp-pi-rootfs/lib/arm-linux-gnueabihf -o arch arch.o    
        Detected architecture: arm (neon)
        test config.qtbase.tests.architecture gave result arm
        Checking for host architecture... 
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/arch && /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" -early "CONFIG += cross_compile" /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/arch/arch_host.pro
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/arch && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f arch.o
        > rm -f *~ core *.core
        > g++ -c -pipe -O2 -std=gnu++11 -w -fPIC  -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/arch -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/linux-g++ -o arch.o /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/arch/arch.cpp
        > g++ -Wl,-O1 -o arch arch.o    
        Detected architecture: x86_64 (mmx sse sse2)
        test config.qtbase.tests.host_architecture gave result x86_64
        Checking for alloca() in alloca.h... 
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/alloca_h && /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_CXXFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_LFLAGS += --sysroot=/mnt/rasp-pi-rootfs" -early "CONFIG += cross_compile" /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/alloca_h
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/alloca_h && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f main.o
        > rm -f *~ core *.core
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -O2 -std=gnu++11 -w -fPIC  -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -o main.o main.cpp
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -Wl,-O1 -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-rpath-link,/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/mnt/rasp-pi-rootfs/lib/arm-linux-gnueabihf -o alloca_h main.o    
        test config.qtbase.tests.alloca_h succeeded
        Checking for C++14 support... 
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/c++14 && /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_CXXFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_LFLAGS += --sysroot=/mnt/rasp-pi-rootfs" -early "CONFIG += cross_compile" /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/c++14
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/c++14 && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f main.o
        > rm -f *~ core *.core
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -O2 -std=gnu++1y -w -fPIC  -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -o main.o main.cpp
        > main.cpp:5:4: error: #error __cplusplus must be > 201103L (the value of C++11)
        >  #  error __cplusplus must be > 201103L (the value of C++11)
        >     ^
        > Makefile:177: recipe for target 'main.o' failed
        > make: *** [main.o] Error 1
        test config.qtbase.tests.c++14 FAILED
        Checking for pkg-config... 
        Found pkg-config from path: /usr/bin/pkg-config
        test config.qtbase.tests.pkg-config succeeded
        Checking for D-Bus >= 1.2... 
        Trying source 0 (type pkgConfig) of library dbus ...
        + PKG_CONFIG_SYSROOT_DIR=/mnt/rasp-pi-rootfs PKG_CONFIG_LIBDIR=/mnt/rasp-pi-rootfs/usr/lib/pkgconfig:/mnt/rasp-pi-rootfs/usr/share/pkgconfig:/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig /usr/bin/pkg-config --exists --silence-errors dbus-1 '>=' 1.2
        pkg-config did not find package.
          => source produced no result.
        Trying source 1 (type inline) of library dbus ...
          => source failed condition 'config.win32'.
        Trying source 2 (type inline) of library dbus ...
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/dbus && PKG_CONFIG_SYSROOT_DIR=/mnt/rasp-pi-rootfs PKG_CONFIG_LIBDIR=/mnt/rasp-pi-rootfs/usr/lib/pkgconfig:/mnt/rasp-pi-rootfs/usr/share/pkgconfig:/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_CXXFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_LFLAGS += --sysroot=/mnt/rasp-pi-rootfs" -early "CONFIG += cross_compile" 'LIBS += -ldbus-1' /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/dbus
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/dbus && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f main.o
        > rm -f *~ core *.core
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -O2 -std=gnu++11 -w -fPIC  -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -o main.o main.cpp
        > main.cpp:2:23: fatal error: dbus/dbus.h: No such file or directory
        >  #include <dbus/dbus.h>
        >                        ^
        > compilation terminated.
        > Makefile:177: recipe for target 'main.o' failed
        > make: *** [main.o] Error 1
         => source failed verification.
        test config.qtbase.libraries.dbus FAILED
        Checking for new dtags support... 
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests && /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs -Wl,--enable-new-dtags -o conftest-out conftest.cpp
        test config.qtbase.tests.enable_new_dtags succeeded
        Checking for D-Bus >= 1.2 (host)... 
        Trying source 0 (type pkgConfig) of library host_dbus ...
        + /usr/bin/pkg-config --exists --silence-errors dbus-1 '>=' 1.2
        pkg-config did not find package.
          => source produced no result.
        Trying source 1 (type inline) of library host_dbus ...
         => source accepted.
        test config.qtbase.libraries.host_dbus succeeded
        Checking for udev... 
        Trying source 0 (type pkgConfig) of library libudev ...
        + PKG_CONFIG_SYSROOT_DIR=/mnt/rasp-pi-rootfs PKG_CONFIG_LIBDIR=/mnt/rasp-pi-rootfs/usr/lib/pkgconfig:/mnt/rasp-pi-rootfs/usr/share/pkgconfig:/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig /usr/bin/pkg-config --exists --silence-errors libudev
        pkg-config did not find package.
          => source produced no result.
        Trying source 1 (type inline) of library libudev ...
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/libudev && PKG_CONFIG_SYSROOT_DIR=/mnt/rasp-pi-rootfs PKG_CONFIG_LIBDIR=/mnt/rasp-pi-rootfs/usr/lib/pkgconfig:/mnt/rasp-pi-rootfs/usr/share/pkgconfig:/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_CXXFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_LFLAGS += --sysroot=/mnt/rasp-pi-rootfs" -early "CONFIG += cross_compile" 'LIBS += -ludev' /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/libudev
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/libudev && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f main.o
        > rm -f *~ core *.core
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -O2 -std=gnu++11 -w -fPIC  -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -o main.o main.cpp
        > main.cpp:2:21: fatal error: libudev.h: No such file or directory
        >  #include <libudev.h>
        >                      ^
        > compilation terminated.
        > Makefile:177: recipe for target 'main.o' failed
        > make: *** [main.o] Error 1
         => source failed verification.
        test config.qtbase.libraries.libudev FAILED
        Checking for POSIX fallocate()... 
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/posix_fallocate && PKG_CONFIG_SYSROOT_DIR=/mnt/rasp-pi-rootfs PKG_CONFIG_LIBDIR=/mnt/rasp-pi-rootfs/usr/lib/pkgconfig:/mnt/rasp-pi-rootfs/usr/share/pkgconfig:/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_CXXFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_LFLAGS += --sysroot=/mnt/rasp-pi-rootfs" -early "CONFIG += cross_compile" /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/posix_fallocate
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/posix_fallocate && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f main.o
        > rm -f *~ core *.core
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -O2 -std=gnu++11 -w -fPIC  -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -o main.o main.cpp
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -Wl,-O1 -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-rpath-link,/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/mnt/rasp-pi-rootfs/lib/arm-linux-gnueabihf -o posix_fallocate main.o    
        test config.qtbase.tests.posix_fallocate succeeded
        Checking for precompiled header support... 
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/common/pch && PKG_CONFIG_SYSROOT_DIR=/mnt/rasp-pi-rootfs PKG_CONFIG_LIBDIR=/mnt/rasp-pi-rootfs/usr/lib/pkgconfig:/mnt/rasp-pi-rootfs/usr/share/pkgconfig:/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_CXXFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_LFLAGS += --sysroot=/mnt/rasp-pi-rootfs" -early "CONFIG += cross_compile" /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/common/pch
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/common/pch && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f source.o
        > rm -f .pch/pch.gch/c .pch/pch.gch/c++
        > rm -f *~ core *.core
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -O2 -std=gnu++11 -w -fPIC  -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/common/pch -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -x c++-header -c /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/common/pch/header.h -o .pch/pch.gch/c++
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -include .pch/pch -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -O2 -std=gnu++11 -w -fPIC  -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/common/pch -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -o source.o /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/common/pch/source.cpp
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -Wl,-O1 -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-rpath-link,/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/mnt/rasp-pi-rootfs/lib/arm-linux-gnueabihf -o pch source.o    
        test config.qtbase.tests.precompile_header succeeded
        Checking for RDRAND instruction... 
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/x86_simd && PKG_CONFIG_SYSROOT_DIR=/mnt/rasp-pi-rootfs PKG_CONFIG_LIBDIR=/mnt/rasp-pi-rootfs/usr/lib/pkgconfig:/mnt/rasp-pi-rootfs/usr/share/pkgconfig:/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_CXXFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_LFLAGS += --sysroot=/mnt/rasp-pi-rootfs" -early "CONFIG += cross_compile" CONFIG+=add_cflags DEFINES+=NO_ATTRIBUTE SIMD=rdrnd /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/x86_simd
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/x86_simd && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f main.o
        > rm -f *~ core *.core
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -mrdrnd -O2 -std=gnu++11 -w -fPIC -DNO_ATTRIBUTE -DQT_COMPILER_SUPPORTS_RDRND -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/x86_simd -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -o main.o /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/x86_simd/main.cpp
        > arm-linux-gnueabihf-g++: error: unrecognized command line option ‘-mrdrnd’
        > Makefile:180: recipe for target 'main.o' failed
        > make: *** [main.o] Error 1
        test config.qtbase.tests.rdrnd FAILED
        Checking for symbol visibility support... 
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/reduce_exports && PKG_CONFIG_SYSROOT_DIR=/mnt/rasp-pi-rootfs PKG_CONFIG_LIBDIR=/mnt/rasp-pi-rootfs/usr/lib/pkgconfig:/mnt/rasp-pi-rootfs/usr/share/pkgconfig:/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_CXXFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_LFLAGS += --sysroot=/mnt/rasp-pi-rootfs" -early "CONFIG += cross_compile" /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/reduce_exports
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/reduce_exports && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f main.o
        > rm -f *~ core *.core
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -O2 -std=gnu++11 -fvisibility=hidden -fvisibility-inlines-hidden -w -fPIC  -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -o main.o main.cpp
        > rm -f libreduce_exports.so.1.0.0 libreduce_exports.so libreduce_exports.so.1 libreduce_exports.so.1.0
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -Wl,-O1 -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-rpath-link,/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/mnt/rasp-pi-rootfs/lib/arm-linux-gnueabihf -shared -Wl,-soname,libreduce_exports.so.1 -o libreduce_exports.so.1.0.0 main.o    
        > ln -s libreduce_exports.so.1.0.0 libreduce_exports.so
        > ln -s libreduce_exports.so.1.0.0 libreduce_exports.so.1
        > ln -s libreduce_exports.so.1.0.0 libreduce_exports.so.1.0
        test config.qtbase.tests.reduce_exports succeeded
        Checking for -Bsymbolic-functions support... 
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/reduce_relocations && PKG_CONFIG_SYSROOT_DIR=/mnt/rasp-pi-rootfs PKG_CONFIG_LIBDIR=/mnt/rasp-pi-rootfs/usr/lib/pkgconfig:/mnt/rasp-pi-rootfs/usr/share/pkgconfig:/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_CXXFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_LFLAGS += --sysroot=/mnt/rasp-pi-rootfs" -early "CONFIG += cross_compile" /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/reduce_relocations
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/reduce_relocations && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f main.o
        > rm -f *~ core *.core
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -O2 -std=gnu++11 -w -fPIC  -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -o main.o main.cpp
        > main.cpp:3:4: error: #error Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129).
        >  #  error Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129).
        >     ^
        > Makefile:197: recipe for target 'main.o' failed
        > make: *** [main.o] Error 1
        test config.qtbase.tests.reduce_relocations FAILED
        Checking for STL compatibility... 
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/stl && PKG_CONFIG_SYSROOT_DIR=/mnt/rasp-pi-rootfs PKG_CONFIG_LIBDIR=/mnt/rasp-pi-rootfs/usr/lib/pkgconfig:/mnt/rasp-pi-rootfs/usr/share/pkgconfig:/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_CXXFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_LFLAGS += --sysroot=/mnt/rasp-pi-rootfs" -early "CONFIG += cross_compile" /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/stl
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/stl && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f stltest.o
        > rm -f *~ core *.core
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -O2 -std=gnu++11 -w -fPIC  -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/stl -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -o stltest.o /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/config.tests/stl/stltest.cpp
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -Wl,-O1 -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-rpath-link,/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/mnt/rasp-pi-rootfs/lib/arm-linux-gnueabihf -o stl stltest.o    
        test config.qtbase.tests.stl succeeded
        Checking for zlib... 
        Trying source 0 (type inline) of library zlib ...
          => source failed condition 'config.msvc'.
        Trying source 1 (type inline) of library zlib ...
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/zlib && PKG_CONFIG_SYSROOT_DIR=/mnt/rasp-pi-rootfs PKG_CONFIG_LIBDIR=/mnt/rasp-pi-rootfs/usr/lib/pkgconfig:/mnt/rasp-pi-rootfs/usr/share/pkgconfig:/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_CXXFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_LFLAGS += --sysroot=/mnt/rasp-pi-rootfs" -early "CONFIG += cross_compile" 'LIBS += -lz' /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/zlib
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/zlib && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f main.o
        > rm -f *~ core *.core
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -O2 -std=gnu++11 -w -fPIC  -I. -I/home/a-team/Qt5.11.2/5.11.2/Src/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -o main.o main.cpp
        > /home/a-team/crosscompile-tools/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs --sysroot=/mnt/rasp-pi-rootfs -Wl,-O1 -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-rpath-link,/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/mnt/rasp-pi-rootfs/lib/arm-linux-gnueabihf -o zlib main.o   -lz 
         => source accepted.
        test config.qtbase.libraries.zlib succeeded
        Checking for clock_gettime()... 
        Trying source 0 (type inline) of library librt ...
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/librt && PKG_CONFIG_SYSROOT_DIR=/mnt/rasp-pi-rootfs PKG_CONFIG_LIBDIR=/mnt/rasp-pi-rootfs/usr/lib/pkgconfig:/mnt/rasp-pi-rootfs/usr/share/pkgconfig:/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig /home/a-team/Qt5.11.2/5.11.2/Src/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_CXXFLAGS += --sysroot=/mnt/rasp-pi-rootfs" "QMAKE_LFLAGS += --sysroot=/mnt/rasp-pi-rootfs" -early "CONFIG += cross_compile" /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/librt
        + cd /home/a-team/Qt5.11.2/5.11.2/Src/config.tests/librt && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
        > rm -f main.o
        
        1 Reply Last reply
        0
        • M Offline
          M Offline
          MAthias_Va
          wrote on 1 Oct 2018, 10:01 last edited by
          #7

          is this ok!

          Configure summary:
          
          Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
          Building for: devices/linux-rasp-pi3-g++ (arm, CPU features: neon)
          Configuration: cross_compile compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 concurrent dbus reduce_exports release_tools stl
          Build options:
            Mode ................................... release; optimized tools
            Optimize release build for size ........ no
            Building shared libraries .............. yes
            Using C++ standard ..................... C++11
            Using ccache ........................... no
            Using gold linker ...................... no
            Using new DTAGS ........................ yes
            Using precompiled headers .............. yes
            Using LTCG ............................. no
            Target compiler supports:
              NEON ................................. yes
            Build parts ............................ libs
          Qt modules and options:
            Qt Concurrent .......................... yes
            Qt D-Bus ............................... yes
            Qt D-Bus directly linked to libdbus .... no
            Qt Gui ................................. yes
            Qt Network ............................. yes
            Qt Sql ................................. yes
            Qt Testlib ............................. yes
            Qt Widgets ............................. yes
            Qt Xml ................................. yes
          Support enabled for:
            Using pkg-config ....................... yes
            udev ................................... no
            Using system zlib ...................... yes
          Qt Core:
            DoubleConversion ....................... yes
              Using system DoubleConversion ........ no
            GLib ................................... no
            iconv .................................. yes
            ICU .................................... no
            Tracing backend ........................ <none>
            Logging backends:
              journald ............................. no
              syslog ............................... no
              slog2 ................................ no
            Using system PCRE2 ..................... no
          Qt Network:
            getifaddrs() ........................... yes
            IPv6 ifname ............................ yes
            libproxy ............................... no
            Linux AF_NETLINK ....................... yes
            OpenSSL ................................ no
              Qt directly linked to OpenSSL ........ no
            OpenSSL 1.1 ............................ no
            SCTP ................................... no
            Use system proxies ..................... yes
          Qt Gui:
            Accessibility .......................... yes
            FreeType ............................... yes
              Using system FreeType ................ yes
            HarfBuzz ............................... yes
              Using system HarfBuzz ................ no
            Fontconfig ............................. no
            Image formats:
              GIF .................................. yes
              ICO .................................. yes
              JPEG ................................. yes
                Using system libjpeg ............... no
              PNG .................................. yes
                Using system libpng ................ yes
            EGL .................................... no
            OpenVG ................................. no
            OpenGL:
              Desktop OpenGL ....................... no
              OpenGL ES 2.0 ........................ no
              OpenGL ES 3.0 ........................ no
              OpenGL ES 3.1 ........................ no
              OpenGL ES 3.2 ........................ no
            Vulkan ................................. no
            Session Management ..................... yes
          Features used by QPA backends:
            evdev .................................. yes
            libinput ............................... no
            INTEGRITY HID .......................... no
            mtdev .................................. no
            tslib .................................. no
            xkbcommon-evdev ........................ no
          QPA backends:
            DirectFB ............................... no
            EGLFS .................................. no
            LinuxFB ................................ yes
            VNC .................................... yes
            Mir client ............................. no
          Qt Widgets:
            GTK+ ................................... no
            Styles ................................. Fusion Windows
          Qt PrintSupport:
            CUPS ................................... no
          Qt Sql:
            DB2 (IBM) .............................. no
            InterBase .............................. no
            MySql .................................. no
            OCI (Oracle) ........................... no
            ODBC ................................... no
            PostgreSQL ............................. no
            SQLite2 ................................ no
            SQLite ................................. yes
              Using system provided SQLite ......... no
            TDS (Sybase) ........................... no
          Qt Testlib:
            Tester for item models ................. yes
          Qt SerialBus:
            Socket CAN ............................. yes
            Socket CAN FD .......................... yes
          QtXmlPatterns:
            XML schema support ..................... yes
          Qt QML:
            QML network support .................... yes
            QML debugging and profiling support .... yes
            QML delegate model ..................... yes
          Qt Quick:
            Direct3D 12 ............................ no
            AnimatedImage item ..................... yes
            Canvas item ............................ yes
            Support for Qt Quick Designer .......... yes
            Flipable item .......................... yes
            GridView item .......................... yes
            ListView item .......................... yes
            Path support ........................... yes
            PathView item .......................... yes
            Positioner items ....................... yes
            Repeater item .......................... yes
            ShaderEffect item ...................... yes
            Sprite item ............................ yes
          Qt Gamepad:
            SDL2 ................................... no
          Qt 3D:
            Assimp ................................. yes
            System Assimp .......................... no
            Output Qt3D Job traces ................. no
            Output Qt3D GL traces .................. no
            Use SSE2 instructions .................. no
            Use AVX2 instructions .................. no
            Aspects:
              Render aspect ........................ yes
              Input aspect ......................... yes
              Logic aspect ......................... yes
              Animation aspect ..................... yes
              Extras aspect ........................ yes
          Qt 3D Renderers:
            OpenGL Renderer ........................ yes
          Qt 3D GeometryLoaders:
            Autodesk FBX ........................... no
          Qt Wayland Client ........................ no
          Qt Wayland Compositor .................... no
          Qt Bluetooth:
            BlueZ .................................. no
            BlueZ Low Energy ....................... no
            Linux Crypto API ....................... no
            WinRT Bluetooth API (desktop & UWP) .... no
          Qt Sensors:
            sensorfw ............................... no
          Qt Quick Controls 2:
            Styles ................................. Default Fusion Imagine Material Universal
          Qt Quick Templates 2:
            Hover support .......................... yes
            Multi-touch support .................... yes
          Qt Positioning:
            Gypsy GPS Daemon ....................... no
            WinRT Geolocation API .................. no
          Qt Location:
            Qt.labs.location experimental QML plugin . yes
            Geoservice plugins:
              OpenStreetMap ........................ yes
              HERE ................................. yes
              Esri ................................. yes
              Mapbox ............................... yes
              MapboxGL ............................. no
              Itemsoverlay ......................... yes
          Qt Multimedia:
            ALSA ................................... no
            GStreamer 1.0 .......................... no
            GStreamer 0.10 ......................... no
            Video for Linux ........................ yes
            OpenAL ................................. no
            PulseAudio ............................. no
            Resource Policy (libresourceqt5) ....... no
            Windows Audio Services ................. no
            DirectShow ............................. no
            Windows Media Foundation ............... no
          Qt WebEngine:
            Embedded build ......................... yes
            Pepper Plugins ......................... no
            Printing and PDF ....................... no
            Proprietary Codecs ..................... no
            Spellchecker ........................... yes
            Native Spellchecker .................... no
            WebRTC ................................. no
            Use System Ninja ....................... no
            Geolocation ............................ yes
            Use v8 snapshot ........................ yes
            Building v8 snapshot supported ......... yes
            Use ALSA ............................... no
            Use PulseAudio ......................... no
            Optional system libraries used:
              re2 .................................. no
              icu .................................. no
              libwebp, libwebpmux and libwebpdemux . no
              opus ................................. no
              ffmpeg ............................... no
              libvpx ............................... no
              snappy ............................... no
              libsrtp .............................. no
              glib ................................. no
              zlib ................................. yes
              minizip .............................. no
              libevent ............................. no
              jsoncpp .............................. no
              protobuf ............................. no
              libxml2 and libxslt .................. no
              lcms2 ................................ no
              png .................................. yes
              JPEG ................................. no
              harfbuzz ............................. no
              freetype ............................. yes
            Required system libraries:
              fontconfig ........................... no
              dbus ................................. no
              nss .................................. no
              khr .................................. yes
              glibc ................................ yes
            Required system libraries for qpa-xcb:
              libdrm ............................... no
              xcomposite ........................... no
              xcursor .............................. no
              xi ................................... no
              xrandr ............................... no
              xtst ................................. no
          
          Note: Also available for Linux: linux-clang linux-icc
          
          Note: PKG_CONFIG_LIBDIR automatically set to /mnt/rasp-pi-rootfs/usr/lib/pkgconfig:/mnt/rasp-pi-rootfs/usr/share/pkgconfig:/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig
          
          Note: PKG_CONFIG_SYSROOT_DIR automatically set to /mnt/rasp-pi-rootfs
          
          Note: -optimized-tools is not useful in -release mode.
          
          Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.
          
          ERROR: Feature 'opengles2' was enabled, but the pre-condition 'config.win32 || (!config.watchos && !features.opengl-desktop && libs.opengl_es2)' failed.
          
          ERROR: The OpenGL functionality tests failed!
          You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
          QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
          
          
          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 1 Oct 2018, 20:36 last edited by
            #8

            Did you re-run configure from a clean state ?

            Also, you should do out of source builds. That will allow you to easily build and retry with just having to nuke the build folder.

            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
            • M Offline
              M Offline
              MAthias_Va
              wrote on 2 Oct 2018, 06:48 last edited by
              #9

              Thanks Samuel for your follow up, you really give me hope,
              not sure what you mean by clean state! I am still new in this field.

              I would be grateful if you can clarifiy in more details how to do out of source builds?

              1 Reply Last reply
              0
              • M Offline
                M Offline
                MAthias_Va
                wrote on 2 Oct 2018, 14:10 last edited by MAthias_Va 10 Feb 2018, 18:38
                #10

                I deleted everything and started from scratch according to this guide with qt10.1 https://wiki.qt.io/RaspberryPi2EGLFS#Step_by_step

                still I am getting the same error as below!!!!

                Configure summary:
                
                Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
                Building for: devices/linux-rasp-pi3-g++ (arm, CPU features: neon)
                Configuration: cross_compile compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 concurrent dbus reduce_exports stl
                Build options:
                  Mode ................................... release
                  Optimize release build for size ........ no
                  Building shared libraries .............. yes
                  Using C++ standard ..................... C++11
                  Using ccache ........................... no
                  Using gold linker ...................... no
                  Using new DTAGS ........................ yes
                  Using precompiled headers .............. yes
                  Using LTCG ............................. no
                  Target compiler supports:
                    NEON ................................. yes
                  Build parts ............................ libs
                Qt modules and options:
                  Qt Concurrent .......................... yes
                  Qt D-Bus ............................... yes
                  Qt D-Bus directly linked to libdbus .... yes
                  Qt Gui ................................. yes
                  Qt Network ............................. yes
                  Qt Sql ................................. yes
                  Qt Testlib ............................. yes
                  Qt Widgets ............................. yes
                  Qt Xml ................................. yes
                Support enabled for:
                  Using pkg-config ....................... yes
                  QML debugging .......................... yes
                  udev ................................... yes
                  Using system zlib ...................... yes
                Qt Core:
                  DoubleConversion ....................... yes
                    Using system DoubleConversion ........ yes
                  GLib ................................... yes
                  iconv .................................. yes
                  ICU .................................... no
                  Logging backends:
                    journald ............................. no
                    syslog ............................... no
                    slog2 ................................ no
                  Using system PCRE2 ..................... no
                Qt Network:
                  getifaddrs() ........................... yes
                  IPv6 ifname ............................ yes
                  libproxy ............................... no
                  OpenSSL ................................ yes
                    Qt directly linked to OpenSSL ........ no
                  SCTP ................................... no
                  Use system proxies ..................... yes
                Qt Gui:
                  Accessibility .......................... yes
                  FreeType ............................... yes
                    Using system FreeType ................ yes
                  HarfBuzz ............................... yes
                    Using system HarfBuzz ................ yes
                  Fontconfig ............................. yes
                  Image formats:
                    GIF .................................. yes
                    ICO .................................. yes
                    JPEG ................................. yes
                      Using system libjpeg ............... yes
                    PNG .................................. yes
                      Using system libpng ................ yes
                  EGL .................................... no
                  OpenVG ................................. no
                  OpenGL:
                    Desktop OpenGL ....................... no
                    OpenGL ES 2.0 ........................ no
                    OpenGL ES 3.0 ........................ no
                    OpenGL ES 3.1 ........................ no
                    OpenGL ES 3.2 ........................ no
                  Vulkan ................................. no
                  Session Management ..................... yes
                Features used by QPA backends:
                  evdev .................................. yes
                  libinput ............................... yes
                  INTEGRITY HID .......................... no
                  mtdev .................................. yes
                  tslib .................................. yes
                  xkbcommon-evdev ........................ yes
                QPA backends:
                  DirectFB ............................... no
                  EGLFS .................................. no
                  LinuxFB ................................ yes
                  VNC .................................... yes
                  Mir client ............................. no
                  X11:
                    Using system-provided XCB libraries .. yes
                    EGL on X11 ........................... no
                    Xinput2 .............................. yes
                    XCB XKB .............................. yes
                    XLib ................................. yes
                    XCB render ........................... yes
                    XCB GLX .............................. yes
                    XCB Xlib ............................. yes
                    Using system-provided xkbcommon ...... no
                    Native painting (experimental) ....... yes
                Qt Widgets:
                  GTK+ ................................... no
                  Styles ................................. Fusion Windows
                Qt PrintSupport:
                  CUPS ................................... yes
                Qt Sql:
                  DB2 (IBM) .............................. no
                  InterBase .............................. no
                  MySql .................................. no
                  OCI (Oracle) ........................... no
                  ODBC ................................... yes
                  PostgreSQL ............................. yes
                  SQLite2 ................................ yes
                  SQLite ................................. yes
                    Using system provided SQLite ......... no
                  TDS (Sybase) ........................... yes
                Qt SerialBus:
                  Socket CAN ............................. yes
                  Socket CAN FD .......................... yes
                QtXmlPatterns:
                  XML schema support ..................... yes
                Qt QML:
                  QML interpreter ........................ yes
                  QML network support .................... yes
                Qt Quick:
                  Direct3D 12 ............................ no
                  AnimatedImage item ..................... yes
                  Canvas item ............................ yes
                  Support for Qt Quick Designer .......... yes
                  Flipable item .......................... yes
                  GridView item .......................... yes
                  ListView item .......................... yes
                  Path support ........................... yes
                  PathView item .......................... yes
                  Positioner items ....................... yes
                  ShaderEffect item ...................... yes
                  Sprite item ............................ yes
                Qt Gamepad:
                  SDL2 ................................... no
                Qt 3D:
                  Assimp ................................. yes
                  System Assimp .......................... no
                  Output Qt3D Job traces ................. no
                  Output Qt3D GL traces .................. no
                  Use SSE2 instructions .................. no
                  Use AVX2 instructions .................. no
                  Aspects:
                    Render aspect ........................ yes
                    Input aspect ......................... yes
                    Logic aspect ......................... yes
                    Animation aspect ..................... yes
                    Extras aspect ........................ yes
                Qt 3D GeometryLoaders:
                  Autodesk FBX ........................... no
                Qt Wayland Drivers:
                  EGL .................................... no
                  Raspberry Pi ........................... no
                  XComposite EGL ......................... no
                  XComposite GLX ......................... no
                  DRM EGL ................................ no
                  libhybris EGL .......................... no
                Qt Wayland Client ........................ yes
                Qt Wayland Compositor .................... yes
                Qt Bluetooth:
                  BlueZ .................................. yes
                  BlueZ Low Energy ....................... yes
                  Linux Crypto API ....................... yes
                  WinRT Bluetooth API (desktop & UWP) .... no
                Qt Sensors:
                  sensorfw ............................... no
                Qt Quick Controls 2:
                  Styles ................................. Default Fusion Imagine Material Universal
                Qt Quick Templates 2:
                  Hover support .......................... yes
                  Multi-touch support .................... yes
                Qt Positioning:
                  Gypsy GPS Daemon ....................... no
                  WinRT Geolocation API .................. no
                Qt Location:
                  Geoservice plugins:
                    OpenStreetMap ........................ yes
                    HERE ................................. yes
                    Esri ................................. yes
                    Mapbox ............................... yes
                    MapboxGL ............................. no
                    Itemsoverlay ......................... yes
                Qt Multimedia:
                  ALSA ................................... yes
                  GStreamer 1.0 .......................... yes
                  GStreamer 0.10 ......................... no
                  Video for Linux ........................ yes
                  OpenAL ................................. no
                  PulseAudio ............................. yes
                  Resource Policy (libresourceqt5) ....... no
                  Windows Audio Services ................. no
                  DirectShow ............................. no
                  Windows Media Foundation ............... no
                Qt WebEngine:
                  Embedded build ......................... yes
                  Pepper Plugins ......................... no
                  Printing and PDF ....................... no
                  Proprietary Codecs ..................... no
                  Spellchecker ........................... yes
                  Native Spellchecker .................... no
                  WebRTC ................................. no
                  Use System Ninja ....................... yes
                  Geolocation ............................ yes
                  Use v8 snapshot ........................ yes
                  Use ALSA ............................... yes
                  Use PulseAudio ......................... yes
                  Optional system libraries used:
                    re2 .................................. no
                    icu .................................. no
                    libwebp, libwebpmux and libwebpdemux . no
                    opus ................................. no
                    ffmpeg ............................... no
                    libvpx ............................... no
                    snappy ............................... no
                    libsrtp .............................. no
                    glib ................................. yes
                    zlib ................................. yes
                    minizip .............................. no
                    libevent ............................. no
                    jsoncpp .............................. no
                    protobuf ............................. no
                    libxml2 and libxslt .................. yes
                    lcms2 ................................ no
                    png .................................. yes
                    harfbuzz ............................. yes
                  Required system libraries:
                    fontconfig ........................... yes
                    dbus ................................. yes
                    nss .................................. no
                    khr .................................. yes
                    glibc ................................ yes
                  Required system libraries for qpa-xcb:
                    libdrm ............................... yes
                    xcomposite ........................... no
                    xcursor .............................. no
                    xi ................................... no
                    xrandr ............................... no
                    xtst ................................. no
                
                Note: Also available for Linux: linux-clang linux-icc
                
                Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
                
                Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'.
                
                Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'.
                
                ERROR: Feature 'opengles2' was enabled, but the pre-condition 'config.win32 || (!config.watchos && !features.opengl-desktop && libs.opengl_es2)' failed.
                
                ERROR: The OpenGL functionality tests failed!
                You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
                QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
                
                
                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 2 Oct 2018, 21:34 last edited by
                  #11

                  That is just the summary. You should take a look at the tests outputs to see exactly where the OpenGL tests are failing.

                  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
                  • C Offline
                    C Offline
                    Cleiton Bueno
                    wrote on 4 Oct 2018, 01:41 last edited by
                    #12

                    Have you tried checking or doing this?

                    sudo ln -fs /opt/vc/lib/libGLESv2.so /opt/vc/lib/libGLESv2.so.2
                    sudo ln -fs /opt/vc/lib/libEGL.so /opt/vc/lib/libEGL.so.1
                    sudo ldconfig
                    

                    Cleiton Bueno

                    Blog | Linkedin | B2Open

                    M 1 Reply Last reply 4 Oct 2018, 12:37
                    0
                    • C Cleiton Bueno
                      4 Oct 2018, 01:41

                      Have you tried checking or doing this?

                      sudo ln -fs /opt/vc/lib/libGLESv2.so /opt/vc/lib/libGLESv2.so.2
                      sudo ln -fs /opt/vc/lib/libEGL.so /opt/vc/lib/libEGL.so.1
                      sudo ldconfig
                      

                      Cleiton Bueno

                      Blog | Linkedin | B2Open

                      M Offline
                      M Offline
                      MAthias_Va
                      wrote on 4 Oct 2018, 12:37 last edited by MAthias_Va 10 Aug 2018, 06:35
                      #13

                      Thanks @Cleiton-Bueno, I just repeat the steps as you mentioned and it worked this way, I was able to configure it,

                      but I am little bit confused till which step should I stop here! https://wiki.qt.io/RaspberryPi2EGLFS, becasue I did everything and at the end It looks like Qt didn't accept my qmake file

                      Attached below is my configuration log file, I hope if you can find the time to have a look on it, I saw some errors inside but I couldn't resolve the issue, I am still beginner for this staff.

                      https://docs.google.com/document/d/1-Dq9tg9sXo4q6dpIeyYbokvNHbS2wL473GuR4GtP3fU/edit?usp=sharing

                      1 Reply Last reply
                      0

                      13/13

                      4 Oct 2018, 12:37

                      • Login

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