Obi Official Forum
Android ARM64 - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html)
+--- Thread: Android ARM64 (/thread-812.html)



Android ARM64 - ickydime - 09-01-2019

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/community/posts/360037644812-3rd-Party-Plugins-What-to-Request

I've seen other 3rd party libraries provide the following in case it is helpful: aarch64-linux-android


Cheers,

Mark


RE: Android ARM64 - ickydime - 10-01-2019

(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/community/posts/360037644812-3rd-Party-Plugins-What-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/community/posts/360037644812-3rd-Party-Plugins-What-to-Request?page=1#community_comment_360003730951

"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'"



RE: Android ARM64 - josemendez - 11-01-2019

(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/community/posts/360037644812-3rd-Party-Plugins-What-to-Request?page=1#community_comment_360003730951

"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.


RE: Android ARM64 - ickydime - 11-01-2019

(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!