rokibulislaam/colab-ffmpeg-cuda

ERROR: failed checking for nvcc when running build manually

Opened this issue · 0 comments

I was trying to run build command manually because i wanted to add to ffmpeg --enable-libfreetype option and when it comes to building ffmpeg part i get this error ERROR: failed checking for nvcc. What should i do?

PS. Even if i run !chmod +x ./colab-ffmpeg-cuda/build && ./colab-ffmpeg-cuda/build --build without modifying the build file i still get the same error. So is not because i wanted to add libfreetype option to ffmpeg.

building nv-codec
=======================
Downloading https://github.com/FFmpeg/nv-codec-headers/releases/download/n8.2.15.11/nv-codec-headers-8.2.15.11.tar.gz
... Done
$ make install

building ffmpeg
=======================
Downloading https://ffmpeg.org/releases/ffmpeg-4.3.1.tar.bz2
... Done
ERROR: failed checking for nvcc.

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@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.
$ make -j 2
Makefile:2: ffbuild/config.mak: No such file or directory
Makefile:40: /tools/Makefile: No such file or directory
Makefile:41: /ffbuild/common.mak: No such file or directory
Makefile:97: /libavutil/Makefile: No such file or directory
Makefile:97: /ffbuild/library.mak: No such file or directory
Makefile:99: /fftools/Makefile: No such file or directory
Makefile:100: /doc/Makefile: No such file or directory
Makefile:101: /doc/examples/Makefile: No such file or directory
Makefile:167: /tests/Makefile: No such file or directory
make: *** No rule to make target '/tests/Makefile'.  Stop.

Failed to Execute make -j 2