Cuda Encoder sample

Hi Everyone,

I am trying to run this sample
http://docs.nvidia.com/cuda/cuda-samples/index.html#cuda-video-encode–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
https://devtalk.nvidia.com/default/topic/407917/cuda-sdk-2-1-2-2-where-is-nvcuvid-lib-33-missing-file-in-sdk-2-1-2-2/
says that this lib is no more in linux api.

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

Regards,
Vikram Singh