try compile with this script:
rm -r ./compiled
echo Configure for armv7 build
./configure \
--cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc
\
--as='/usr/local/bin/gas-preprocessor.pl
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pl
Hi, How do you fix the problem?
I get the same problem as yours.
--
View this message in context:
http://libav-users.943685.n4.nabble.com/Libav-user-Trying-to-compile-ffmpeg-for-iOS-tp4500195p4655113.html
Sent from the libav-users mailing list archive at Nabble.com
I use build ffmpeg for iOS 5.1 successfully.
bug when I try to link my application with the libraries this above
script generates, I get the following:
"ld: warning: ignoring file
/Users/X/ffmpeg/ffmpeg/armv7/libavcodec.a, file was built for
archive which is not the architecture being linked (
Thank you everybody... it worked! ;-)
On Tue, Mar 27, 2012 at 2:05 PM, Alex Cohn wrote:
> On Tue, Mar 27, 2012 at 18:00, Wagner Patriota
> wrote:
> > Thanks Gavin,
> >
> > I am using the latest SDK and the latest FFMPEG..
> >
> > I tried this:
> > ./configure
> > --enable-static
> > --disable-sh
On Tue, Mar 27, 2012 at 18:00, Wagner Patriota
wrote:
> Thanks Gavin,
>
> I am using the latest SDK and the latest FFMPEG..
>
> I tried this:
> ./configure
> --enable-static
> --disable-shared
> --enable-pic
> --sysroot="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Develo
I tried to do this to double check the architeture it says armv7
but when I try to link, it doesn't work...
lipo -i libavformat.a
input file libavformat.a is not a fat file
Non-fat file: libavformat.a is architecture: armv7
I also tried to change the compiler to llvm-gcc but the sam
Thanks Gavin,
I am using the latest SDK and the latest FFMPEG..
I tried this:
./configure
--enable-static
--disable-shared
--enable-pic
--sysroot="*
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
*"
--extra-ldflags="-arch armv7 -isysroot *
/A
On Friday 23 March 2012 21:22:33 Wagner Patriota wrote:
> Has anybody done it yet?
Yes, haven't tested with the latest SDK yet but for 5.0 and below I have it
working.
> I am using the following commands:
>
>
> But when I try to link my application with the libraries this above
> script gener
Has anybody done it yet?
I am using the following commands:
#!/bin/tcsh -f
if (! -d armv7) mkdir armv7
if (! -d lib) mkdir lib
rm armv7/*.a
make clean
./configure --disable-asm --disable-network --disable-mpegaudio-hp
--disable-lpc --disable-vaapi --disable-vd