[FFmpeg-trac] #7453(build system:new): configure doesn't find ffnvcodec headers on hackintosh
FFmpeg
trac at avcodec.org
Sat Sep 22 21:52:02 EEST 2018
#7453: configure doesn't find ffnvcodec headers on hackintosh
-------------------------------------+-------------------------------------
Reporter: w4t3r | Type: defect
Status: new | Priority: normal
Component: build | Version: git-
system | master
Keywords: hackintosh, | Blocked By:
nvidia, gpu, gpu acceleration, | Reproduced by developer: 0
nvenc, pkgconfig, configure |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Unable to compile ffmpeg on macOS 10.13.6 with Nvidia GPU acceleration
support. I'm using a GTX 1080ti on a hackintosh.
How to reproduce:
• install CUDA toolkit
• install ffnvcodec headers
• install other ffmpeg deps via homebrew
• clone ffmpeg from https://git.ffmpeg.org/ffmpeg.git
Run configure:
{{{
Daniels-iMac:ffmpeg daniel$ ./configure --enable-cuda --enable-cuvid
--enable-nvenc --enable-nonfree --enable-libnpp --extra-
cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib
ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this
will help
solve the problem.
}}}
As you can see it fails.
Proof that nvenc headers are there:
{{{
Daniels-iMac:ffmpeg daniel$ pkg-config --cflags ffnvcodec
-I/usr/local/include
Daniels-iMac:ffmpeg daniel$ pkg-config ffnvcodec
Daniels-iMac:ffmpeg daniel$ echo $?
0
Daniels-iMac:ffmpeg daniel$ ls /usr/local/include/ffnvcodec/
dynlink_cuda.h dynlink_cuviddec.h dynlink_loader.h
dynlink_nvcuvid.h nvEncodeAPI.h
Daniels-iMac:ffmpeg daniel$
}}}
ffbuild/config.log: https://lfil.es/f/65f3a96b
Also, the last piece of code contained in the config.log file, compiled
manually, exits 0
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7453>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list