Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#7735 closed defect (fixed)

[git master] Build error: libavutil/cuda_check.c: No such file or directory

Reported by: bermond Owned by:
Priority: important Component: avfilter
Version: git-master Keywords: cuda regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

I'm getting the following error when trying to build ffmpeg git master:

CC      libavfilter/cuda_check.o
libavfilter/cuda_check.c:1:10: fatal error: libavutil/cuda_check.c: No such file or directory
 #include "libavutil/cuda_check.c"
          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [ffbuild/common.mak:60: libavfilter/cuda_check.o] Error 1

This seems to be caused by the recent commit 15c6390.

How to reproduce:

$ git clone https://git.ffmpeg.org/ffmpeg.git
$ cd ffmpeg
$ ./configure --prefix='/usr' --extra-cflags='-I/opt/cuda/include' --extra-ldflags='-L/opt/cuda/lib64' --enable-nonfree --enable-cuda-sdk
$ make -j1

System Information:

  • OS: Arch Linux x86_64
  • ffmpeg: git master
  • Compiler: gcc 8.2.1
  • CUDA: 10.0.130

Change History (4)

comment:1 by Carl Eugen Hoyos, 6 years ago

Keywords: regression added
Priority: normalimportant

comment:2 by Timo R., 6 years ago

Analyzed by developer: set
Reproduced by developer: set
Resolution: fixed
Status: newclosed

Fixed in 9e1e5213933dfed529f0cecac7304236a786177e

Confused how this did not break compilation for me initially. Must have had not a single filter enabled.

comment:3 by Carl Eugen Hoyos, 6 years ago

Keywords: cuda added

comment:4 by Carl Eugen Hoyos, 6 years ago

Analyzed by developer: unset
Note: See TracTickets for help on using tickets.