Author:Akos Somorjai
Posted: Tue Jan 19, 2016 10:36 am (GMT+1)
On OS X the preferred way is to put the dylib into the bundle, according to Apple's guidelines. You'll have to set up the root of the @rpath correctly, unless you wan to load the dylib manually via dlopen().
Best, Á kos
Posted: Tue Jan 19, 2016 10:36 am (GMT+1)
stefan wrote: |
What is the proper way to install an add-on which uses Dynamic Libraries? (DLL on Windows, dylib on OSX). Specifically on OSX: should they be embedded in the Bundle? Or placed in the same folder as the bundle? In the ArchiCAD Root or Support folder? e.g. I see for the Rhino add-in, that the "dylib" for OpenNURBS is installed in the ArchiCAD Support folder and that the library has an @rpath/ install name. Are we allowed to put our dylibs there? Would it be better to have them alongside our own bundle? I prefer to have an Add-on that is self-contained. |
On OS X the preferred way is to put the dylib into the bundle, according to Apple's guidelines. You'll have to set up the root of the @rpath correctly, unless you wan to load the dylib manually via dlopen().
Best, Á kos