Posts: 11
Threads: 3
Joined: Aug 2018
Reputation:
1
Since UWP is not supported I can't build to the Hololens. Instead I figured I'd try Magic Leap, given you support Android. Unfortunately, when I deploy using armeabi-v7a, the app throws errors saying libOni is x86 and needs to be x64.
Would it be possible to get a x64 bit of the Android .so to test it out?
I requested more details from MagicLeap as well: https://forum.magicleap.com/hc/en-us/com...to-Request
I've seen other 3rd party libraries provide the following in case it is helpful: aarch64-linux-android
Cheers,
Mark
Posts: 11
Threads: 3
Joined: Aug 2018
Reputation:
1
(09-01-2019, 07:26 PM)ickydime Wrote: Since UWP is not supported I can't build to the Hololens. Instead I figured I'd try Magic Leap, given you support Android. Unfortunately, when I deploy using armeabi-v7a, the app throws errors saying libOni is x86 and needs to be x64.
Would it be possible to get a x64 bit of the Android .so to test it out?
I requested more details from MagicLeap as well: https://forum.magicleap.com/hc/en-us/com...to-Request
I've seen other 3rd party libraries provide the following in case it is helpful: aarch64-linux-android
Cheers,
Mark
Magic leap responded with a bit more detail in case it helps:
https://forum.magicleap.com/hc/en-us/com...0003730951
" The Magic Leap dev tools and user apps on device are 64-bit only. `aarch64-linux-unknown-gnu` or `aarch64-linux-android` (in a pinch) would be the expected targets. Hope this helps!
We also have some security flags that should be applied for best results:
CFLAGS=-march=armv8-a -mcpu=cortex-a57+crypto -fPIC -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security
LDFLAGS=-Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--build-id -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--enable-new-dtags '-Wl,-rpath=$$ORIGIN'"
Posts: 6,322
Threads: 24
Joined: Jun 2017
Reputation:
400
Obi Owner:
11-01-2019, 07:35 AM
(This post was last modified: 11-01-2019, 07:35 AM by josemendez.)
(10-01-2019, 05:42 PM)ickydime Wrote: Magic leap responded with a bit more detail in case it helps:
https://forum.magicleap.com/hc/en-us/com...0003730951
"The Magic Leap dev tools and user apps on device are 64-bit only. `aarch64-linux-unknown-gnu` or `aarch64-linux-android` (in a pinch) would be the expected targets. Hope this helps!
We also have some security flags that should be applied for best results:
CFLAGS=-march=armv8-a -mcpu=cortex-a57+crypto -fPIC -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security
LDFLAGS=-Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--build-id -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--enable-new-dtags '-Wl,-rpath=$$ORIGIN'"
Obi 4.0 supports 64 bit ARM. It will be out in a couple weeks at most.
Posts: 11
Threads: 3
Joined: Aug 2018
Reputation:
1
(11-01-2019, 07:35 AM)josemendez Wrote: Obi 4.0 supports 64 bit ARM. It will be out in a couple weeks at most.
Fantastic, thanks!
|