lvjian700 / ffmpegc Goto Github PK
View Code? Open in Web Editor NEWCompile ffmpeg for iOS, support armv7s , armvs7 & i386 simulator
Compile ffmpeg for iOS, support armv7s , armvs7 & i386 simulator
I try to build ffmpeg for iOS 7 with libx264, but failed.
does anyone knows how to build x264 for iOS 7?
make: *** [libavcodec/arm/vp8dsp_armv6.o] Error 1
not found for architecture x86_64
There is a compilation error with the i386 platform and the last version of ffmpeg (1.2.1) ; "cc1: error in backend: Ran out of registers during register allocation!
make: *** [libavcodec/h264_cabac.o] Error 1"
With the configure option "--disable-asm", it compiles without any problem (http://www.tangentsoftworks.com/blog/2012/11/12/how-to-prepare-your-mac-for-ios-development-with-ffmpeg-libraries/)
Ronan
install gas-* perl script
install gas-preproccesor.pr
Cloning into 'gas-preprocessor'...
remote: Counting objects: 171, done.
remote: Total 171 (delta 0), reused 0 (delta 0), pack-reused 171
Receiving objects: 100% (171/171), 32.34 KiB | 0 bytes/s, done.
Resolving deltas: 100% (54/54), done.
Checking connectivity... done.
copy gas-preprocessor.pl to /usr/sbin
set execute right
install finished.
Using ffmpeg-2.0.2.tar.bz2
Building without ccache
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang is unable to create an executable file.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
There is a problem when I try to compile for the SDK 7.1!! What should be done to fix this issue??
It looks like that the script doesn't work with the new release of iOS and Xcode tools :
"compile armv7 ...
Makefile:3: config.mak: No such file or directory
cat: config.h: No such file or directory
./configure
Found no assembler
Minimum version is yasm-1.2.0
If you really want to compile without asm, configure with --disable-asm.
make: *** [config.mak] Error 1
Unknown option --disable-shared, ignored
No working C compiler found.
Makefile:3: config.mak: No such file or directory
cat: config.h: No such file or directory
./configure
Found no assembler
Minimum version is yasm-1.2.0
If you really want to compile without asm, configure with --disable-asm.
make: *** [config.mak] Error 1
Makefile:2: config.mak: No such file or directory
Makefile:49: /common.mak: No such file or directory
Makefile:92: /libavutil/Makefile: No such file or directory
Makefile:92: /library.mak: No such file or directory
Makefile:178: /doc/Makefile: No such file or directory
Makefile:179: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'. Stop.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc is unable to create an executable file.
C compiler test failed."
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive member: libavfilter/libavfilter.a(bbox.o) cputype (12) does not match previous archive members cputype (7) (all members must match)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive member: libavfilter/libavfilter.a(bbox.o) cputype (12) does not match previous archive members cputype (7) (all members must match)
make: *** [libavfilter/libavfilter.a] Error 1
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: armv7/lib/*.a (No such file or directory)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.