NVIDIAハードウェアアクセラレーションをサポートするようにffmpegをコンパイルしようとしています。しかし、次のエラーが発生しています:NVIDIAハードウェアアクセラレーションをサポートするためにffmpegをコンパイルできません
libavcodec/cuvid.c: In function ‘check_cu’:
libavcodec/cuvid.c:83:5: error: implicit declaration of function ‘cuGetErrorName’ [-Werror=implicit-function-declaration]
cuGetErrorName(err, &err_name);
^
libavcodec/cuvid.c:84:5: error: implicit declaration of function ‘cuGetErrorString’ [-Werror=implicit-function-declaration]
cuGetErrorString(err, &err_string);
NVIDIA Developerフォーラムの指示に従ってCUDAをインストールしました。私が使用した設定は:
私のラップトップのGPUは、NVIDIA Corporation GM108M [GeForce 840M]です。