kxmovie
kxmovie copied to clipboard
Rake build failed
Xcode 5.1.1 OSX 10.9.4
icopy: /Users/icopy/Dropbox/kxmovie
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 ./configure: line 3270: /Applications/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang: No such file or directory Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 ./configure: line 3270: /Applications/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang: No such file or directory ./configure: line 3270: /Applications/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang: No such file or directory 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/icopy/Dropbox/kxmovie/Rakefile:8:in system_or_exit' /Users/icopy/Dropbox/kxmovie/Rakefile:159:in
buildArch'
/Users/icopy/Dropbox/kxmovie/Rakefile:207:in `block in <top (required)>'
Tasks: TOP => default => build_ffmpeg => build_ffmpeg_armv7
(See full trace by running task with --trace)
vim Rakefile replace line 15
XCODE_PATH='/Applications/XCode.app/Contents/Developer/Platforms'
to
XCODE_PATH='/Applications/Xcode.app/Contents/Developer/Platforms'
That didn't fix my issue
I'm having the same issue on Yosemite OS X 10.10
I'm having same issue. I fixed with:
- replace 'XCODE_PATH='/Applications/XCode.app/Contents/Developer/Platforms' with 'XCODE_PATH='/Applications/Xcode.app/Contents/Developer/Platforms' like khan-lau
- update SDK_VERSION (line 13) to current Xcode iOS SDK: '8.0' (I'm using Xcode 6)
@tranquan I build it in Xcode 6.1 and 8.1SDK,but I can't get the output folder,could you try it in this environment
xxfreedom: I'm on updating to Xcode 6.1 :D , yes, I'll try re-build why don't you try to open rake file and change SDK to 8.1 ?
Ofcourse I changed it . And I have also found the problem with ('').but still went wrong. I 'll update my project tomorrow to find if there was some changes. Thanks for your replying. Liangtong ------------------ 原始邮件 ------------------ 发件人: "Kenji-Tran"[email protected] 发送时间: 2014年10月28日(星期二) 下午5:33 收件人: "kolyvan/kxmovie"[email protected]; 主题: Re: [kxmovie] Rake build failed (#85)
xxfreedom: I'm on updating to Xcode 6.1 :D , yes, I'll try re-build why don't you try to open rake file and change SDK to 8.1 ?
— Reply to this email directly or view it on GitHub.
Changing SDK to 8.1 in the rakefile got it to work.
Changing SDK to 8.1 in the rakefile got it to work.
It works for me.
yes,it worked .
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/developer/SDKs/
to see what sdk version installed in you mac
I rake after send Error
rake aborted!
/Users/gitburning/Desktop/kxmovie-master/Rakefile:13: no .
(See full trace by running task with --trace)
I have the error as following: Building without ccache Configured with: --prefix=/Applications/Xcode-Beta.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Configured with: --prefix=/Applications/Xcode-Beta.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang is unable to create an executable file. C compiler test failed.
Could you tell me ,which result for it ?Thank you !
SDK_VERSION=‘8.1’ in kxmovie/Rakefile worked for me too (Os 10.10.2 Yosemite with latest 6.1.1 Xcode). Thank you a lot
SDK_VERSIOn='8.3' in kxmovie/Rakefile for Xcode 6.3 on Yosemite 10.10.3 works for me since it's iPhoneOS8.3.sdk inside /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/developer/SDKs/
nonstriater
yes,it worked .
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/developer/SDKs/ to see what sdk version installed in you mac
work for me too. thanks
@nonstriater work for me too, thanks
thank you.
thanks, it worked.
If you get the "no . floating literal anymore; put 0 before dot" error - this is because TextEdit stubbornly wants to replace tick mark ' with apostrophe `. You have to copy and paste one of the other tick marks and paste it over the top of the opening and closing ticks.
@Steztric You can also disable "smart quotes" in TextEdit preferences
Xcode 10.1, iOS 12.1
Changed line 13, SDK_VERSION
to SDK_VERSION='12.1'
Changed line 16, GCC_PATH='/Applications/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang'
to GCC_PATH='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang'
now matches line 15's path, not sure if it made a difference, but it's now consistent