assimp-net icon indicating copy to clipboard operation
assimp-net copied to clipboard

Library is broken on Mac OSX

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

When using the library on Mac OSX, most things will fail because the library 
tries to PInvoke to libdl.so, which does not exist on OSX.  On OSX, dload() and 
friends are provided by libSystem.B.dylib.

I've attached a patch that adds the necessary logic.

I've also attached some changes that make the build system and unit tests pass 
on OSX.  The primary changes are using Path.Combine to concatenate path 
fragments rather than assuming any particular character, and the introduction 
of a silly little bash-batch polyglot application to ensure that 
AssimpNet.Interop.Generator.exe is invoked via mono.

Original issue reported on code.google.com by [email protected] on 30 Aug 2014 at 8:54

Attachments:

GoogleCodeExporter avatar Apr 04 '15 18:04 GoogleCodeExporter

just had this happen to me today...  Thanks!  +1 and fix this in NuGet!

Original comment by [email protected] on 10 Jan 2015 at 4:52

GoogleCodeExporter avatar Apr 04 '15 18:04 GoogleCodeExporter