Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

qt cross compilation qith paraview: The OpenGL functionality tests failed!



  • I'm having this error with Qt5 while building ParaView-superbuild in Ubuntu 18.
    This installation of ParaView comes qith all the dependencies, including qt5.

    In one point the paraview-superbuild download https://www.paraview.org/files/dependencies/qt-everywhere-opensource-src-5.9.2.tar.xz and start the building process.

    This are some of the things that I had to install in my Ubuntu 18:

    sudo apt-get install g++
    apt-get install ninja-build
    sudo apt-get install pkg-config

    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.
    

    Something seems to be missing buy I'dont know what.

    This is the change.log when it starts to fail

    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:2:10: fatal error: libudev.h: No such file or directory
    >  #include <libudev.h>
    >           ^~~~~~~~~~~
    > compilation terminated.
    > Makefile:165: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.qtbase.libraries.libudev FAILED
    executing config test posix_fallocate
    
    
    
    
    > g++ -Wl,-O1 -fuse-ld=gold -o libdl main.o   -L/home/marcos/Desktop/pv/build/install/lib 
    > main.o:main.cpp:function main: error: undefined reference to 'dlopen'
    > collect2: error: ld returned 1 exit status
    > Makefile:65: recipe for target 'libdl' failed
    > make: *** [libdl] Error 1
     => source failed verification.
    Trying source 1 (type inline) of library libdl ...
    
    + /usr/bin/pkg-config --exists --silence-errors glib-2.0 gthread-2.0
    pkg-config did not find package.
      => source produced no result.
    test config.corelib.libraries.glib FAILED
    executing config test posix-iconv
    
    looking for library icu
    Trying source 0 (type inline) of library icu ...
      => source failed condition 'config.win32 && !features.shared'.
    Trying source 1 (type inline) of library icu ...
      => source failed condition 'config.win32 && features.shared'.
    Trying source 2 (type inline) of library icu ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/icu && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -licui18n -licuuc -licudata' 'LIBS += -ldl' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/icu
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/icu && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:2:10: fatal error: unicode/utypes.h: No such file or directory
    >  #include <unicode/utypes.h>
    >           ^~~~~~~~~~~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.corelib.libraries.icu FAILED
    executing config test inotify
    
    
    looking for library slog2
    Trying source 0 (type inline) of library slog2 ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/slog2 && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lslog2' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/slog2
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/slog2 && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:2:10: fatal error: slog2.h: No such file or directory
    >  #include <slog2.h>
    >           ^~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.corelib.libraries.slog2 FAILED
    looking for library libatomic
    Trying source 0 (type inline) of library libatomic ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/libatomic && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/libatomic
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/libatomic && MAKEFLAGS= /usr/bin/make
    
    looking for library doubleconversion
    Trying source 0 (type inline) of library doubleconversion ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/doubleconversion && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -ldouble-conversion' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/doubleconversion
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/doubleconversion && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:2:10: fatal error: double-conversion/double-conversion.h: No such file or directory
    >  #include <double-conversion/double-conversion.h>
    >           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.corelib.libraries.doubleconversion FAILED
    executing config test cloexec
    
    + /usr/bin/pkg-config --exists --silence-errors xcb '>=' 1.5
    pkg-config did not find package.
      => source produced no result.
    Trying source 1 (type inline) of library xcb ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/xcb && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lxcb' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/xcb
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/xcb && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:2:10: fatal error: xcb/xcb.h: No such file or directory
    >  #include <xcb/xcb.h>
    >           ^~~~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.gui.libraries.xcb FAILED
    looking for library opengl
    Trying source 0 (type pkgConfig) of library opengl ...
    + /usr/bin/pkg-config --exists --silence-errors gl
    pkg-config did not find package.
      => source produced no result.
    Trying source 1 (type makeSpec) of library opengl ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/opengl && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lGL' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/opengl
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/opengl && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:6:12: fatal error: GL/gl.h: No such file or directory
    >  #  include <GL/gl.h>
    >             ^~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.gui.libraries.opengl FAILED
    looking for library opengl_es2
    Trying source 0 (type pkgConfig) of library opengl_es2 ...
    + /usr/bin/pkg-config --exists --silence-errors glesv2
    pkg-config did not find package.
      => source produced no result.
    Trying source 1 (type makeSpec) of library opengl_es2 ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/opengl_es2 && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lGLESv2' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/opengl_es2
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/opengl_es2 && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:6:12: fatal error: GLES2/gl2.h: No such file or directory
    >  #  include <GLES2/gl2.h>
    >             ^~~~~~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.gui.libraries.opengl_es2 FAILED
    looking for library openvg
    Trying source 0 (type pkgConfig) of library openvg ...
    + /usr/bin/pkg-config --exists --silence-errors vg
    pkg-config did not find package.
      => source produced no result.
    Trying source 1 (type makeSpec) of library openvg ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/openvg && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lOpenVG' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/openvg
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/openvg && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:2:10: fatal error: VG/openvg.h: No such file or directory
    >  #include <VG/openvg.h>
    >           ^~~~~~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.gui.libraries.openvg FAILED
    executing config test evdev
    
    
    looking for library gbm
    Trying source 0 (type pkgConfig) of library gbm ...
    + /usr/bin/pkg-config --exists --silence-errors gbm
    pkg-config did not find package.
      => source produced no result.
    test config.gui.libraries.gbm FAILED
    looking for library drm
    Trying source 0 (type pkgConfig) of library drm ...
    + /usr/bin/pkg-config --exists --silence-errors libdrm
    pkg-config did not find package.
      => source produced no result.
    Trying source 1 (type inline) of library drm ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/drm && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -ldrm' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/drm
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/drm && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:5:10: fatal error: xf86drmMode.h: No such file or directory
    >  #include <xf86drmMode.h>
    >           ^~~~~~~~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    Trying source 2 (type inline) of library drm ...
      => source failed condition 'config.integrity'.
    test config.gui.libraries.drm FAILED
    executing config test linuxfb
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/linuxfb && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/linuxfb
    
    looking for library mtdev
    Trying source 0 (type pkgConfig) of library mtdev ...
    + /usr/bin/pkg-config --exists --silence-errors mtdev
    pkg-config did not find package.
      => source produced no result.
    test config.gui.libraries.mtdev FAILED
    executing config test qpa_default_platform
    test config.gui.tests.qpa_default_platform gave result xcb
    looking for library harfbuzz
    Trying source 0 (type inline) of library harfbuzz ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/harfbuzz && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lharfbuzz' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/harfbuzz
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/harfbuzz && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:2:10: fatal error: harfbuzz/hb.h: No such file or directory
    >  #include <harfbuzz/hb.h>
    >           ^~~~~~~~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.gui.libraries.harfbuzz FAILED
    looking for library libpng
    Trying source 0 (type pkgConfig) of library libpng ...
    + /usr/bin/pkg-config --exists --silence-errors libpng
    + /usr/bin/pkg-config --modversion libpng
    > 1.6.37
    + /usr/bin/pkg-config --libs-only-L libpng
    > -L/home/marcos/Desktop/pv/build/install/lib
    + /usr/bin/pkg-config --libs-only-l libpng
    > -lpng16 -lz
    + /usr/bin/pkg-config --cflags libpng
    > -I/home/marcos/Desktop/pv/build/install/include/libpng16 -I/home/marcos/Desktop/pv/build/install/include
    
    looking for library tslib
    Trying source 0 (type inline) of library tslib ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/tslib && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lts' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/tslib
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/tslib && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:2:10: fatal error: tslib.h: No such file or directory
    >  #include <tslib.h>
    >           ^~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.gui.libraries.tslib FAILED
    looking for library xkbcommon
    Trying source 0 (type pkgConfig) of library xkbcommon ...
    + /usr/bin/pkg-config --exists --silence-errors xkbcommon
    pkg-config did not find package.
      => source produced no result.
    test config.gui.libraries.xkbcommon FAILED
    executing config test xlib
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/xlib && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/xlib
    
    
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/db2 && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -ldb2' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/db2
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/db2 && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:2:10: fatal error: sqlcli.h: No such file or directory
    >  #include <sqlcli.h>
    >           ^~~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.sqldrivers.libraries.db2 FAILED
    looking for library ibase
    Trying source 0 (type inline) of library ibase ...
      => source failed condition 'config.win32'.
    Trying source 1 (type inline) of library ibase ...
    
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.sqldrivers.libraries.ibase FAILED
    looking for library mysql
    Trying source 0 (type mysqlConfig) of library mysql ...
    mysql_config not found.
      => source produced no result.
    Trying source 1 (type mysqlConfig) of library mysql ...
    mysql_config not found.
      => source produced no result.
    Trying source 2 (type mysqlConfig) of library mysql ...
    mysql_config not found.
      => source produced no result.
    Trying source 3 (type mysqlConfig) of library mysql ...
    mysql_config not found.
      => source produced no result.
    Trying source 4 (type inline) of library mysql ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/mysql && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lmysqlclient_r' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/mysql
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/mysql && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:5:10: fatal error: mysql.h: No such file or directory
    >  #include <mysql.h>
    >           ^~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    Trying source 5 (type inline) of library mysql ...
      => source failed condition 'config.win32'.
    Trying source 6 (type inline) of library mysql ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/mysql && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lmysqlclient' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/mysql
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/mysql && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
    > rm -f main.o
    > rm -f *~ core *.core
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:5:10: fatal error: mysql.h: No such file or directory
    >  #include <mysql.h>
    >           ^~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.sqldrivers.libraries.mysql FAILED
    looking for library oci
    Trying source 0 (type inline) of library oci ...
      => source failed condition 'config.win32'.
    Trying source 1 (type inline) of library oci ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/oci && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lclntsh' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/oci
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/oci && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:2:10: fatal error: oci.h: No such file or directory
    >  #include <oci.h>
    >           ^~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.sqldrivers.libraries.oci FAILED
    looking for library odbc
    Trying source 0 (type inline) of library odbc ...
      => source failed condition 'config.win32'.
    Trying source 1 (type inline) of library odbc ...
      => source failed condition 'config.darwin'.
    Trying source 2 (type inline) of library odbc ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/odbc && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lodbc' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/odbc
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/odbc && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:5:10: fatal error: sql.h: No such file or directory
    >  #include <sql.h>
    >           ^~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.sqldrivers.libraries.odbc FAILED
    looking for library psql
    Trying source 0 (type pkgConfig) of library psql ...
    + /usr/bin/pkg-config --exists --silence-errors libpq
    pkg-config did not find package.
      => source produced no result.
    Trying source 1 (type psqlConfig) of library psql ...
    pg_config not found.
      => source produced no result.
    Trying source 2 (type psqlEnv) of library psql ...
      => source failed condition 'config.win32'.
    Trying source 3 (type psqlEnv) of library psql ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/psql && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lpq' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/psql
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/psql && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:2:10: fatal error: libpq-fe.h: No such file or directory
    >  #include <libpq-fe.h>
    >           ^~~~~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.sqldrivers.libraries.psql FAILED
    looking for library sqlite2
    Trying source 0 (type inline) of library sqlite2 ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/sqlite2 && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lsqlite' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/sqlite2
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/sqlite2 && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:2:10: fatal error: sqlite.h: No such file or directory
    >  #include <sqlite.h>
    >           ^~~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.sqldrivers.libraries.sqlite2 FAILED
    looking for library tds
    Trying source 0 (type sybaseEnv) of library tds ...
      => source failed condition 'config.win32'.
    Trying source 1 (type sybaseEnv) of library tds ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/tds && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lsybdb' /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/tds
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/tds && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o main.cpp
    > main.cpp:2:10: fatal error: sybfront.h: No such file or directory
    >  #include <sybfront.h>
    >           ^~~~~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.sqldrivers.libraries.tds FAILED
    executing config test d3d12
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/d3d12 && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' /home/marcos/Desktop/pv/build/superbuild/qt5/src/qtdeclarative/config.tests/d3d12
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/d3d12 && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtdeclarative/config.tests/d3d12 -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o d3d12.o /home/marcos/Desktop/pv/build/superbuild/qt5/src/qtdeclarative/config.tests/d3d12/d3d12.cpp
    > /home/marcos/Desktop/pv/build/superbuild/qt5/src/qtdeclarative/config.tests/d3d12/d3d12.cpp:40:10: fatal error: d3d12.h: No such file or directory
    >  #include <d3d12.h>
    >           ^~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'd3d12.o' failed
    > make: *** [d3d12.o] Error 1
    test config.quick.tests.d3d12 FAILED
    looking for library assimp
    Trying source 0 (type pkgConfig) of library assimp ...
    + /usr/bin/pkg-config --exists --silence-errors assimp '>' 3.3.1
    pkg-config did not find package.
      => source produced no result.
    Trying source 1 (type inline) of library assimp ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/assimp && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lassimp' /home/marcos/Desktop/pv/build/superbuild/qt5/src/qt3d/config.tests/assimp
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/assimp && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qt3d/config.tests/assimp -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o /home/marcos/Desktop/pv/build/superbuild/qt5/src/qt3d/config.tests/assimp/main.cpp
    > /home/marcos/Desktop/pv/build/superbuild/qt5/src/qt3d/config.tests/assimp/main.cpp:29:10: fatal error: assimp/cimport.h: No such file or directory
    >  #include <assimp/cimport.h>
    >           ^~~~~~~~~~~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.core.libraries.assimp FAILED
    looking for library fbx
    Trying source 0 (type fbx) of library fbx ...
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/fbx && /home/marcos/Desktop/pv/build/superbuild/qt5/build/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'QMAKE_LIBDIR += /home/marcos/Desktop/pv/build/install/lib' 'INCLUDEPATH += /home/marcos/Desktop/pv/build/install/include' 'LIBS += -lfbxsdk -L/usr/local/lib -L/usr/lib' /home/marcos/Desktop/pv/build/superbuild/qt5/src/qt3d/config.tests/fbx
    + cd /home/marcos/Desktop/pv/build/superbuild/qt5/build/config.tests/fbx && MAKEFLAGS= /usr/bin/make
    > g++ -c -pipe -O2 -w -fPIC  -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qt3d/config.tests/fbx -I. -I/home/marcos/Desktop/pv/build/install/include -I/home/marcos/Desktop/pv/build/superbuild/qt5/src/qtbase/mkspecs/linux-g++ -o main.o /home/marcos/Desktop/pv/build/superbuild/qt5/src/qt3d/config.tests/fbx/main.cpp
    > /home/marcos/Desktop/pv/build/superbuild/qt5/src/qt3d/config.tests/fbx/main.cpp:29:10: fatal error: fbxsdk.h: No such file or directory
    >  #include <fbxsdk.h>
    >           ^~~~~~~~~~
    > compilation terminated.
    > Makefile:167: recipe for target 'main.o' failed
    > make: *** [main.o] Error 1
     => source failed verification.
    test config.geometryloaders.libraries.fbx FAILED
    
    


  • Obviously, you are missing developer versions of the libraries. Those should be listed in requirements somewhere?
    On Debian-like systems (here: Ubuntu) those should be listed as <package-name>-dev.


Log in to reply