kxmovie icon indicating copy to clipboard operation
kxmovie copied to clipboard

Rake build failed

Open icopyx opened this issue 10 years ago • 21 comments

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:inbuildArch' /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)

icopyx avatar Aug 20 '14 03:08 icopyx

vim Rakefile replace line 15

XCODE_PATH='/Applications/XCode.app/Contents/Developer/Platforms'

to

XCODE_PATH='/Applications/Xcode.app/Contents/Developer/Platforms'

khan-lau avatar Sep 12 '14 06:09 khan-lau

That didn't fix my issue

rw86347 avatar Oct 03 '14 16:10 rw86347

I'm having the same issue on Yosemite OS X 10.10

hanleyhansen avatar Oct 07 '14 14:10 hanleyhansen

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 avatar Oct 21 '14 07:10 tranquan

@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 avatar Oct 27 '14 08:10 xxfreedom

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 ?

tranquan avatar Oct 28 '14 09:10 tranquan

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.

ghost avatar Oct 28 '14 10:10 ghost

Changing SDK to 8.1 in the rakefile got it to work.

nickwah avatar Nov 22 '14 00:11 nickwah

Changing SDK to 8.1 in the rakefile got it to work.

It works for me.

zedoul avatar Dec 21 '14 09:12 zedoul

yes,it worked .

cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/developer/SDKs/

to see what sdk version installed in you mac

nonstriater avatar Dec 24 '14 04:12 nonstriater

I rake after send Error

rake aborted! /Users/gitburning/Desktop/kxmovie-master/Rakefile:13: no . floating literal anymore; put 0 before dot SDK_VERSION=‘8.1’ ^ /Users/gitburning/Desktop/kxmovie-master/Rakefile:13: syntax error, unexpected tINTEGER, expecting '(' SDK_VERSION=‘8.1’ ^

(See full trace by running task with --trace)

burning-git avatar Jan 27 '15 08:01 burning-git

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 !

starmier avatar Mar 08 '15 09:03 starmier

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

Pierinux avatar Mar 08 '15 20:03 Pierinux

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/

t2wu avatar Apr 21 '15 14:04 t2wu

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

namse avatar Jun 18 '15 10:06 namse

@nonstriater work for me too, thanks

red010182 avatar Jan 23 '16 16:01 red010182

thank you.

xxxhuizhang avatar Mar 23 '16 02:03 xxxhuizhang

thanks, it worked.

zhengwu119 avatar Sep 09 '16 04:09 zhengwu119

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 avatar Aug 01 '17 21:08 Steztric

@Steztric You can also disable "smart quotes" in TextEdit preferences preferences_and_rakefile

danielStokowski avatar Aug 14 '17 08:08 danielStokowski

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

RustyKnight avatar Jan 02 '19 21:01 RustyKnight