FbxManager::Create() crashes on Mac (XCode 9.3.1)

FbxManager::Create() crashes on Mac (XCode 9.3.1)

Anonymous
Not applicable
513 Views
1 Reply
Message 1 of 2

FbxManager::Create() crashes on Mac (XCode 9.3.1)

Anonymous
Not applicable

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.

 

0 Likes
514 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Ok according to this page of the FBX documentation Xcode 5.0 should be used. The issue here is that that version isn't supported by Mac OS High Sierra anymore...

 

Is there any chance to get access to libraries that are compiled with the most up to date Xcode version? Thank you very much.

0 Likes