Crash on Mac when accessing Direct Arrays.
Not applicable
06-08-2018
04:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm building an fbx importer as a dynamic library on Mac where I link with the fbx sdk (using XCode 5.0 and FBX SDK 2019.0).
At runtime I get exceptions when trying to access direct arrays from FbxGeometryElementNormal and FbxGeometryElementUV objects as the arrays appear to be in a corrupted state. Linking with libfbxsdk.a or libfbxsdk.dylib does not make any difference. I've tried running a console app version of the same code and it runs fine, the crashes appear only when the fbx sdk is linked in a dynamic library project on Mac. Are there any compile/link settings that could cause this behavior? Any ideas about what else could lead to these crashes?
Thanks!