Search found 8 matches

by dbyoung
Thu Jun 13, 2019 1:57 am
Forum: Compiling
Topic: CPU compiler right, GPU compiler error
Replies: 1
Views: 408

Re: CPU compiler right, GPU compiler error

add --extra-cflags='/ID:\ffnvcodec'

still no.
err is same.
add head D:\ffnvcodec not in include cl.exe cmd.
by dbyoung
Thu Jun 13, 2019 1:31 am
Forum: Compiling
Topic: CPU compiler right, GPU compiler error
Replies: 1
Views: 408

CPU compiler right, GPU compiler error

VS2017 + MSYS, Compile ffmpeg

libavfilter\vf_scale_cuda.c, 85 line :
CUcontext cu_ctx;
Err : CUcontext no definition found
nv-codec-headers files are not included. What should I do?

I have ffnvcodec header and CUDA10 SDK, Where do I need to put it?

OS:WINDOWS10 X64
by dbyoung
Wed Nov 21, 2018 11:42 pm
Forum: Compiling
Topic: libavutil\avsscanf.c compile error
Replies: 5
Views: 962

Re: libavutil\avsscanf.c compile error

if (fabs(y) >= CONCAT(0x1p, DBL_MANT_DIG)) {

16 hex No 0x1p
by dbyoung
Wed Nov 21, 2018 12:12 am
Forum: Compiling
Topic: libavutil\avsscanf.c compile error
Replies: 5
Views: 962

Re: libavutil\avsscanf.c compile error

LINE 486
if (fabs(y) >= CONCAT(0x1p, DBL_MANT_DIG)) {

It seems not right.
by dbyoung
Mon Nov 19, 2018 2:54 am
Forum: Compiling
Topic: libavutil\avsscanf.c compile error
Replies: 5
Views: 962

libavutil\avsscanf.c compile error

libavutil\avsscanf.c compile error
WIN7X64 + VS2015

LINE42: off_t shlim, shcnt;
off_t not find.

git new version today.
by dbyoung
Sat Apr 15, 2017 3:15 pm
Forum: Compiling
Topic: Error compiling with visual studio 2015, libmfx static
Replies: 2
Views: 2994

Re: Error compiling with visual studio 2015, libmfx static

libmfx.pc:

prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libmfx
Description: Intel Media SDK Dispatched static library
Version: 7.16.5.13
Libs: -L${libdir} -llibmfx -llegacy_stdio_definitions
Libs.private:
Cflags: -I${includedir}
by dbyoung
Sat Apr 15, 2017 10:42 am
Forum: Compiling
Topic: zlib link error
Replies: 1
Views: 1490

zlib link error

config.log: check_lib zlib.h zlibVersion -lz check_func_headers zlib.h zlibVersion -lz check_ld cc -lz check_cc BEGIN ./ffconf.tSbkAkUJ.c 1 #include <zlib.h> 2 #include <stdint.h> 3 long check_zlibVersion(void) { return (long) zlibVersion; } 4 int main(void) { int ret = 0; 5 ret |= ((intptr_t)check_...
'