Invalid switch - "".
Error: Errors detected during compilation :-
error C2039: 'cuCtxGetCurrent': is not a member of 'CudaFunctions'
error C2440: 'function': cannot convert from 'CUcontext *' to 'CUresult'
Unknown error detected. See ffvs_log.txt for further details.
ffmpeg6.1 cuda fail.
FFmpeg Version
ffmpeg6.1
Command Line
Start-Process -Wait -FilePath ".\project_generate.exe" -PassThru -NoNewWindow -ArgumentList
"--disable-all",
"--disable-autodetect","--enable-dxva2",
"--enable-d3d11va","--enable-cuvid",
"--enable-amf","--enable-libmfx",
"--enable-ffnvcodec","--enable-w32threads",
"--enable-gpl","--enable-version3",
"--enable-avutil","--enable-avdevice",
"--enable-avcodec","--enable-avformat",
"--enable-swresample","--enable-libx264",
"--enable-libx265","--enable-libopus",
"--enable-encoder=libx264","--enable-encoder=libx265",
"--enable-encoder=libopus","--enable-decoder=h264",
"--enable-decoder=hevc","--enable-decoder=libopus",
"--disable-doc","--disable-htmlpages",
"--disable-manpages","--disable-podpages",
"--disable-txtpages","--disable-network",
"--enable-nvenc","--enable-nvdec",
"--enable-encoder=h264_amf","--enable-encoder=h264_qsv",
"--enable-encoder=h264_nvenc","--enable-decoder=h264_cuvid",
"--enable-decoder=h264_qsv","--enable-hwaccel=h264_d3d11va2",
"--enable-hwaccel=h264_dxva2" `Your Environment
Possible Fix
Invalid switch - "". Error: Errors detected during compilation :- error C2039: 'cuCtxGetCurrent': is not a member of 'CudaFunctions' error C2440: 'function': cannot convert from 'CUcontext *' to 'CUresult' Unknown error detected. See ffvs_log.txt for further details.