assimp / assimp-net

Automatically exported from code.google.com/p/assimp-net
196 stars 83 forks source link

Library is broken on Mac OSX #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 andy.fri...@gmail.com on 30 Aug 2014 at 8:54

Attachments:

GoogleCodeExporter commented 9 years ago
just had this happen to me today...  Thanks!  +1 and fix this in NuGet!

Original comment by gaberei...@gmail.com on 10 Jan 2015 at 4:52