/usr/bin/ld: cannot find -lnvidia-encode

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

/usr/bin/ld: cannot find -lnvidia-encode

marfis
Hi,

i want to compile opencv2, gstreamer and nvenc/nvdec for python3. I did it
many times on native host with success. Now i try to do the same thing on a
nvidia-docker container (nvidia/cuda:10.0-cudnn7-devel-ubuntu18.04). I wrote
a dockerfile, mount and copy the necessary headers and start building.

Error for nvenc after running make :

CC       libgstnvenc_la-gstnvh264enc.lo
cc1: warning: cnvenc: No such file or directory [-Wmissing-include-dirs]
CCLD     libgstnvenc.la
/usr/bin/ld: cannot find -lnvidia-encode
collect2: error: ld returned 1 exit status
Makefile:832: recipe for target 'libgstnvenc.la' failed
make: *** [libgstnvenc.la] Error 1

Same on nvdec after running make :
/usr/bin/ld: cannot find -lnvcuvid


So the question is, how to get the libraries -nvcuvid and -lnvidia-encode.
On a native host , i got no problems at all

Did the same steps as you can see there:
https://gist.github.com/corenel/a615b6f7eb5b5425aa49343a7b409200 

Regards Martin





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel