Code Monkey home page Code Monkey logo

Comments (14)

thebehera avatar thebehera commented on May 21, 2024

I haven't tried in over a month and I did have issues with the libraries you have mentioned. I do agree we need to build these architectures but I do not have a process to make it happen as of now

from webrtc-build-scripts.

jnoring avatar jnoring commented on May 21, 2024

Yeah, I checked with the WebRTC group and the answer I got was "it's possible, but just not ready yet." They said the performance you'd get would likely be worse at this point.

from webrtc-build-scripts.

thebehera avatar thebehera commented on May 21, 2024

Makes sense, I haven't come across any performance optimizations specifically for armv7s or arm64.

from webrtc-build-scripts.

jnoring avatar jnoring commented on May 21, 2024

So I just saw this today:

https://developer.apple.com/news/?id=10202014a - short answer is there's basically a deadline now for arm64 support in webrtc. I'm not sure if the webrtc project knows this yet.

from webrtc-build-scripts.

jnoring avatar jnoring commented on May 21, 2024

I'd go star this issue: https://code.google.com/p/webrtc/issues/detail?can=2&start=0&num=100&q=arm64&colspec=ID%20Pri%20Mstone%20ReleaseBlock%20Area%20Status%20Owner%20Summary&groupby=&sort=&id=3898

from webrtc-build-scripts.

jnoring avatar jnoring commented on May 21, 2024

Looks like the WebRTC people have this resolved--at least somewhat--in https://code.google.com/p/webrtc/source/detail?r=7573

from webrtc-build-scripts.

thebehera avatar thebehera commented on May 21, 2024

This is the error i get as of now when i do a build

rahuls-mbp:src rbehera$ echo $GYP_DEFINES
build_with_libjingle=1 build_with_chromium=0 libjingle_objc=1 OS=ios target_arch=arm64 target_subarch=arm64
rahuls-mbp:src rbehera$ echo $GYP_GENERATOR_FLAGS 
output_dir=out_ios_arm64_v8a
rahuls-mbp:src rbehera$ echo $GYP_GENERATORS
ninja,xcode
rahuls-mbp:src rbehera$ ninja -C out_ios_arm64_v8a/Debug-iphoneos/ AppRTCDemo
ninja: Entering directory `out_ios_arm64_v8a/Debug-iphoneos/'
[11/358] RULE Generate assembly offsets ../../../../out_ios_arm64_v8a/Debug-iphoneos/obj/chromium/src/third_party/libvpx/gen_asm_offsets_vp8.gen/vp8_asm_enc_offsets.o
FAILED: cd ../../chromium/src/third_party/libvpx; export BUILT_PRODUCTS_DIR=/Users/rbehera/github/webrtc-build-scripts/ios/webrtc/src/out_ios_arm64_v8a/Debug-iphoneos; export CONFIGURATION=Debug-iphoneos; export PRODUCT_NAME=gen_asm_offsets_vp8; export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk; export SRCROOT=/Users/rbehera/github/webrtc-build-scripts/ios/webrtc/src/out_ios_arm64_v8a/Debug-iphoneos/../../chromium/src/third_party/libvpx; export SOURCE_ROOT="${SRCROOT}"; export TARGET_BUILD_DIR=/Users/rbehera/github/webrtc-build-scripts/ios/webrtc/src/out_ios_arm64_v8a/Debug-iphoneos; export TEMP_DIR="${TMPDIR}";python ../../../../third_party/libvpx/obj_int_extract.py -e ../../../../out_ios_arm64_v8a/Debug-iphoneos/libvpx_obj_int_extract -f rvds -b "../../../../out_ios_arm64_v8a/Debug-iphoneos/obj/chromium/src/third_party/libvpx/gen_asm_offsets_vp8.gen/vp8_asm_enc_offsets.o" -o "../../../../out_ios_arm64_v8a/Debug-iphoneos/gen/third_party/libvpx/vp8_asm_enc_offsets.asm"
Bad cputype for object file. Currently only tested for CPU_TYPE_X86_64.
Traceback (most recent call last):
  File "../../../../third_party/libvpx/obj_int_extract.py", line 29, in <module>
    stdout=fh)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 542, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['../../../../out_ios_arm64_v8a/Debug-iphoneos/libvpx_obj_int_extract', 'rvds', '../../../../out_ios_arm64_v8a/Debug-iphoneos/obj/chromium/src/third_party/libvpx/gen_asm_offsets_vp8.gen/vp8_asm_enc_offsets.o']' returned non-zero exit status 1
[11/358] CXX obj/chromium/src/third_party/icu/source/i18n/icui18n.ucol.o
ninja: build stopped: subcommand failed.
rahuls-mbp:src rbehera$ 

from webrtc-build-scripts.

thebehera avatar thebehera commented on May 21, 2024

So I have updated the build scripts to include how to build for ARM64 on ios (it still doesnt work for me) but at anytime if you would like to try its an env variable you can set now

from webrtc-build-scripts.

parse avatar parse commented on May 21, 2024

screenshot 2014-12-11 16 04 24

@thebehera Is everything working for you with arm64 build?

Getting this error when building for arm64, works like a charm without arm64.
BAD_ACCESS.

Tried forcing the C++ to use libstdc++, anything else you can think might help?

from webrtc-build-scripts.

thebehera avatar thebehera commented on May 21, 2024

Have you tried doing a clean build?
rm -rf out*
directories before building

from webrtc-build-scripts.

parse avatar parse commented on May 21, 2024

@thebehera Yes, I've deleted the Build/ folder, removed Derived Data, performed clean etc. It's strange that I am only getting this on arm64 and not when I am using armv7 and armv7s

from webrtc-build-scripts.

thebehera avatar thebehera commented on May 21, 2024

Honestly I was able to get calls working but I haven't seen your issue. you might be better off posting to the webrtc group

from webrtc-build-scripts.

parse avatar parse commented on May 21, 2024

@thebehera Thanks anyway! I posted here in case you are interested: https://code.google.com/p/webrtc/issues/detail?id=4085&thanks=4085&ts=1418315293

from webrtc-build-scripts.

parse avatar parse commented on May 21, 2024

Just wanted to post an update, there seems to be some issues when mixing Firebase iOS SDK and libwebrtc: https://code.google.com/p/webrtc/issues/detail?id=3992&q=arm64&colspec=ID%20Pri%20Mstone%20ReleaseBlock%20Area%20Status%20Owner%20Summary

from webrtc-build-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.