Build fails instantly, after git clone is done.

101 views
Skip to first unread message

Shaul Fridman

unread,
Nov 12, 2016, 10:28:44 AM11/12/16
to webrtcbuilds

I am trying to build the webrtc static libs, using the build.sh script
After 4 hours and 13GB of git cloning, I get to the compile part of the script, the line:


echo Compiling WebRTC

compile $PLATFORM $OUTDIR "$TARGET_OS" "$TARGET_CPU" "$BLACKLIST"


The result of the run is:

...

Checking WebRTC dependencies

Patching WebRTC source

Compiling WebRTC

Generating project files with: rtc_include_tests=false enable_iterator_debugging=false target_os="mac" target_cpu="x64"

ERROR Unresolved dependencies.

//:default(//build/toolchain/mac:clang_x64)

  needs //webrtc:webrtc(//build/toolchain/mac:clang_x64)


Can anyone help in this?
Do you know what is the 'compile' command in the bash script? its not recognized on the Mac terminal.

EARob Agar

unread,
Nov 17, 2016, 5:39:58 AM11/17/16
to webrtcbuilds
Yep got the same error, have a look at #39, but also see #41 which is what happens when you do get it to build.  I'm tryiing to figure out a fix / workaround but for now I'm stuck on using the last known good revision, 3355f6d. I'm building on Linux. You might get different results on OSX.

The compile command is defined in util.sh, which is loaded by build.sh.
Reply all
Reply to author
Forward
0 new messages