Unsolved Can not find a library file while compilation
-
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 -lGLESv2I 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? -
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).
-
@koahnig thanks for the suggestion. Did the changes.