Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error feature XXX was enable but preconditions YYY failed, compiling qt on RPi3
Qt 6.11 is out! See what's new in the release blog

Error feature XXX was enable but preconditions YYY failed, compiling qt on RPi3

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 1 Posters 953 Views
  • 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.
  • L Offline
    L Offline
    Lightshadown
    wrote on last edited by
    #1

    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 RPi3

    first i do this
    PKG_CONFIG_LIBDIR=/usr/lib/arm-linux-gnueabihf/pkgconfig:/usr/share/pkgconfig

    then 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?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Lightshadown
      wrote on last edited by Lightshadown
      #2

      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?

      1 Reply Last reply
      0

      • Login

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