kewur / assimp-net

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

Library is broken on Mac OSX #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 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 8 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

GoogleCodeExporter commented 8 years ago
Is it fixed now or will i have that problem when i ll try to use assimpnet on 
mac?
(building cross platform programm that require assimp)

for what version of assimpnet the patch will work?

anyway, tyvm for all that you've done. 

Original comment by gonzague...@gmail.com on 7 Apr 2015 at 12:21