[FFmpeg-user] Fw: Not able to generate libpostproc

Polo.Zhang suncityofchina at gmail.com
Sat Mar 2 03:11:29 CET 2013


Hi,

I have read the article from
http://ffmpeg.org/pipermail/ffmpeg-user/2012-February/005149.html ,and do
the same things as you guide,but still not found the libpostproc.a
generated.

My build script show as follow,please help me.

#!/bin/sh

trap exit ERR

FFMPEG_DIR=ffmpeg-armv7
SCRIPT_DIR=$( (cd -P $(dirname $0) && pwd) )

echo "Pulling r22403..."
#svn co -r22403 svn://svn.ffmpeg.org/ffmpeg/trunk $FFMPEG_DIR

cd $FFMPEG_DIR
mkdir -p dist

# Default configure options
CONFIGURE_OPTIONS="--enable-gpl --enable-postproc --enable-swscale
--enable-avfilter --disable-asm --enable-cross-compile"

#
./configure 
--cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/
Developer/usr/bin/gcc
--as="$SCRIPT_DIR/gas-preprocessor.pl/Applications/Xcode.app/Contents/Develo
per/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc"
--extra-ldflags=-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhon
eOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/usr/lib/system
--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.plat
form/Developer/SDKs/iPhoneOS6.1.sdk --extra-cflags="-mdynamic-no-pic"
--prefix="dist"$CONFIGURE_OPTIONS --target-os=darwin --arch=armv7
--cpu=armv7 --extra-cflags='-arch armv7' --extra-ldflags='-arch armv7'

make && make install

echo "Installed: $FFMPEG_DIR/dist"



Best Regards

Polo Zhang





More information about the ffmpeg-user mailing list