Cuda Encoder sample

Hi Everyone,

I am trying to run this sample–c-library–api

The Linux version of this sample contains windows microsoft visual studio files.
So I removed the windows specific code and tried to run.

I get the following error
undefined reference to cuvidCtxLockCreate' undefined reference to cuvidCtxLock’
undefined reference to cuvidCtxUnlock' undefined reference to cuvidCtxLockDestroy’
which says that I am missing a lib nvcuvid.lib

the thread
says that this lib is no more in linux api.

Does anyone have pointers regarding this issue.
I badly need to run this code.

Vikram Singh