ilyaevseev / ffmpeg-build

Script for compile and install a static ffmpeg build with nvenc support.
66 stars 41 forks source link

patching of dynlink_cuda.h fails #7

Closed VoodooZ closed 5 years ago

VoodooZ commented 5 years ago

Not sure if it's just a version issue. I'm on CENTOS 7.6.1810 and script pulled cuda-10.0.130-1.x86_64.

sed 's#@@PREFIX@@#/usr/local#' ffnvcodec.pc.in > ffnvcodec.pc
sed 's#@@PREFIX@@#/home/stephane/ffmpeg-build-static-binaries#' ffnvcodec.pc.in > ffnvcodec.pc
install -m 0755 -d '/home/stephane/ffmpeg-build-static-binaries/include/ffnvcodec'
install -m 0644 include/ffnvcodec/*.h '/home/stephane/ffmpeg-build-static-binaries/include/ffnvcodec'
install -m 0755 -d '/home/stephane/ffmpeg-build-static-binaries/lib/pkgconfig'
install -m 0644 ffnvcodec.pc '/home/stephane/ffmpeg-build-static-binaries/lib/pkgconfig'
patching file include/ffnvcodec/dynlink_cuda.h
Hunk #1 FAILED at 100.
1 out of 1 hunk FAILED -- saving rejects to file include/ffnvcodec/dynlink_cuda.h.rej
ilyaevseev commented 5 years ago

Can you attach here two files from /home/stephane/ffmpeg-build-static-binaries/include/ffnvcodec directory?

VoodooZ commented 5 years ago

odd. the drag and drop feature says it doesn't support that type of file?!? (.h)

VoodooZ commented 5 years ago

dynlink_cuda_error.zip

ilyaevseev commented 5 years ago

It seems that patching of your dynlink_cuda.h is not needed. Just ignore "FAILED -- saving rejects" message.

VoodooZ commented 5 years ago

yeah. that's what I was doing but just in case you wanted to know..

Thanks.