pristineio / webrtc-build-scripts

A set of build scripts useful for building WebRTC libraries for Android and iOS.
BSD 3-Clause "New" or "Revised" License
1.13k stars 447 forks source link

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

Open FrankSunnyvale opened 8 years ago

FrankSunnyvale commented 8 years ago

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_arm64v8a/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 directoryout_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 commented 8 years ago

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

lboquan commented 8 years ago

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

ArikYa commented 8 years ago

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

dlewanda commented 8 years ago

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 commented 7 years ago

I've got the same error

zhuqinyong commented 2 years ago

Me too