Vpi integration with existing cpp project returns error

Hi,
I am working to integrate vpi into my cpp application. When i try to build the application after integrating vpi, I get the following error: “/usr/bin/ld: cannot find -lvpi: No such file or directory
collect2: error: ld returned 1 exit status”

I have a feeling this might be related to configuring the library paths. So, i tried exporting the vpi library path under “/opt/nvidia/vpi3”, but, that didnt help at all.

Please share any experiences with this kind of an issue and any potential solutions.

Thanks in advance for your support.