[Ffmpeg-devel] [Problem]
Farhan Amin
farhancsku
Wed Aug 2 12:02:48 CEST 2006
hello,
I've compiled ffmpeg for windows as described in the documentation
now I'm trying to compile ffmpeg .c with the libraries generated libavformat.lib and libavcodec.lib
I'm getting too many errors which are listed below
any help?
f:\FFmpeg\libavcodec\bswap.h(27): error C2064: term does not evaluate to a function taking 1 arguments
f:\FFmpeg\libavcodec\bswap.h(16): error C2400: inline assembler syntax error in 'opcode'; found '('
f:\FFmpeg\libavcodec\bswap.h(17): error C2064: term does not evaluate to a function taking 1 arguments
f:\FFmpeg\libavcodec\bswap.h(17): error C2143: syntax error : missing ';' before ':'
f:\FFmpeg\libavcodec\bswap.h(17): error C2143: syntax error : missing ';' before ':'
f:\FFmpeg\libavcodec\bswap.h(18): error C2059: syntax error : ')'
f:\FFmpeg\libavcodec\bswap.h(26): error C2400: inline assembler syntax error in 'opcode'; found 'no token'
f:\FFmpeg\libavcodec\bswap.h(27): error C2143: syntax error : missing ';' before ':'
f:\FFmpeg\libavcodec\bswap.h(27): error C2143: syntax error : missing ';' before ':'
f:\FFmpeg\libavcodec\bswap.h(34): error C2059: syntax error : ')'
f:\FFmpeg\libavcodec\bswap.h(41): error C2146: syntax error : missing ';' before identifier 'uint64_t'
f:\FFmpeg\libavcodec\bswap.h(41): error C2501: 'ByteSwap64::__unnamed::__extension__' : missing storage-class or type specifiers
f:\FFmpeg\libavcodec\bswap.h(43): error C2143: syntax error : missing ')' before ':'
f:\FFmpeg\libavcodec\bswap.h(43): error C2290: C++ 'asm' syntax ignored. Use __asm.
f:\FFmpeg\libavcodec\bswap.h(45): error C2059: syntax error : ')'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(237): error C2010: '.' : unexpected in macro formal parameter list
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(237): error C2010: '.' : unexpected in macro formal parameter list
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(237): error C2010: '.' : unexpected in macro formal parameter list
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(237): error C2010: ')' : unexpected in macro formal parameter list
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(278): error C2143: syntax error : missing ')' before ':'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(278): error C2290: C++ 'asm' syntax ignored. Use __asm.
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(280): error C2059: syntax error : ')'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(285): error C2143: syntax error : missing ')' before ':'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(285): error C2290: C++ 'asm' syntax ignored. Use __asm.
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(287): error C2059: syntax error : ')'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(330): warning C4244: 'return' : conversion from '__w64 int' to 'int', possible loss of data
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(800): warning C4146: unary minus operator applied to unsigned type, result still unsigned
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(1080): error C2010: '.' : unexpected in macro formal parameter list
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(1080): error C2010: '.' : unexpected in macro formal parameter list
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(1080): error C2010: '.' : unexpected in macro formal parameter list
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\common.h(1259): error C2059: syntax error : ''<L_TYPE_ambig>''
f:\FFmpeg\libavcodec\dsputil.h(385): error C2400: inline assembler syntax error in 'opcode'; found 'no token'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(119): warning C4305: 'initializing' : truncation from 'double' to 'float'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(406): error C2440: '=' : cannot convert from 'void *' to 'AVStream *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(432): error C2440: '=' : cannot convert from 'void *' to 'uint8_t *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(434): error C2440: '=' : cannot convert from 'void *' to 'uint8_t *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(458): error C2440: '=' : cannot convert from 'void *' to 'uint8_t *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(473): warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(482): error C3861: 'lrintf': identifier not found, even with argument-dependent lookup
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(568): error C2440: '=' : cannot convert from 'void *' to 'uint8_t *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(686): error C3861: 'lrintf': identifier not found, even with argument-dependent lookup
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(699): error C2440: '=' : cannot convert from 'void *' to 'uint8_t *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(737): error C2440: '=' : cannot convert from 'void *' to 'uint8_t *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(801): error C2440: '=' : cannot convert from 'void *' to 'uint8_t *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(859): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(861): warning C4244: '=' : conversion from 'float' to 'int', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(1009): warning C4244: '=' : conversion from 'uint64_t' to 'double', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(1012): warning C4244: '=' : conversion from 'uint64_t' to 'double', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(1124): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(1159): warning C4244: 'argument' : conversion from 'int64_t' to 'unsigned long', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(1339): error C2440: '=' : cannot convert from 'void *' to 'uint8_t *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(1353): error C2440: '=' : cannot convert from 'void *' to 'AVInputStream ** '
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(1358): error C2440: '=' : cannot convert from 'void *' to 'AVInputStream *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(1404): error C2440: '=' : cannot convert from 'void *' to 'AVOutputStream ** '
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(1408): error C2440: '=' : cannot convert from 'void *' to 'AVOutputStream *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(1631): error C2440: '=' : cannot convert from 'void *' to 'char *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(1636): warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2266): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2323): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2328): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2333): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2338): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2343): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2348): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2358): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2363): warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2418): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2423): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2428): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2432): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2436): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2440): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2444): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2612): warning C4244: '=' : conversion from '__w64 int' to 'int', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2744): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2908): error C2440: '=' : cannot convert from 'int' to 'CodecID'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2909): error C2664: 'avcodec_find_encoder' : cannot convert parameter 1 from 'int' to 'CodecID'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2917): error C2059: syntax error : '{'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2917): error C2143: syntax error : missing ';' before '{'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2917): error C2143: syntax error : missing ';' before '}'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2919): error C2059: syntax error : '{'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2919): error C2143: syntax error : missing ';' before '{'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(2919): error C2143: syntax error : missing ';' before '}'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3058): error C2440: '=' : cannot convert from 'void *' to 'RcOverride *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3067): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3145): error C2440: '=' : cannot convert from 'int' to 'CodecID'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3512): error C2440: '=' : cannot convert from 'void *' to 'uint16_t *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3518): error C2440: '=' : cannot convert from 'void *' to 'uint16_t *'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3642): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3643): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3644): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3645): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3646): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3647): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3648): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3649): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3650): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3651): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3652): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3653): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3654): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3655): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3656): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3657): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3658): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3659): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3660): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3661): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3663): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3665): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3667): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3668): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3669): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3670): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3671): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3672): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3673): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3674): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3675): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3678): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3679): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3680): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3681): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3682): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3683): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3684): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3685): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3686): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3687): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3688): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3689): error C2440: 'initializing' : cannot convert from 'void *' to 'void (__cdecl *)(const char *)'
c:\Function\CheckFfmpeg\CheckFfmpeg.cpp(3689): fatal error C1003: error count exceeds 100; stopping compilation
---------------------------------
How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates.
More information about the ffmpeg-devel
mailing list