Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ninja: error: loading 'build.ninja': No such file or directory #207

Open
FrankSunnyvale opened this issue Sep 16, 2016 · 6 comments
Open

Comments

@FrankSunnyvale
Copy link

FrankSunnyvale commented Sep 16, 2016

When I build webrtc using "dance" command on Macbook, it is always failed. Can anyone help me to fix this issue? Thanks a lot.

The OSX version is 10.11.3 El Capitan. Common steps performed:
$ source ios/build.sh
$ export WEBRTC_RELEASE=true
$ dance

Error message is:
ninja: Entering directory out_ios_armeabi_v7a/Release-iphoneos/' ninja: error: loading 'build.ninja': No such file or directory Running libtool error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/weizuo/projects/familysnap/gerrit/private_github/webrtc-build-scripts/ios/webrtc/src/out_ios_armeabi_v7a/Release-iphoneos/*.a (No such file or directory) Running strip error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: can't open file: /Users/weizuo/projects/familysnap/gerrit/private_github/webrtc-build-scripts/ios/webrtc/libjingle_peerconnection_builds/libWebRTC-14245-ios-armeabi_v7a-Release.a (No such file or directory) Running ninja ninja: Entering directoryout_ios_arm64_v8a/Release-iphoneos/'
ninja: error: loading 'build.ninja': No such file or directory
Running libtool
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/weizuo/projects/familysnap/gerrit/private_github/webrtc-build-scripts/ios/webrtc/src/out_ios_arm64_v8a/Release-iphoneos/_.a (No such file or directory)
Running strip
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: can't open file: /Users/weizuo/projects/familysnap/gerrit/private_github/webrtc-build-scripts/ios/webrtc/libjingle_peerconnection_builds/libWebRTC-14245-ios-arm64_v8a-Release.a (No such file or directory)
Running ninja
ninja: Entering directory out_ios_x86/Release-iphonesimulator/' ninja: error: loading 'build.ninja': No such file or directory Running libtool error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/weizuo/projects/familysnap/gerrit/private_github/webrtc-build-scripts/ios/webrtc/src/out_ios_x86/Release-iphonesimulator/_.a (No such file or directory) Running strip error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: can't open file: /Users/weizuo/projects/familysnap/gerrit/private_github/webrtc-build-scripts/ios/webrtc/libjingle_peerconnection_builds/libWebRTC-14245-ios-x86-Release.a (No such file or directory) Running ninja ninja: Entering directory out_ios_x86_64/Release-iphonesimulator/'
ninja: error: loading 'build.ninja': No such file or directory
Running libtool
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/weizuo/projects/familysnap/gerrit/private_github/webrtc-build-scripts/ios/webrtc/src/out_ios_x86_64/Release-iphonesimulator/*.a (No such file or directory)
Running strip
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: can't open file: /Users/weizuo/projects/familysnap/gerrit/private_github/webrtc-build-scripts/ios/webrtc/libjingle_peerconnection_builds/libWebRTC-14245-ios-x86_64-Release.a (No such file or directory)
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/weizuo/projects/familysnap/gerrit/private_github/webrtc-build-scripts/ios/webrtc/libjingle_peerconnection_builds/libWebRTC-14245-ios-armeabi_v7a-Release.a (No such file or directory)
Finished Dancing!

@Niteesh
Copy link

Niteesh commented Sep 20, 2016

I am also getting same error, could you find a way out?

@lboquan
Copy link

lboquan commented Oct 18, 2016

I've got the same error in both android and ios.

@ArikYa
Copy link
Contributor

ArikYa commented Oct 26, 2016

This was solved for Android yesterday. The fix for iOS isn't done yet

@dlewanda
Copy link

Hi @ArikYa, any updates on the iOS fix you mentioned a couple weeks back? Can you provide if/when you might expect an update that will resolve the ninja: error: loading 'build.ninja': No such file or directory error?

@elesos
Copy link

elesos commented Jun 26, 2017

I've got the same error

@zhuqinyong
Copy link

Me too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants