openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.98k stars 2.55k forks source link

OF not building for arm64e on Gen 3 iPad Pro #6198

Open sethismyfriend opened 5 years ago

sethismyfriend commented 5 years ago

I have one of the 3rd Generation iPad Pros which has the arm64e architecture. When building OF during the linking phase of compliation many of the internal libraries are not compiling. I tried reverting the architecture to arm64 but then was not able to deploy to the application because the architecture does not match the A12 chip on the iPad Pro.

I know these devices were just released a month or so ago - and I'm wondering if all these libraries have to be recompiled in order for OF to work on the latest iPad?

Showing Recent Messages ld: warning: ignoring file ../../../libs/boost/lib/ios/boost_filesystem.a, missing required architecture arm64e in file ../../../libs/boost/lib/ios/boost_filesystem.a (4 slices)ld: warning: ignoring file ../../../libs/FreeImage/lib/ios/freeimage.a, missing required architecture arm64e in file ../../../libs/FreeImage/lib/ios/freeimage.a (4 slices)ld: warning: ld: warning: ignoring file ../../../libs/tess2/lib/ios/tess2.a, missing required architecture arm64e in file ../../../libs/tess2/lib/ios/tess2.a (4 slices)

arturoc commented 5 years ago

yes we need to add arm64 target to the each library to support this.

sethismyfriend commented 5 years ago

do you mean arm64e target? As far as I understand the iPhone XS, XS Max, and the Gen3 iPads all need new targets for each library for OF to run on those devices. Do you see this as trivial or non-trivial or does it depend on each individual library?

danoli3 commented 5 years ago

I'll jump on this on Apothecary @arturo

On Wed, 19 Dec 2018 at 09:29, sethismyfriend notifications@github.com wrote:

do you mean arm64e target? As far as I understand the iPhone XS, XS Max, and the Gen3 iPads all need new targets for each library for OF to run on those devices. Do you see this as trivial or non-trivial or does it depend on each individual library?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openframeworks/openFrameworks/issues/6198#issuecomment-448395636, or mute the thread https://github.com/notifications/unsubscribe-auth/AAytHNlqdT84ky0KBGgPPxwEV8k6llB3ks5u6WwqgaJpZM4ZXf6X .

arturoc commented 5 years ago

@sethismyfriend yes we need to compile every library for the new target, it's not trivial, it's usually a headache with some of the libraries. we have scripts for building the libraries in the apothecary repository if you want to take a look but even with that adding a new platform or even architecture like in this case is problematic

@danoli3 thanks!!

sethismyfriend commented 5 years ago

Thanks for the clarification - I figured it would be non-trivial.

sethismyfriend commented 5 years ago

I can help test.

danoli3 commented 5 years ago

Awesome yeah I hope to get to this today :)!

On Thu, 20 Dec 2018 at 6:51 am, sethismyfriend notifications@github.com wrote:

I can help test.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/openframeworks/openFrameworks/issues/6198#issuecomment-448722231, or mute the thread https://github.com/notifications/unsubscribe-auth/AAytHBpGEqUDFIen1VBb9irNIeMyqJpfks5u6ph_gaJpZM4ZXf6X .