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. Can not find a library file while compilation
Forum Update on Monday, May 27th 2025

Can not find a library file while compilation

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 680 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.
  • S Offline
    S Offline
    samxaverian
    wrote on last edited by A Former User
    #1

    I have recently installed qt 5.7.1 in my raspberry pi.
    But when I try to execute the makefile it gives error of not finding a package:-
    /usr/bin/ld: cannot find -lGLESv2

    I tried to find out this package in my system but couldn't.
    I aslo installed mesa libraries for opengl and opengles, but still then the problem exists.
    Can anyone tell me which packages to install to get the package glesv2 and how can I link it for execution?

    K 1 Reply Last reply
    0
    • S samxaverian

      I have recently installed qt 5.7.1 in my raspberry pi.
      But when I try to execute the makefile it gives error of not finding a package:-
      /usr/bin/ld: cannot find -lGLESv2

      I tried to find out this package in my system but couldn't.
      I aslo installed mesa libraries for opengl and opengles, but still then the problem exists.
      Can anyone tell me which packages to install to get the package glesv2 and how can I link it for execution?

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @samxaverian

      Hi and welcome to devnet

      @samxaverian said in can not find a library file while compilation:

      /usr/bin/ld: cannot find -1GLESv2

      looks like you need to change "-1GLESv2" to "-lGLESv2". That should be a lower case 'L' instead of a '1' (one).

      Vote the answer(s) that helped you to solve your issue(s)

      S 1 Reply Last reply
      1
      • K koahnig

        @samxaverian

        Hi and welcome to devnet

        @samxaverian said in can not find a library file while compilation:

        /usr/bin/ld: cannot find -1GLESv2

        looks like you need to change "-1GLESv2" to "-lGLESv2". That should be a lower case 'L' instead of a '1' (one).

        S Offline
        S Offline
        samxaverian
        wrote on last edited by samxaverian
        #3

        @koahnig thanks for the suggestion. Did the changes.

        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