none
编译FFmepgInterop的ARM部分出错

    问题

  • 下载了微软开源的FFmpegInterop工程,搭好环境,利用Build.bat进行了编译,发现x64 x86都是正常的,d但是ARM部分出错,错误打印为:GNU assembler not found, install/update gas-preprocessor     config.log的最后打印是

    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -P -Fi./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(1): fatal error C1083: Cannot open include file: 'features.h': No such file or directory
    check_cpp_condition features.h defined __GLIBC__
    check_cpp
    BEGIN ./ffconf.msrlBw30.c
        1	#include <features.h>
        2	#if !(defined __GLIBC__)
        3	#error "unsatisfied condition: defined __GLIBC__"
        4	#endif
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -P -Fi./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(1): fatal error C1083: Cannot open include file: 'features.h': No such file or directory
    check_cpp_condition newlib.h defined _NEWLIB_VERSION
    check_cpp
    BEGIN ./ffconf.msrlBw30.c
        1	#include <newlib.h>
        2	#if !(defined _NEWLIB_VERSION)
        3	#error "unsatisfied condition: defined _NEWLIB_VERSION"
        4	#endif
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -P -Fi./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(1): fatal error C1083: Cannot open include file: 'newlib.h': No such file or directory
    check_cpp_condition _mingw.h defined __MINGW64_VERSION_MAJOR
    check_cpp
    BEGIN ./ffconf.msrlBw30.c
        1	#include <_mingw.h>
        2	#if !(defined __MINGW64_VERSION_MAJOR)
        3	#error "unsatisfied condition: defined __MINGW64_VERSION_MAJOR"
        4	#endif
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -P -Fi./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(1): fatal error C1083: Cannot open include file: '_mingw.h': No such file or directory
    check_cpp_condition _mingw.h defined __MINGW_VERSION
    check_cpp
    BEGIN ./ffconf.msrlBw30.c
        1	#include <_mingw.h>
        2	#if !(defined __MINGW_VERSION)
        3	#error "unsatisfied condition: defined __MINGW_VERSION"
        4	#endif
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -P -Fi./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(1): fatal error C1083: Cannot open include file: '_mingw.h': No such file or directory
    check_cpp_condition _mingw.h defined __MINGW32_VERSION
    check_cpp
    BEGIN ./ffconf.msrlBw30.c
        1	#include <_mingw.h>
        2	#if !(defined __MINGW32_VERSION)
        3	#error "unsatisfied condition: defined __MINGW32_VERSION"
        4	#endif
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -P -Fi./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(1): fatal error C1083: Cannot open include file: '_mingw.h': No such file or directory
    check_cpp_condition crtversion.h defined _VC_CRT_MAJOR_VERSION
    check_cpp
    BEGIN ./ffconf.msrlBw30.c
        1	#include <crtversion.h>
        2	#if !(defined _VC_CRT_MAJOR_VERSION)
        3	#error "unsatisfied condition: defined _VC_CRT_MAJOR_VERSION"
        4	#endif
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -P -Fi./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    check_cpp_condition crtversion.h _VC_CRT_MAJOR_VERSION < 14
    check_cpp
    BEGIN ./ffconf.msrlBw30.c
        1	#include <crtversion.h>
        2	#if !(_VC_CRT_MAJOR_VERSION < 14)
        3	#error "unsatisfied condition: _VC_CRT_MAJOR_VERSION < 14"
        4	#endif
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -P -Fi./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(3): fatal error C1189: #error:  "unsatisfied condition: _VC_CRT_MAJOR_VERSION < 14"
    check_cpp_condition stdlib.h defined(_WIN32_WINNT)
    check_cpp
    BEGIN ./ffconf.msrlBw30.c
        1	#include <stdlib.h>
        2	#if !(defined(_WIN32_WINNT))
        3	#error "unsatisfied condition: defined(_WIN32_WINNT)"
        4	#endif
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -P -Fi./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    check_cc
    BEGIN ./ffconf.msrlBw30.c
        1	#include <time.h>
        2	void *v = localtime_r;
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -c -Fo./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(2): error C2065: 'localtime_r': undeclared identifier
    ./ffconf.msrlBw30.c(2): error C2099: initializer is not a constant
    check_cc -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
    BEGIN ./ffconf.msrlBw30.c
        1	#include <time.h>
        2	void *v = localtime_r;
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -c -Fo./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(2): error C2065: 'localtime_r': undeclared identifier
    ./ffconf.msrlBw30.c(2): error C2099: initializer is not a constant
    check_host_cpp_condition features.h defined __UCLIBC__
    check_host_cpp
    BEGIN ./ffconf.msrlBw30.c
        1	#include <features.h>
        2	#if !(defined __UCLIBC__)
        3	#error "unsatisfied condition: defined __UCLIBC__"
        4	#endif
    END ./ffconf.msrlBw30.c
    gcc -D_ISOC99_SOURCE -std=c99 -Wall -O3 -E -o ./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c:3:2: error: #error "unsatisfied condition: defined __UCLIBC__"
     #error "unsatisfied condition: defined __UCLIBC__"
      ^
    check_host_cpp_condition features.h defined __GLIBC__
    check_host_cpp
    BEGIN ./ffconf.msrlBw30.c
        1	#include <features.h>
        2	#if !(defined __GLIBC__)
        3	#error "unsatisfied condition: defined __GLIBC__"
        4	#endif
    END ./ffconf.msrlBw30.c
    gcc -D_ISOC99_SOURCE -std=c99 -Wall -O3 -E -o ./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c:3:2: error: #error "unsatisfied condition: defined __GLIBC__"
     #error "unsatisfied condition: defined __GLIBC__"
      ^
    check_host_cpp_condition newlib.h defined _NEWLIB_VERSION
    check_host_cpp
    BEGIN ./ffconf.msrlBw30.c
        1	#include <newlib.h>
        2	#if !(defined _NEWLIB_VERSION)
        3	#error "unsatisfied condition: defined _NEWLIB_VERSION"
        4	#endif
    END ./ffconf.msrlBw30.c
    gcc -D_ISOC99_SOURCE -std=c99 -Wall -O3 -E -o ./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    check_host_cc
    BEGIN ./ffconf.msrlBw30.c
        1	#include <time.h>
        2	void *v = localtime_r;
    END ./ffconf.msrlBw30.c
    gcc -std=c99 -Wall -O3 -c -o ./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    check_compile_assert flt_lim float.h limits.h DBL_MAX == (double)DBL_MAX
    check_code cc float.h limits.h char c[2 * !!(DBL_MAX == (double)DBL_MAX) - 1]
    check_cc
    BEGIN ./ffconf.msrlBw30.c
        1	#include <float.h>
        2	#include <limits.h>
        3	int main(void) { char c[2 * !!(DBL_MAX == (double)DBL_MAX) - 1]; return 0; }
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -c -Fo./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    check_cpp_condition stdlib.h defined(__PIC__) || defined(__pic__) || defined(PIC)
    check_cpp
    BEGIN ./ffconf.msrlBw30.c
        1	#include <stdlib.h>
        2	#if !(defined(__PIC__) || defined(__pic__) || defined(PIC))
        3	#error "unsatisfied condition: defined(__PIC__) || defined(__pic__) || defined(PIC)"
        4	#endif
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -P -Fi./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(3): fatal error C1189: #error:  "unsatisfied condition: defined(__PIC__) || defined(__pic__) || defined(PIC)"
    check_cflags -fomit-frame-pointer
    test_cflags -fomit-frame-pointer
    check_cc
    BEGIN ./ffconf.msrlBw30.c
        1	int x;
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -c -Fo./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    check_cc
    BEGIN ./ffconf.msrlBw30.c
        1	int ff_extern;
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -c -Fo./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    check_cc
    BEGIN ./ffconf.msrlBw30.c
        1	void foo(void) { __asm__ volatile ("" ::); }
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -c -Fo./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(1): error C2065: '__asm__': undeclared identifier
    ./ffconf.msrlBw30.c(1): error C2143: syntax error: missing ';' before 'volatile'
    check_cc
    BEGIN ./ffconf.msrlBw30.c
        1	void foo(char * restrict p);
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -c -Fo./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(1): error C2146: syntax error: missing ')' before identifier 'p'
    ./ffconf.msrlBw30.c(1): error C2061: syntax error: identifier 'p'
    ./ffconf.msrlBw30.c(1): error C2059: syntax error: ';'
    ./ffconf.msrlBw30.c(1): error C2059: syntax error: ')'
    check_cc
    BEGIN ./ffconf.msrlBw30.c
        1	void foo(char * __restrict__ p);
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -c -Fo./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(1): error C2146: syntax error: missing ')' before identifier 'p'
    ./ffconf.msrlBw30.c(1): error C2061: syntax error: identifier 'p'
    ./ffconf.msrlBw30.c(1): error C2059: syntax error: ';'
    ./ffconf.msrlBw30.c(1): error C2059: syntax error: ')'
    check_cc
    BEGIN ./ffconf.msrlBw30.c
        1	void foo(char * __restrict p);
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -c -Fo./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    check_cc
    BEGIN ./ffconf.msrlBw30.c
        1	void foo(void) { _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") }
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -c -Fo./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(1): error C2143: syntax error: missing ';' before '}'
    check_cc
    BEGIN ./ffconf.msrlBw30.c
        1	struct { int x; } __attribute__((packed)) x;
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -c -Fo./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(1): error C2143: syntax error: missing ')' before '('
    ./ffconf.msrlBw30.c(1): error C2059: syntax error: ')'
    ./ffconf.msrlBw30.c(1): error C2146: syntax error: missing ')' before identifier 'x'
    ./ffconf.msrlBw30.c(1): error C2091: function returns function
    ./ffconf.msrlBw30.c(1): error C2061: syntax error: identifier 'x'
    ./ffconf.msrlBw30.c(1): error C2059: syntax error: ';'
    check_cc
    BEGIN ./ffconf.msrlBw30.c
        1	union { int x; } __attribute__((may_alias)) x;
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -c -Fo./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    ./ffconf.msrlBw30.c(1): error C2143: syntax error: missing ')' before '('
    ./ffconf.msrlBw30.c(1): error C2059: syntax error: ')'
    ./ffconf.msrlBw30.c(1): error C2146: syntax error: missing ')' before identifier 'x'
    ./ffconf.msrlBw30.c(1): error C2091: function returns function
    ./ffconf.msrlBw30.c(1): error C2061: syntax error: identifier 'x'
    ./ffconf.msrlBw30.c(1): error C2059: syntax error: ';'
    check_cc
    BEGIN ./ffconf.msrlBw30.c
        1	unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
    END ./ffconf.msrlBw30.c
    cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -c -Fo./ffconf.jDwMu4Wi.o ./ffconf.msrlBw30.c
    ffconf.msrlBw30.c
    gas-preprocessor.pl -arch arm -as-type armasm -- armasm -h
    /usr/bin/env: 'perl': No such file or directory
    check_gas using 'armasm' as AS
    check_as
    BEGIN ./ffconf.G3CUiJqG.S
        1	.macro m n, y:vararg=0
        2	\n: .int \y
        3	.endm
        4	m x
    END ./ffconf.G3CUiJqG.S
    armasm -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -ignore 4509 -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -march=armv7 -c -o ./ffconf.jDwMu4Wi.o ./ffconf.G3CUiJqG.S
    error A2029: unknown command-line argument or argument value -D_ISOC99_SOURCE
    
    
     Usage:      armasm [<options>] sourcefile objectfile
                 armasm [<options>] -o objectfile sourcefile
                 armasm -h              for help
    
    check_gas using 'armasm' as AS
    check_as
    BEGIN ./ffconf.G3CUiJqG.S
        1	.macro m n, y:vararg=0
        2	\n: .int \y
        3	.endm
        4	m x
    END ./ffconf.G3CUiJqG.S
    armasm -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -ignore 4509 -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -D__ARM_PCS_VFP -march=armv7 -c -o ./ffconf.jDwMu4Wi.o ./ffconf.G3CUiJqG.S
    error A2029: unknown command-line argument or argument value -D_ISOC99_SOURCE
    
    
     Usage:      armasm [<options>] sourcefile objectfile
                 armasm [<options>] -o objectfile sourcefile
                 armasm -h              for help
    
    GNU assembler not found, install/update gas-preprocessor
    


    求解答,这个是vs2015 update3和ffmepeg不兼容还是FFmpeg那边的问题,FFmpeg是最新的3.2.2版本,有何解决方案?



    • 已编辑 AlfredNG 2017年1月13日 5:50
    2017年1月13日 2:15

答案

  • Hi,

    你是不是没有安装配置gas-preprocessor? 应该把配置ffmpeg成ARM可以编译的。 对于ARM上面应该还不知道.NET Framework,你把ffmpeg interop 编译成在ARM上能运行的程序,我觉得不可能,一般都是把ffmpeg源码(不是interop)编译成ARM和windows2个版本,不知道你为什么要把interop的的源码编译成ARM平台的

    Best Regards,

    Hart

    下面是安装how-to-install-gas-preprocessor,根据我的观察这个应该是linux下面的配置这个工具的方法。 


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.



    2017年1月13日 6:08
    版主

全部回复

  • Hi,

    你是不是没有安装配置gas-preprocessor? 应该把配置ffmpeg成ARM可以编译的。 对于ARM上面应该还不知道.NET Framework,你把ffmpeg interop 编译成在ARM上能运行的程序,我觉得不可能,一般都是把ffmpeg源码(不是interop)编译成ARM和windows2个版本,不知道你为什么要把interop的的源码编译成ARM平台的

    Best Regards,

    Hart

    下面是安装how-to-install-gas-preprocessor,根据我的观察这个应该是linux下面的配置这个工具的方法。 


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.



    2017年1月13日 6:08
    版主
  • Hi,

    你是不是没有安装配置gas-preprocessor? 应该把配置ffmpeg成ARM可以编译的。 对于ARM上面应该还不知道.NET Framework,你把ffmpeg interop 编译成在ARM上能运行的程序,我觉得不可能,一般都是把ffmpeg源码(不是interop)编译成ARM和windows2个版本,不知道你为什么要把interop的的源码编译成ARM平台的

    Best Regards,

    Hart

    下面是安装how-to-install-gas-preprocessor,根据我的观察这个应该是linux下面的配置这个工具的方法。 


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.



    您好!我不是将他编译成一个版本,我是搭好环境运行Build.bat win10 ,x64和x86都能编译出来,就是ARM部分出现这种错误,之后我在vs2015里面编译sample 的x86和x64都是可以的,我看了你发的链接,照着做,也是不行,错误一样

    2017年1月13日 6:57
  • 有人知道什么回事吗?我是用vs2015Update3 ffmpeg3.2.2,编译x64 x86都能通过,就是ARM不行,已经将gas-preprocessor放到c:\msys64\usr\bin里面,which gas-preprocessor也是能看到的了
    2017年1月13日 8:14
  • Hi,

    x86 和 x64 的平台上面是支持.NET Framework,如果你用的FFMPEG 3.2.2是interop的版本,这个版本我想不会被支持在ARM平台上面的,因为ARM平台目前还不支持.NET 框架。

    FFMPEG官网上面我们可以知道。便宜windows 版本的ffmpeg工具,我们可以选择MinGW编译工具,这正对native的。

    你现在用的应该是Visual C++ 编译器,如果你想交叉编译,应该选择的是MinGW这种方式,详细步走可以看官网上面的介绍。

    Best Regards,

    Hart


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2017年1月13日 8:51
    版主
  • 原来我没有下载那个perl,所以读不到gas-preprocessor,现在编译正常了,谢谢回答!
    2017年1月14日 13:38