Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Having trouble on compiling QT in Raspberry pi 3 with error /usr/bin/ld: cannot find -lGLESv2
Forum Updated to NodeBB v4.3 + New Features

Having trouble on compiling QT in Raspberry pi 3 with error /usr/bin/ld: cannot find -lGLESv2

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 4 Posters 711 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    Surendar Dharani
    wrote on last edited by
    #1

    Hi,

    Here I'm trying to compile my existing project in Raspberry pi 3.

    But unfortunately i'm getting following error.

    /usr/bin/ld: cannot find -lGLESv2

    Please check and help me. Thanks in advance.

    jsulmJ Pablo J. RoginaP 2 Replies Last reply
    0
    • S Surendar Dharani

      Hi,

      Here I'm trying to compile my existing project in Raspberry pi 3.

      But unfortunately i'm getting following error.

      /usr/bin/ld: cannot find -lGLESv2

      Please check and help me. Thanks in advance.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Surendar-Dharani Install libgles2 and libgles2-dev packages

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        maxwell31
        wrote on last edited by
        #3

        There is a broadcom version of these libraries situated under /opt/vc/. You could make symbolic links there to have the correct name, and give the directory into the path

        1 Reply Last reply
        2
        • S Surendar Dharani

          Hi,

          Here I'm trying to compile my existing project in Raspberry pi 3.

          But unfortunately i'm getting following error.

          /usr/bin/ld: cannot find -lGLESv2

          Please check and help me. Thanks in advance.

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @Surendar-Dharani as mentioned by @maxwell31 regarding libraries, you may want to take a look at step #15 from this guide (I know it's related to cross-compilation, but that step may apply to your issue).

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          1

          • Login

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