I'm still new to OpenVG. Recently I got a code that needed to use OpenVG files, so I downloaded the OpenVG header files and other include files (GLES etc) into ~/OpenVG , ~/GLES and some other folders, and reroute the include locations of the files respective to ~/<folder location>.

I was able to compile, however I wanted to improve the code by static linking it.

However, I got an error :

ld: cannot find -lOpenVG

I'm thinking that this has something to do with /usr/lib, am I right? Unsure what to do here already (since when I removed the -static flag, it seems okay).