You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to build a libwebrtc.a for iOS using the following command set:
Command:
cmake -DCMAKE_BUILD_TYPE=Release -DWEBRTC_BRANCH_HEAD=refs/branch-heads/60 -DDEPOT_TOOLS_PATH=$PATH -DTARGET_OS=ios -DTARGET_CPU=arm64 ..
Result:
-- Building for ios (arm64)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/hussainsajid/Documents/libwebrtc/out
Command:
make
Result:
-- The C compiler identification is AppleClang 9.0.0.9000037
-- The CXX compiler identification is AppleClang 9.0.0.9000037
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.13.5 (Apple Git-94)")
-- Retrieving current git tag
-- Building for ios (arm64)
-- Found DepotTools: /Users/hussainsajid/Documents/depot_tools/gclient
-- Found PythonInterp: /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 (found suitable version "2.7.13", minimum required is "2.7")
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/hussainsajid/Documents/libwebrtc/out
BigMac:out hussainsajid$ make
Scanning dependencies of target webrtc-src
[ 6%] Creating directories for 'webrtc-src'
[ 12%] Performing download step (git clone) for 'webrtc-src'
Cloning into 'src'...
Checking out files: 100% (5286/5286), done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
[ 18%] Performing patch step for 'webrtc-src'
[ 25%] No update step for 'webrtc-src'
[ 31%] Performing configure step for 'webrtc-src'
-- The C compiler identification is AppleClang 9.0.0.9000037
-- The CXX compiler identification is AppleClang 9.0.0.9000037
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.13.5 (Apple Git-94)")
-- Found PythonInterp: /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 (found suitable version "2.7.13", minimum required is "2.7")
-- Setting up branch-heads refspecs
-- Fetching refs/branch-heads/60
From https://chromium.googlesource.com/external/webrtc
branch refs/branch-heads/60 -> FETCH_HEAD
[new ref] refs/branch-heads/60 -> branch-heads/60
-- Checking out refs/branch-heads/60
Note: checking out 'FETCH_HEAD'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at 6294a7eb7... Merge WebRTC r18998 and r19018 to M60 branch
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/hussainsajid/Documents/libwebrtc/out/webrtc/build
[ 37%] Performing build step for 'webrtc-src'
Scanning dependencies of target webrtc-sync
[ 16%] Synchronizing WebRTC
________ running '/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python src/cleanup_links.py' in '/Users/hussainsajid/Documents/libwebrtc/out/webrtc'
Syncing projects: 38% (12/31) src/tools/gyp
[0:03:00] Still working on:
[0:03:00] src/third_party
.
.
.
Syncing projects: 100% (31/31), done.
[ 16%] Built target webrtc-sync
Scanning dependencies of target webrtc-gn
[ 33%] Fetching gn for darwin
0> Downloading src/buildtools/mac/gn...
Downloading 1 files took 7.391865 second(s)
[ 33%] Built target webrtc-gn
Scanning dependencies of target webrtc-clang-format
[ 50%] Fetching clang-format for darwin
0> Downloading src/buildtools/mac/clang-format...
Downloading 1 files took 8.533577 second(s)
[ 50%] Built target webrtc-clang-format
Scanning dependencies of target webrtc-clang
[ 66%] Updating clang
Updating Clang to 303369-1...
Creating directory /Users/hussainsajid/Documents/libwebrtc/out/webrtc/src/third_party/llvm-build
Downloading prebuilt clang
Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Mac/clang-303369-1.tgz .......... Done.
Creating directory /Users/hussainsajid/Documents/libwebrtc/out/webrtc/src/third_party/llvm-build/Release+Asserts
clang 303369-1 unpacked
[ 66%] Built target webrtc-clang
Scanning dependencies of target webrtc-generate
[ 83%] Generating build files
Warning: Multiple codesigning identities match "iPhone Developer"
Warning: - CDDF80FF2C1D2BDBAEA42E78A73CAC88DFEAD150 (selected)
Warning: - C72198A192D0E5C8A6F09182B3DA4F874B5BE009
Warning: - 6F975446661F67C5EE89E15D0DE95A436A6BB7E6
Warning: Please use either ios_code_signing_identity or
Warning: ios_code_signing_identity_description variable to
Warning: control which identity is selected.
Done. Made 357 targets from 109 files in 10229ms
[ 83%] Built target webrtc-generate
Scanning dependencies of target webrtc-build
[100%] Running ninja
ninja: Entering directory `out/Release'
[2054/2054] LIBTOOL-STATIC obj/webrtc/libwebrtc.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (arith_routines.o) in output file used for input files: obj/webrtc/modules/audio_coding/isac_c/arith_routines.o and: obj/webrtc/modules/audio_coding/isac_fix_c/arith_routines.o (due to use of basename, truncation, blank padding or duplicate input files)
.
.
.
[100%] Built target webrtc-build
[ 43%] No install step for 'webrtc-src'
[ 50%] Completed 'webrtc-src'
[ 50%] Built target webrtc-src
Scanning dependencies of target libwebrtc
[ 56%] Creating directories for 'libwebrtc'
[ 62%] No download step for 'libwebrtc'
[ 68%] No patch step for 'libwebrtc'
[ 75%] No update step for 'libwebrtc'
[ 81%] Performing configure step for 'libwebrtc'
-- The C compiler identification is AppleClang 9.0.0.9000037
-- The CXX compiler identification is AppleClang 9.0.0.9000037
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TARGET_OS
-- Build files have been written to: /Users/hussainsajid/Documents/libwebrtc/out/libwebrtc
[ 87%] Performing build step for 'libwebrtc'
Scanning dependencies of target webrtc
[100%] Linking C static library libwebrtc.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive member: libwebrtc.a(any.o) cputype (16777223) does not match previous archive members cputype (16777228) (all members must match)
.
.
.
make[5]: *** [libwebrtc.a] Error 1
make[5]: *** Deleting file `libwebrtc.a'
make[4]: *** [CMakeFiles/webrtc.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [libwebrtc-prefix/src/libwebrtc-stamp/libwebrtc-build] Error 2
make[1]: *** [CMakeFiles/libwebrtc.dir/all] Error 2
make: *** [all] Error 2
Any help to resolve the issue would be appreciated
The text was updated successfully, but these errors were encountered:
I tried to build a libwebrtc.a for iOS using the following command set:
Command:
cmake -DCMAKE_BUILD_TYPE=Release -DWEBRTC_BRANCH_HEAD=refs/branch-heads/60 -DDEPOT_TOOLS_PATH=$PATH -DTARGET_OS=ios -DTARGET_CPU=arm64 ..
Result:
-- Building for ios (arm64)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/hussainsajid/Documents/libwebrtc/out
Command:
make
Result:
-- The C compiler identification is AppleClang 9.0.0.9000037
-- The CXX compiler identification is AppleClang 9.0.0.9000037
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.13.5 (Apple Git-94)")
-- Retrieving current git tag
-- Building for ios (arm64)
-- Found DepotTools: /Users/hussainsajid/Documents/depot_tools/gclient
-- Found PythonInterp: /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 (found suitable version "2.7.13", minimum required is "2.7")
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/hussainsajid/Documents/libwebrtc/out
BigMac:out hussainsajid$ make
Scanning dependencies of target webrtc-src
[ 6%] Creating directories for 'webrtc-src'
[ 12%] Performing download step (git clone) for 'webrtc-src'
Cloning into 'src'...
Checking out files: 100% (5286/5286), done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
[ 18%] Performing patch step for 'webrtc-src'
[ 25%] No update step for 'webrtc-src'
[ 31%] Performing configure step for 'webrtc-src'
-- The C compiler identification is AppleClang 9.0.0.9000037
-- The CXX compiler identification is AppleClang 9.0.0.9000037
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.13.5 (Apple Git-94)")
-- Found PythonInterp: /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 (found suitable version "2.7.13", minimum required is "2.7")
-- Setting up branch-heads refspecs
-- Fetching refs/branch-heads/60
From https://chromium.googlesource.com/external/webrtc
-- Checking out refs/branch-heads/60
Note: checking out 'FETCH_HEAD'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at 6294a7eb7... Merge WebRTC r18998 and r19018 to M60 branch
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/hussainsajid/Documents/libwebrtc/out/webrtc/build
[ 37%] Performing build step for 'webrtc-src'
Scanning dependencies of target webrtc-sync
[ 16%] Synchronizing WebRTC
________ running '/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python src/cleanup_links.py' in '/Users/hussainsajid/Documents/libwebrtc/out/webrtc'
Syncing projects: 38% (12/31) src/tools/gyp
[0:03:00] Still working on:
[0:03:00] src/third_party
.
.
.
Syncing projects: 100% (31/31), done.
[ 16%] Built target webrtc-sync
Scanning dependencies of target webrtc-gn
[ 33%] Fetching gn for darwin
0> Downloading src/buildtools/mac/gn...
Downloading 1 files took 7.391865 second(s)
[ 33%] Built target webrtc-gn
Scanning dependencies of target webrtc-clang-format
[ 50%] Fetching clang-format for darwin
0> Downloading src/buildtools/mac/clang-format...
Downloading 1 files took 8.533577 second(s)
[ 50%] Built target webrtc-clang-format
Scanning dependencies of target webrtc-clang
[ 66%] Updating clang
Updating Clang to 303369-1...
Creating directory /Users/hussainsajid/Documents/libwebrtc/out/webrtc/src/third_party/llvm-build
Downloading prebuilt clang
Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Mac/clang-303369-1.tgz .......... Done.
Creating directory /Users/hussainsajid/Documents/libwebrtc/out/webrtc/src/third_party/llvm-build/Release+Asserts
clang 303369-1 unpacked
[ 66%] Built target webrtc-clang
Scanning dependencies of target webrtc-generate
[ 83%] Generating build files
Warning: Multiple codesigning identities match "iPhone Developer"
Warning: - CDDF80FF2C1D2BDBAEA42E78A73CAC88DFEAD150 (selected)
Warning: - C72198A192D0E5C8A6F09182B3DA4F874B5BE009
Warning: - 6F975446661F67C5EE89E15D0DE95A436A6BB7E6
Warning: Please use either ios_code_signing_identity or
Warning: ios_code_signing_identity_description variable to
Warning: control which identity is selected.
Done. Made 357 targets from 109 files in 10229ms
[ 83%] Built target webrtc-generate
Scanning dependencies of target webrtc-build
[100%] Running ninja
ninja: Entering directory `out/Release'
[2054/2054] LIBTOOL-STATIC obj/webrtc/libwebrtc.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (arith_routines.o) in output file used for input files: obj/webrtc/modules/audio_coding/isac_c/arith_routines.o and: obj/webrtc/modules/audio_coding/isac_fix_c/arith_routines.o (due to use of basename, truncation, blank padding or duplicate input files)
.
.
.
[100%] Built target webrtc-build
[ 43%] No install step for 'webrtc-src'
[ 50%] Completed 'webrtc-src'
[ 50%] Built target webrtc-src
Scanning dependencies of target libwebrtc
[ 56%] Creating directories for 'libwebrtc'
[ 62%] No download step for 'libwebrtc'
[ 68%] No patch step for 'libwebrtc'
[ 75%] No update step for 'libwebrtc'
[ 81%] Performing configure step for 'libwebrtc'
-- The C compiler identification is AppleClang 9.0.0.9000037
-- The CXX compiler identification is AppleClang 9.0.0.9000037
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
-- Build files have been written to: /Users/hussainsajid/Documents/libwebrtc/out/libwebrtc
[ 87%] Performing build step for 'libwebrtc'
Scanning dependencies of target webrtc
[100%] Linking C static library libwebrtc.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive member: libwebrtc.a(any.o) cputype (16777223) does not match previous archive members cputype (16777228) (all members must match)
.
.
.
make[5]: *** [libwebrtc.a] Error 1
make[5]: *** Deleting file `libwebrtc.a'
make[4]: *** [CMakeFiles/webrtc.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [libwebrtc-prefix/src/libwebrtc-stamp/libwebrtc-build] Error 2
make[1]: *** [CMakeFiles/libwebrtc.dir/all] Error 2
make: *** [all] Error 2
Any help to resolve the issue would be appreciated
The text was updated successfully, but these errors were encountered: