kxmovie
kxmovie copied to clipboard
rake failed
rake Executing cd FFmpeg; ./configure --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-ffprobe --disable-doc --disable-bzlib --target-os=darwin --enable-cross-compile --enable-version3 --arch=arm --cpu=cortex-a8 --enable-pic --extra-cflags='-arch armv7 -miphoneos-version-min=6.0' --extra-ldflags='-arch armv7 -miphoneos-version-min=6.0' --extra-cflags='-mfpu=neon -mfloat-abi=softfp' --enable-neon --enable-optimizations --disable-debug --disable-armv5te --disable-armv6 --disable-armv6t2 --enable-small --cc=/Applications/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk 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.
rake aborted!
******** Build failed ********
/Users/lvjunwei/kxmovie/Rakefile:8:in system_or_exit' /Users/lvjunwei/kxmovie/Rakefile:159:in
buildArch'
/Users/lvjunwei/kxmovie/Rakefile:207:in `block in <top (required)>'
Tasks: TOP => default => build_ffmpeg => build_ffmpeg_armv7
(See full trace by running task with --trace)
iOS SDK version number is hardcoded to 7.1 in the Rakefile. You need to set the SDK version number to the one matching your system. For example, I have Xcode 6.2 with iOS SDK 8.2 installed on my system. And I need to change SDK_VERSION='7.1'
to SDK_VERSION='8.2'
in the Rakefile to make it work.
I'm faced with this kind of question, I have changed the SDK_VERSION, but it don't work.
I didn't find SDK_VERSION= in Rakefile
cd kxmovie then: nano Rakefile then: change line 13 : SDK_VERSION='7.0' to SDK_VERSION='9.3'(or your SDK version) and change too line 16: GCC_PATH='/Applications/XCode.app/Contents/Developer/Toolchains/ to GCC_PATH='/Applications/Xcode.app/Contents/Developer/Toolchains/ then press control + o to save and press enter, then control + x and then rake again
tell me if works =)