Re: [FFmpeg-user] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2019-10-22 Thread pasha-19
The ffnvcodec problem appears to be resolved.  However I now have a problem
with nvcc that according to some webpages is not compatible with msys2/mingw
will need to consider compiling using visual studio where I have had setup
problems (if I remember correctly being unable to find visual studio (maybe
because I installed the ide version and not the command line version.) 
Thanks for the offers of help.



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2019-10-21 Thread pasha-19
That fixed the error you found but not the error I reported.  Thanks for
solving a problem I had not yet identified.



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2019-10-21 Thread Moritz Barsnick
On Mon, Oct 21, 2019 at 16:42:16 -0500, pasha-19 wrote:
> $ pkg-config --list-all
> ...
> ffnvcodec   ffnvcodec - FFmpeg version of Nvidia Codec SDK headers
[...]
> ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

That's peculiar, because config.log says ffnvcodec was okay:

[...]
check_pkg_config ffnvcodec ffnvcodec >= 9.0.18.0 ffnvcodec/nvEncodeAPI.h 
ffnvcodec/dynlink_cuda.h ffnvcodec/dynlink_cuviddec.h 
ffnvcodec/dynlink_nvcuvid.h
test_pkg_config ffnvcodec ffnvcodec >= 9.0.18.0 ffnvcodec/nvEncodeAPI.h 
ffnvcodec/dynlink_cuda.h ffnvcodec/dynlink_cuviddec.h 
ffnvcodec/dynlink_nvcuvid.h
pkg-config --exists --print-errors ffnvcodec >= 9.0.18.0
check_func_headers ffnvcodec/nvEncodeAPI.h ffnvcodec/dynlink_cuda.h 
ffnvcodec/dynlink_cuviddec.h ffnvcodec/dynlink_nvcuvid.h  
-ID:/Portable/msys64/usr/local/include
test_ld cc -ID:/Portable/msys64/usr/local/include
test_cc -ID:/Portable/msys64/usr/local/include
BEGIN /tmp/ffconf.wKsH8Szh/test.c
1   #include 
2   #include 
3   #include 
4   #include 
5   #include 
6   int main(void) { int ret = 0;
7   return ret; }
END /tmp/ffconf.wKsH8Szh/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 -D__printf__=__gnu_printf__ 
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/usr/local/CUDA/include 
-std=c11 -fomit-frame-pointer -ID:/Portable/msys64/usr/local/include -c -o 
/tmp/ffconf.wKsH8Szh/test.o /tmp/ffconf.wKsH8Szh/test.c
gcc -L/usr/local/CUDA/lib/x64 -Wl,--nxcompat,--dynamicbase -Wl,--as-needed 
-ID:/Portable/msys64/usr/local/include -o /tmp/ffconf.wKsH8Szh/test.exe 
/tmp/ffconf.wKsH8Szh/test.o
[...]

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2019-10-21 Thread pasha-19
Tried the pkg-config before and after the configure.  The pkg-config found
ffnvcodec both before and after however it still is reported as not found in
the configure process.

$ cd /d/dev/cpp

$ PREFIX="ffmpeg"

$ PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"

$ pkg-config --list-all
...
ffnvcodec   ffnvcodec - FFmpeg version of Nvidia Codec SDK headers
...

$ $PREFIX/src/configure  --arch=native --cpu=native
--target-path=$PREFIX/bld/ --logfile=$PREFIX/bld/log/config.log 
--bindir=$PREFIX/bin/ --docdir=$PREFIX/doc/ --enable-nonfree --enable-cuda
--enable-cuvid --enable-nvdec --enable-nvenc --enable-libnpp
--extra-cflags=-I/usr/local/CUDA/include
--extra-ldflags=-L/usr/local/CUDA/lib/x64
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@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffmpeg/bld/log/config.log" produced by configure as
this will help
solve the problem.

$ pkg-config --list-all
...
ffnvcodec   ffnvcodec - FFmpeg version of Nvidia Codec SDK headers
...




--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] error compiling ffmpeg ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec

2019-10-21 Thread pasha-19
Additional information -- 
I learned to use pkg-config --list-all  note the results below ffnvcodec was
found.

using MSYS2 mingw 64-bit I generated the following:

$ cd /d/dev/cpp

$ PREFIX="ffmpeg"

$ PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"

$ pkg-config --list-all
...
ffnvcodec   ffnvcodec - FFmpeg version of Nvidia Codec SDK headers
...



--
Sent from: http://www.ffmpeg-archive.org/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".