macos xcode libzip linking issues

jakub.fojtikNN9CG
Explorer

macos xcode libzip linking issues

jakub.fojtikNN9CG
Explorer
Explorer

Trying to link libzip to a cpp Fusion 360 addin on macos. When we examinate the release build AddIn.dylib with otool we see that the libzip dylib should be dynamically loaded from @rpath/libzip.5.dylib. After loading the addin into Fusion 360 and looking into diagnostic tools there is an error that @rpath is not recognized.

 

What are the steps to setup an xcode project for Fusion 360 cpp addin and include a dynamic library? What are the exact steps to do a release build for a cpp Fusion 360 addin that uses a dynamically linked library?

0 Likes
Reply
115 Views
0 Replies
Replies (0)