Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Could not find the Qt platform plugin "eglfs" in ""
QtWS25 Last Chance

Could not find the Qt platform plugin "eglfs" in ""

Scheduled Pinned Locked Moved Unsolved General and Desktop
42 Posts 5 Posters 12.4k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #32

    What I meant is to take a look at the tests that have been run during the Qt configure step to see why they failed.

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    K 1 Reply Last reply
    0
    • SGaistS SGaist

      What I meant is to take a look at the tests that have been run during the Qt configure step to see why they failed.

      K Offline
      K Offline
      kutluyigitturk
      wrote on last edited by
      #33

      @SGaist Let's throw everything to the wind.

      The following point caught my attention in the configuration summary.

      QPA backends:
        DirectFB ............................... no
        EGLFS .................................. no
        LinuxFB ................................ yes
        VNC .................................... yes
        Mir client ............................. no
      

      If I don't get it wrong, the 'EGLFS ................................................ no' part tells us that EGLFS was not installed. How can I follow a path to install it?

      JKSHJ 1 Reply Last reply
      0
      • K kutluyigitturk

        @SGaist Let's throw everything to the wind.

        The following point caught my attention in the configuration summary.

        QPA backends:
          DirectFB ............................... no
          EGLFS .................................. no
          LinuxFB ................................ yes
          VNC .................................... yes
          Mir client ............................. no
        

        If I don't get it wrong, the 'EGLFS ................................................ no' part tells us that EGLFS was not installed. How can I follow a path to install it?

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #34

        @kutluyigitturk said in Could not find the Qt platform plugin "eglfs" in "":

        @SGaist Let's throw everything to the wind.

        The following point caught my attention in the configuration summary.

        QPA backends:
          DirectFB ............................... no
          EGLFS .................................. no
          LinuxFB ................................ yes
          VNC .................................... yes
          Mir client ............................. no
        

        If I don't get it wrong, the 'EGLFS ................................................ no' part tells us that EGLFS was not installed. How can I follow a path to install it?

        Good work with finding the relevant items in the configure summary!

        There are other EGL-related items in your log:

        Qt Gui:
          EGL .................................... no
        
        Features used by QPA backends:
          X11 specific:
            EGL on X11 ........................... no
        
        QPA backends:
          EGLFS .................................. no
          XCB:
            GL integrations:
              GLX Plugin ......................... no
              EGL-X11 Plugin ..................... no
        

        Anyway, see item #14 at https://wiki.qt.io/RaspberryPi2EGLFS

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        K 1 Reply Last reply
        0
        • JKSHJ JKSH

          @kutluyigitturk said in Could not find the Qt platform plugin "eglfs" in "":

          @SGaist Let's throw everything to the wind.

          The following point caught my attention in the configuration summary.

          QPA backends:
            DirectFB ............................... no
            EGLFS .................................. no
            LinuxFB ................................ yes
            VNC .................................... yes
            Mir client ............................. no
          

          If I don't get it wrong, the 'EGLFS ................................................ no' part tells us that EGLFS was not installed. How can I follow a path to install it?

          Good work with finding the relevant items in the configure summary!

          There are other EGL-related items in your log:

          Qt Gui:
            EGL .................................... no
          
          Features used by QPA backends:
            X11 specific:
              EGL on X11 ........................... no
          
          QPA backends:
            EGLFS .................................. no
            XCB:
              GL integrations:
                GLX Plugin ......................... no
                EGL-X11 Plugin ..................... no
          

          Anyway, see item #14 at https://wiki.qt.io/RaspberryPi2EGLFS

          K Offline
          K Offline
          kutluyigitturk
          wrote on last edited by
          #35

          @JKSH I looked at the link you mentioned and tried to implement it. But in step 13 echo /usr/local/qt5pi/lib | sudo tee /etc/ld.so.conf.d/qt5pi.conf , I don't have a file named qt5pi.conf or qt5opi.conf. Could I be unable to reach the point I want because of this?

          By the way, I'm already doing the process in steps 14 during the installation.

          I'm trying to find where I went wrong. I think it will take a very long time. :/

          JKSHJ 1 Reply Last reply
          0
          • K kutluyigitturk

            @JKSH I looked at the link you mentioned and tried to implement it. But in step 13 echo /usr/local/qt5pi/lib | sudo tee /etc/ld.so.conf.d/qt5pi.conf , I don't have a file named qt5pi.conf or qt5opi.conf. Could I be unable to reach the point I want because of this?

            By the way, I'm already doing the process in steps 14 during the installation.

            I'm trying to find where I went wrong. I think it will take a very long time. :/

            JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #36

            @kutluyigitturk said in Could not find the Qt platform plugin "eglfs" in "":

            But in step 13 echo /usr/local/qt5pi/lib | sudo tee /etc/ld.so.conf.d/qt5pi.conf , I don't have a file named qt5pi.conf or qt5opi.conf.

            The tee command creates a file. The command above writes the string "/usr/local/qt5pi/lib" into a file called qt5pi.conf.

            By the way, I'm already doing the process in steps 14 during the installation.

            I'm trying to find where I went wrong. I think it will take a very long time. :/

            It can be tricky, I know.

            Take a step back: Don't worry about Qt first; make sure the EGL libraries are working on your device.

            According to https://github.com/matusnovak/rpi-opengl-without-x you should have libbrcmEGL.so (or libEGL.so) and libbrcmGLESv2.so in /opt/vc/lib. Are the libraries there there? Do the triangle examples work on your device?

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            K 1 Reply Last reply
            0
            • JKSHJ JKSH

              @kutluyigitturk said in Could not find the Qt platform plugin "eglfs" in "":

              But in step 13 echo /usr/local/qt5pi/lib | sudo tee /etc/ld.so.conf.d/qt5pi.conf , I don't have a file named qt5pi.conf or qt5opi.conf.

              The tee command creates a file. The command above writes the string "/usr/local/qt5pi/lib" into a file called qt5pi.conf.

              By the way, I'm already doing the process in steps 14 during the installation.

              I'm trying to find where I went wrong. I think it will take a very long time. :/

              It can be tricky, I know.

              Take a step back: Don't worry about Qt first; make sure the EGL libraries are working on your device.

              According to https://github.com/matusnovak/rpi-opengl-without-x you should have libbrcmEGL.so (or libEGL.so) and libbrcmGLESv2.so in /opt/vc/lib. Are the libraries there there? Do the triangle examples work on your device?

              K Offline
              K Offline
              kutluyigitturk
              wrote on last edited by
              #37

              @JKSH said in Could not find the Qt platform plugin "eglfs" in "":

              @kutluyigitturk said in Could not find the Qt platform plugin "eglfs" in "":

              But in step 13 echo /usr/local/qt5pi/lib | sudo tee /etc/ld.so.conf.d/qt5pi.conf , I don't have a file named qt5pi.conf or qt5opi.conf.

              The tee command creates a file. The command above writes the string "/usr/local/qt5pi/lib" into a file called qt5pi.conf.

              Good of you to say, I didn't know this worked. I ran this command and got no errors.

              By the way, I'm already doing the process in steps 14 during the installation.

              I'm trying to find where I went wrong. I think it will take a very long time. :/

              It can be tricky, I know.

              Take a step back: Don't worry about Qt first; make sure the EGL libraries are working on your device.

              According to https://github.com/matusnovak/rpi-opengl-without-x you should have libbrcmEGL.so (or libEGL.so) and libbrcmGLESv2.so in /opt/vc/lib. Are the libraries there there? Do the triangle examples work on your device?

              First of all, there is no /opt/vc/lib directory on Orange Pi. I created this myself and downloaded the necessary links via the 'https://github.com/raspberrypi/firmware/tree/master/opt/vc/lib' link. Then I flashed this lib folder and put it on Orange Pi. Then I copied the .so files to the required directory with the cp -r command.

              Could doing it this way cause any problems?

              I downloaded the file from the link 'https://github.com/matusnovak/rpi-opengl-without-x' back to a flash drive. I saved the 5 files in it in a folder named example on the desktop. When I run gcc -o triangle triangle.o -lbrcmEGL -lbrcmGLESv2 -L/opt/vc/lib I get the following error.

              root@orangepione:/home/opi/Desktop/example# gcc -o triangle triangle.o -lbrcmEGL -lbrcmGLESv2 -L/opt/vc/lib
              /usr/bin/ld: warning: libbcm_host.so, needed by /opt/vc/lib/libbrcmEGL.so, not found (try using -rpath or -rpath-link)
              /usr/bin/ld: warning: libvchiq_arm.so, needed by /opt/vc/lib/libbrcmEGL.so, not found (try using -rpath or -rpath-link)
              /usr/bin/ld: warning: libvcos.so, needed by /opt/vc/lib/libbrcmEGL.so, not found (try using -rpath or -rpath-link)
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_log_impl'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_generic_mem_free'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vc_dispmanx_display_get_info'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_connect'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_generic_reentrant_mutex_lock'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_thread_at_exit'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_initialise'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_generic_reentrant_mutex_delete'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_release_message'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_get_client_id'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vc_dispmanx_element_add'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_generic_reentrant_mutex_unlock'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_queue_message'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiu_queue_init'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_snprintf'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiu_queue_push'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_named_semaphore_delete'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_log_register'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_generic_mem_alloc'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vc_dispmanx_display_open'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vc_dispmanx_update_start'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_pthreads_map_errno'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_generic_reentrant_mutex_create'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_queue_bulk_receive'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_queue_bulk_transmit'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_generic_named_semaphore_create'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_open_service'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_log_unregister'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiu_queue_pop'
              /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vc_dispmanx_update_submit_sync'
              collect2: error: ld returned 1 exit status
              
              JKSHJ 1 Reply Last reply
              0
              • K Offline
                K Offline
                kutluyigitturk
                wrote on last edited by
                #38

                @JKSH @SGaist Hello again, I'm back with another thought.

                As in Raspberry Pi, /opt/vc/lib directory does not occur between Orange Pi directories. I created this directory manually in Orange Pi. I am also copying the files in the directory from the /opt/vc/lib folder within the Raspberry Pi ecosystem to a Flash Drive.

                cp -rL /opt/vc/lib /media/pi/SANDISK
                

                Then I insert this memory into Orange Pi and copy it to the /opt/vc/lib directory I created in the Orange Pi ecosystem.

                cp -r /media/pi/SANDISK /opt/vc
                

                But between two different directories, different views emerge as I added in the photo below. The libGLESv1_CM.so file I show with the red frame looks different between directories.
                2021-09-02-104450_1920x1080_scrot.png

                Could my process be incorrect? How accurate is it to copy like this? This is where my error most likely stems from.

                1 Reply Last reply
                0
                • K kutluyigitturk

                  @JKSH I am creating the folder named /qt5opi in the /usr/local directory. I create with this command, sudo mkdir /usr/local/qt5opi . You can see the same process when you open the 14th minute of the video.

                  When I execute this command ./OrangeDemoQml -platform xcb I get a very similar error.

                  ./OrangeDemoQml -platform xcb is the error I get when I execute this command:

                  qt.qpa.xcb: could not connect to display 
                  qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
                  This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
                  
                  Available platform plugins are: linuxfb, minimal, offscreen, vnc, webgl, xcb.
                  
                  Aborted
                  

                  Errors I get after running export QT_DEBUG_PLUGINS=1

                  QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/qt5opi/plugins/platforms" ...
                  QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5opi/plugins/platforms/libqlinuxfb.so"
                  Found metadata in lib /usr/local/qt5opi/plugins/platforms/libqlinuxfb.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                      "MetaData": {
                          "Keys": [
                              "linuxfb"
                          ]
                      },
                      "archreq": 0,
                      "className": "QLinuxFbIntegrationPlugin",
                      "debug": false,
                      "version": 331520
                  }
                  
                  
                  Got keys from plugin meta data ("linuxfb")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5opi/plugins/platforms/libqminimal.so"
                  Found metadata in lib /usr/local/qt5opi/plugins/platforms/libqminimal.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                      "MetaData": {
                          "Keys": [
                              "minimal"
                          ]
                      },
                      "archreq": 0,
                      "className": "QMinimalIntegrationPlugin",
                      "debug": false,
                      "version": 331520
                  }
                  
                  
                  Got keys from plugin meta data ("minimal")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5opi/plugins/platforms/libqoffscreen.so"
                  Found metadata in lib /usr/local/qt5opi/plugins/platforms/libqoffscreen.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                      "MetaData": {
                          "Keys": [
                              "offscreen"
                          ]
                      },
                      "archreq": 0,
                      "className": "QOffscreenIntegrationPlugin",
                      "debug": false,
                      "version": 331520
                  }
                  
                  
                  Got keys from plugin meta data ("offscreen")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5opi/plugins/platforms/libqvnc.so"
                  Found metadata in lib /usr/local/qt5opi/plugins/platforms/libqvnc.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                      "MetaData": {
                          "Keys": [
                              "vnc"
                          ]
                      },
                      "archreq": 0,
                      "className": "QVncIntegrationPlugin",
                      "debug": false,
                      "version": 331520
                  }
                  
                  
                  Got keys from plugin meta data ("vnc")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5opi/plugins/platforms/libqwebgl.so"
                  Found metadata in lib /usr/local/qt5opi/plugins/platforms/libqwebgl.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                      "MetaData": {
                          "Keys": [
                              "webgl"
                          ]
                      },
                      "archreq": 0,
                      "className": "QWebGLIntegrationPlugin",
                      "debug": false,
                      "version": 331520
                  }
                  
                  
                  Got keys from plugin meta data ("webgl")
                  QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5opi/plugins/platforms/libqxcb.so"
                  Found metadata in lib /usr/local/qt5opi/plugins/platforms/libqxcb.so, metadata=
                  {
                      "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                      "MetaData": {
                          "Keys": [
                              "xcb"
                          ]
                      },
                      "archreq": 0,
                      "className": "QXcbIntegrationPlugin",
                      "debug": false,
                      "version": 331520
                  }
                  
                  
                  Got keys from plugin meta data ("xcb")
                  QFactoryLoader::QFactoryLoader() checking directory path "/home/opi/platforms" ...
                  loaded library "/usr/local/qt5opi/plugins/platforms/libqxcb.so"
                  qt.qpa.xcb: could not connect to display 
                  qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
                  This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
                  
                  Available platform plugins are: linuxfb, minimal, offscreen, vnc, webgl, xcb.
                  
                  Aborted
                  
                  
                  B Offline
                  B Offline
                  bumankumar3
                  wrote on last edited by bumankumar3
                  #39

                  @kutluyigitturk I have the same issue. Any tips for solution?

                  teatv apk
                  spice money

                  K 1 Reply Last reply
                  0
                  • K kutluyigitturk

                    @JKSH said in Could not find the Qt platform plugin "eglfs" in "":

                    @kutluyigitturk said in Could not find the Qt platform plugin "eglfs" in "":

                    But in step 13 echo /usr/local/qt5pi/lib | sudo tee /etc/ld.so.conf.d/qt5pi.conf , I don't have a file named qt5pi.conf or qt5opi.conf.

                    The tee command creates a file. The command above writes the string "/usr/local/qt5pi/lib" into a file called qt5pi.conf.

                    Good of you to say, I didn't know this worked. I ran this command and got no errors.

                    By the way, I'm already doing the process in steps 14 during the installation.

                    I'm trying to find where I went wrong. I think it will take a very long time. :/

                    It can be tricky, I know.

                    Take a step back: Don't worry about Qt first; make sure the EGL libraries are working on your device.

                    According to https://github.com/matusnovak/rpi-opengl-without-x you should have libbrcmEGL.so (or libEGL.so) and libbrcmGLESv2.so in /opt/vc/lib. Are the libraries there there? Do the triangle examples work on your device?

                    First of all, there is no /opt/vc/lib directory on Orange Pi. I created this myself and downloaded the necessary links via the 'https://github.com/raspberrypi/firmware/tree/master/opt/vc/lib' link. Then I flashed this lib folder and put it on Orange Pi. Then I copied the .so files to the required directory with the cp -r command.

                    Could doing it this way cause any problems?

                    I downloaded the file from the link 'https://github.com/matusnovak/rpi-opengl-without-x' back to a flash drive. I saved the 5 files in it in a folder named example on the desktop. When I run gcc -o triangle triangle.o -lbrcmEGL -lbrcmGLESv2 -L/opt/vc/lib I get the following error.

                    root@orangepione:/home/opi/Desktop/example# gcc -o triangle triangle.o -lbrcmEGL -lbrcmGLESv2 -L/opt/vc/lib
                    /usr/bin/ld: warning: libbcm_host.so, needed by /opt/vc/lib/libbrcmEGL.so, not found (try using -rpath or -rpath-link)
                    /usr/bin/ld: warning: libvchiq_arm.so, needed by /opt/vc/lib/libbrcmEGL.so, not found (try using -rpath or -rpath-link)
                    /usr/bin/ld: warning: libvcos.so, needed by /opt/vc/lib/libbrcmEGL.so, not found (try using -rpath or -rpath-link)
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_log_impl'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_generic_mem_free'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vc_dispmanx_display_get_info'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_connect'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_generic_reentrant_mutex_lock'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_thread_at_exit'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_initialise'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_generic_reentrant_mutex_delete'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_release_message'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_get_client_id'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vc_dispmanx_element_add'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_generic_reentrant_mutex_unlock'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_queue_message'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiu_queue_init'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_snprintf'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiu_queue_push'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_named_semaphore_delete'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_log_register'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_generic_mem_alloc'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vc_dispmanx_display_open'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vc_dispmanx_update_start'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_pthreads_map_errno'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_generic_reentrant_mutex_create'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_queue_bulk_receive'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_queue_bulk_transmit'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_generic_named_semaphore_create'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiq_open_service'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vcos_log_unregister'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vchiu_queue_pop'
                    /usr/bin/ld: /opt/vc/lib/libbrcmEGL.so: undefined reference to `vc_dispmanx_update_submit_sync'
                    collect2: error: ld returned 1 exit status
                    
                    JKSHJ Offline
                    JKSHJ Offline
                    JKSH
                    Moderators
                    wrote on last edited by
                    #40

                    @kutluyigitturk said in Could not find the Qt platform plugin "eglfs" in "":

                    First of all, there is no /opt/vc/lib directory on Orange Pi. I created this myself and downloaded the necessary links via the 'https://github.com/raspberrypi/firmware/tree/master/opt/vc/lib' link. Then I flashed this lib folder and put it on Orange Pi. Then I copied the .so files to the required directory with the cp -r command.

                    Could doing it this way cause any problems?

                    Are you sure that the *.so versions at https://github.com/raspberrypi/firmware/tree/master/opt/vc/lib are compatible with the rest of your system?

                    /usr/bin/ld: warning: libbcm_host.so, needed by /opt/vc/lib/libbrcmEGL.so, not found (try using -rpath or -rpath-link)

                    You have missing dependencies. You need to find libbcm_host.so, like the message said.

                    But between two different directories, different views emerge as I added in the photo below. The libGLESv1_CM.so file I show with the red frame looks different between directories.

                    It looks like you have lost a symbolic link. Call ls -l to see the differences more clearly.

                    When I copy files that include symbolic links, I use cp -a.

                    Anyway, your issues are not Qt-related. I don't have experience with setting up a Raspberry Pi, so I'm not sure how much I can help you.

                    I suggest you seek help at a Raspberry Pi forum first. Make sure that you can run the examples at https://github.com/matusnovak/rpi-opengl-without-x first.

                    After that, you can try building Qt and the EGLFS plugin again.

                    Good luck.

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                    K 1 Reply Last reply
                    0
                    • JKSHJ JKSH

                      @kutluyigitturk said in Could not find the Qt platform plugin "eglfs" in "":

                      First of all, there is no /opt/vc/lib directory on Orange Pi. I created this myself and downloaded the necessary links via the 'https://github.com/raspberrypi/firmware/tree/master/opt/vc/lib' link. Then I flashed this lib folder and put it on Orange Pi. Then I copied the .so files to the required directory with the cp -r command.

                      Could doing it this way cause any problems?

                      Are you sure that the *.so versions at https://github.com/raspberrypi/firmware/tree/master/opt/vc/lib are compatible with the rest of your system?

                      /usr/bin/ld: warning: libbcm_host.so, needed by /opt/vc/lib/libbrcmEGL.so, not found (try using -rpath or -rpath-link)

                      You have missing dependencies. You need to find libbcm_host.so, like the message said.

                      But between two different directories, different views emerge as I added in the photo below. The libGLESv1_CM.so file I show with the red frame looks different between directories.

                      It looks like you have lost a symbolic link. Call ls -l to see the differences more clearly.

                      When I copy files that include symbolic links, I use cp -a.

                      Anyway, your issues are not Qt-related. I don't have experience with setting up a Raspberry Pi, so I'm not sure how much I can help you.

                      I suggest you seek help at a Raspberry Pi forum first. Make sure that you can run the examples at https://github.com/matusnovak/rpi-opengl-without-x first.

                      After that, you can try building Qt and the EGLFS plugin again.

                      Good luck.

                      K Offline
                      K Offline
                      kutluyigitturk
                      wrote on last edited by
                      #41

                      @JKSH Thank you for your help.

                      1 Reply Last reply
                      0
                      • B bumankumar3

                        @kutluyigitturk I have the same issue. Any tips for solution?

                        teatv apk
                        spice money

                        K Offline
                        K Offline
                        kutluyigitturk
                        wrote on last edited by
                        #42

                        @bumankumar3 I'll let you know if I can fix the problem.

                        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