Error feature XXX was enable but preconditions YYY failed, compiling qt on RPi3
-
Hi, im trying to compile Qt5.15.8 from scratch on a Rpi3 everithing is working fine so far, but when i try to configure i get the follow error
Feature opengles2 was enable but the precondition (config.win32 && !features.opengl-dinamic) || (!config.watchos && !features.opengl-desktop && libs.opengl_es2) failed Feature eglfs was enable but the precondition (!config.android && !config.darwin && !config.win32 && !config.wasm && features.egl) failed
not sure whats happening here but im following the tutorial from here
building on RPi3first i do this
PKG_CONFIG_LIBDIR=/usr/lib/arm-linux-gnueabihf/pkgconfig:/usr/share/pkgconfigthen i try to configure like this
../qt-everywhere-src-5.15.8/configure -platform linux-rpi-g++ -v -opengl es2 -eglfs -no-gtk -opensource -confirm-license -release -reduce-exports -force-pkg-config -nomake examples -no-compile-examples -nomake tests -skip qtwayland -skip qtwebengine \ -no-feature-geoservices_mapboxgl -qt-pcre -no-pch -ssl -evdev -system-freetype -fontconfig -glib -prefix /opt/Qt/5.15.8 -qpa eglfs
Any idea whats coming on?
-
i did manage to configure then compile but i had to remove -opengl es2 -eglfs it trys to compile but after 5 hours or so i get and error from the linker
/usr/bin/ld: cannot find -lbrrcmEGL
/usr/bin/ld: cannot find -lbrmGLESv2
/usr/bin/ld: cannot find -lbrrcmEGL
/usr/bin/ld: cannot find -lbrmGLESv2
collect2: error: ld returned 1 exit status[Makefile.eglfsdeviceintegration:252: ../../../../lib/libQt5EglFSdeviceIntegration.so.5.15.8] Error1
i did check the config.sumary file and i did notice on openGL that i got Desktop opengl enable but not the other versions, meabe i need a diferent one?