ETA on having fbx sdk lib for new apple silcon ARM

ETA on having fbx sdk lib for new apple silcon ARM

Anonymous
Not applicable
6,564 Views
21 Replies
Message 1 of 22

ETA on having fbx sdk lib for new apple silcon ARM

Anonymous
Not applicable

Hi there,

Is it possible to get the fbx sdk libs for the new incoming mac apple silicon ARM platform? If not, is it plan to be supported soon? We want to support this hardware before our client get there hands on this hardware.

 

Thanks

Alexis

Accepted solutions (2)
6,565 Views
21 Replies
Replies (21)
Message 2 of 22

regalir
Autodesk
Autodesk
Accepted solution

Xcode 12 being released is a pre-requisite therefore Autodesk cannot announce a schedule based on someone else’s beta hardware and beta compiler.

0 Likes
Message 3 of 22

Anonymous
Not applicable

Hi! Xcode 12 actually got released ~3 days after your post. Is there a chance to get a bit more info on when the FBX SDK for Apple Silicon is going to be available then?

 

Thanks!

Message 4 of 22

ssontech
Contributor
Contributor

Right, availability of the AS version is ultimately a release gate item for our commercial software.  Don't need a final version now, but absolutely need a prerelease beta-on-beta version for testing, to be ready to go. Please advise on how/when that can be obtained by PM.  Tnx.

Message 5 of 22

Anonymous
Not applicable

Hi again and sorry for drilling the topic but it would be great to know what developers can expect in the upcoming days/weeks/months. Xcode 12 is out, many developers have access to the Silicon Dev Kit (I assume Autodesk does too) and it would be really helpful if they could at least test their software on this platform. Hope this isn't too big of a problem for the FBX SDK team.

 

Also, I'm not sure if marking this topic as solved was a good idea since it is clearly not solved.

0 Likes
Message 6 of 22

ssontech
Contributor
Contributor

Hey, this isn't going away, this issue isn't "solved", it's not an idle "wouldn't it be nice if" question.... need to get hooked up on this.

0 Likes
Message 7 of 22

daviesm
Alumni
Alumni

It is true that Xcode 12 is out and this allows one to build a Universal binary for a APP. The support for building a free standing library with a cmake system (Or Xcode) is still not possible. We are working/waiting on this but do not have an ETA yet.

 

Mark

0 Likes
Message 8 of 22

Anonymous
Not applicable

Actually, doing this is possible right now and we do it ourselves 🙂

 

If you want to build a Universal library (for example the open source glog library), all you need to do is set the following flags in cmake:

 

-DCMAKE_OSX_ARCHITECTURES="arm64" \
-DCMAKE_HOST_SYSTEM_PROCESSOR="arm64" \
-DCMAKE_SYSTEM_PROCESSOR="arm64"

Once it's built, you can combine it with your other (Intel-based) library into a single Universal library by following the steps listed on Apple's website: https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary?language=objc

 

Of course the tutorial is meant for combining apps but you can also use it for combining libraries, like so:

x86_lib.dylib: main.c
$(CC) main.c -o x86_lib.dylib -target x86_64-apple-macos10.12
arm_lib.dylib: main.c
$(CC) main.c -o arm_lib.dylib -target arm64-apple-macos11
universal_lib.dylib: x86_lib.dylib arm_lib.dylib
lipo -create -output universal_lib.dylib x86_lib.dylib arm_lib.dylib

It works perfectly on our end.

 

Hope this helps.

0 Likes
Message 9 of 22

ssontech
Contributor
Contributor

Building Universal libraries is certainly possible just as @Anonymous says, I've built a number of opensource libraries, plus various executables and the full app... with FBX #ifdef'd out, of course!  Just do it already. 😉

0 Likes
Message 10 of 22

daviesm
Alumni
Alumni

On a clean machine with Catalina and Xcode 12.1 installed:

(CC) main.c -o arm_lib.dylib -target arm64-apple-macos11

 Fails.

As soon as we can build the SDK with released components we will update you with a release plan.

0 Likes
Message 11 of 22

daviesm
Alumni
Alumni

See https://developer.apple.com/download/release/

 

Xcode 12.1

Xcode 12 includes everything you need to create amazing apps for all Apple platforms. Includes the latest SDKs for iOS, watchOS, and tvOS, and macOS Catalina. For development on macOS Big Sur or to support Apple silicon, continue to use Xcode 12 beta 6.

 

12.2 might be the one

0 Likes
Message 12 of 22

Anonymous
Not applicable

Yes, you need 12.2 to be able to compile it, I should have clarified that part, sorry. It does work with libraries though 🙂

0 Likes
Message 13 of 22

sandnseapa
Explorer
Explorer

Autodesk couldn't scrounge together $500? 😖 I'd think that if you'd asked nicely, Apple might have given some professional courtesy. 

Message 14 of 22

daviesm
Alumni
Alumni

We have a beta of FBX-SDK for Mac only. This is a universal binary for intel/arm64.

 

See - https://feedback.autodesk.com/home.html?welcome

 

Regards

 

Mark

0 Likes
Message 15 of 22

ssontech
Contributor
Contributor

Intel side is compiled against 10.15, needs to be much earlier eg 10.13 ... feedback filed.

0 Likes
Message 16 of 22

artgolf1000
Contributor
Contributor

I have tested the beta version on my new Mac mini M1 (16GB Ram, 512GB SSD), and I compiled three projects with the beta version, it works quite well, no issues found.

Message 17 of 22

ssontech
Contributor
Contributor

It's done well in my testing also (some large import/exports with/without vertex caches), so per the original question, now looking for an ETA for the release.

0 Likes
Message 18 of 22

Anonymous
Not applicable

Same here, everything seems to work fine.

0 Likes
Message 19 of 22

Anonymous
Not applicable

I can install the SDK but not the Python SDK on M1. Any ideas how I can solve the problem? Otherwise Apples Reality Converter is not running.

0 Likes
Message 20 of 22

daviesm
Alumni
Alumni
Accepted solution

FBX-SDK 2020.2 supporting Universal binaries for intel and arm, is released today,

 

https://www.autodesk.com/developer-network/platform-technologies/fbx-sdk-2020-2

 

Mark

0 Likes