1

FFmpeg を xCode 5 でコンパイルする方法を知っている人はいますか?

私の設定部分:

./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --クロスコンパイルを有効にする --arch=arm --target-os=darwin --enable-neon --disable-avfilter \ --disable-bsfs \ --enable-avresample --enable-swresample --disable-iconv --enable-gpl \ --disable-demuxers --enable-demuxer=rtsp --enable-demuxer=rtp --enable -demuxer=mpegts \ --disable-decoders --enable-decoder=mp2 --enable-decoder=mp3 --enable-decoder=mpeg2video --enable-decoder=ac3 - enable-decoder=dvbsub --enable-decoder= h264 \ --disable-parsers --enable-parser=mpegvideo - enable-parser=mpeg4video --enable-parser=mpegaudio --enable-parser=dvbsub\ --disable-muxers --disable-encoders --disable-filters \ --disable-protocols --enable-protocol=http --enable-protocol=rtp --enable-protocol=udp --enable-protocol=tcp \ --disable-swscale-alpha \ --disable-armv5te \ - -disable-armv6 \--disable-armv6t2 \ --cc=/Applications/Xcode.app/Contents/Developer/usr/bin --as='/usr/local/bin/gas preprocessor/gas-preprocessor.pl /Applications/Xcode.app /Contents/Developer/usr/bin' --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk --cpu=cortex-a8 --extra- cflags='-arch armv7 -mfpu=neon -mfloat-abi=softfp' --extra-ldflags='-arch armv7 -mfpu=neon -mfloat-abi=softfp -isysroot /Applications/Xcode.app/Contents/Developer/プラットフォーム/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk' --enable-pic --disable-bzlibapp/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk --cpu=cortex-a8 --extra-cflags='-arch armv7 -mfpu=neon -mfloat-abi=softfp' - -extra-ldflags='-arch armv7 -mfpu=neon -mfloat-abi=softfp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk' -- enable-pic --disable-bzlibapp/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk --cpu=cortex-a8 --extra-cflags='-arch armv7 -mfpu=neon -mfloat-abi=softfp' - -extra-ldflags='-arch armv7 -mfpu=neon -mfloat-abi=softfp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk' -- enable-pic --disable-bzlib

xCode 4 (異なるコンパイラパス) で動作します

エラーメッセージ:

./configure: line 3763: nm: command not found
4

2 に答える 2

2
./configure --prefix=armv7s --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --enable-avresample --enable-cross-compile --sysroot="/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk" --target-os=darwin --cc="/Applications/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" --extra-cflags="-arch armv7s -mfpu=neon -miphoneos-version-min=7.0" --extra-ldflags="-arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -miphoneos-version-min=7.0" --arch=arm --cpu=cortex-a9 --enable-pic

編集:スクリプトをダウンロードして、次から実行します: Installing ffmpeg ios libraries armv7, armv7s, i386 and universal on Mac on 10.8

于 2013-10-07T22:33:05.950 に答える