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. RPI cross-compilation errors : lGLESv2,cannot find id and xcb
Forum Update on Monday, May 27th 2025

RPI cross-compilation errors : lGLESv2,cannot find id and xcb

Scheduled Pinned Locked Moved Solved Installation and Deployment
raspberry eglfscross-compilingubuntu 16.04lglesv2xcb opengl
4 Posts 2 Posters 1.1k 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.
  • V Offline
    V Offline
    vishbynature
    wrote on 14 May 2019, 12:54 last edited by
    #1

    hello,
    Previously I had followed this link https://wiki.qt.io/RaspberryPi2EGLFS and succefully intalled Qt on UBUNTU 16 to cross compile on RPI 3B+.
    now i wanted to do the same with another RPI.
    I follwed the same link as above and did steps only concerning RPI and not PC obviously because it already had QT installed.
    after solving many issues i am stuck on these two things During Cross-Compiling program.
    :-1: error: cannot find -lGLESv2
    :-1: error: collect2: error: ld returned 1 exit status

    i installed messa-dev libs but nothing seems to work
    and

    when run QT make file of program ( make file copied from PC)it gives error like
    cannot find or load the Qt platform plugin "xcb".
    Please help,
    regards.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 14 May 2019, 20:34 last edited by
      #2

      Hi,

      Based on this answer the library name have changed in Stretch.

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

      V 1 Reply Last reply 16 May 2019, 07:26
      1
      • S SGaist
        14 May 2019, 20:34

        Hi,

        Based on this answer the library name have changed in Stretch.

        V Offline
        V Offline
        vishbynature
        wrote on 16 May 2019, 07:26 last edited by
        #3

        @SGaist
        so problem is in qt creator installed on ubuntu pc?
        which makefile should i edit?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 16 May 2019, 21:36 last edited by
          #4

          It's not a problem of Qt Creator. The mkspec used for the RPI3 is still valid unless your sysroot comes from a Debian Stretch were they have changed the library name.

          You need to modify the mkspec under devices that matches the Rpi3

          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
          2

          2/4

          14 May 2019, 20:34

          • Login

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