Message 1 of 2
FbxManager::Create() crashes on Mac (XCode 9.3.1)

Not applicable
05-25-2018
07:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm building a library *.bundle on a Mac that statically links to libfbxsdk.a. My code just wraps a few *.FBX functions and the resulting *.bundle is then used in the Unity engine. Everything is working fine on Windows and now I tried to get this whole thing running on Mac but as soon as FbxManager::Create() is called, the whole application crashes.
I've setup the XCode project according to the settings of the example make files:
Frameworks:
- Carbon.framework
- SystemConfiguration.framework
- libiconv.tbd
- libz.tbd
- libm.tbd
- libfbxsdk.a
Further settings:
- Disabled C++ Exceptions
- Added search path for FBX include files
- Compiler: Default compiler (Apple LLVM 9.0)
The documentation states that the fbx lib's have been built using LLVM 5.0. The current XCode version does only ship with LLVM 9.0. Might that be the cause of this issue? Has anybody got the FBX SDK running on XCode 9.3?
Thank you very much in advance.