Page 1 of 1

CPU compiler right, GPU compiler error

Posted: Thu Jun 13, 2019 1:31 am
by dbyoung
VS2017 + MSYS, Compile ffmpeg

libavfilter\vf_scale_cuda.c, 85 line :
CUcontext cu_ctx;
Err : CUcontext no definition found
nv-codec-headers files are not included. What should I do?

I have ffnvcodec header and CUDA10 SDK, Where do I need to put it?

OS:WINDOWS10 X64

Re: CPU compiler right, GPU compiler error

Posted: Thu Jun 13, 2019 1:57 am
by dbyoung
add --extra-cflags='/ID:\ffnvcodec'

still no.
err is same.
add head D:\ffnvcodec not in include cl.exe cmd.