Packaging a plugin with its dependencies

13 views
Skip to first unread message

Eloi Du Bois

unread,
Jun 18, 2015, 6:46:46 AM6/18/15
to tuttle...@googlegroups.com
Hi,

I would like to package an ofx plugin, but I need to integrate all dependencies to the ofx bundle. Can you please tell me what I should do ?

Many thanks,
Eloi du Bois.

Clément Champetier

unread,
Jun 24, 2015, 3:40:56 AM6/24/15
to tuttle...@googlegroups.com, eloi.d...@gmail.com, Marc-Antoine ARNAUD, eloi.d...@gmail.com
Hello,

All OFX plugins built by using Tuttle, have in common dependencies on sequenceParser and boost. So you will need at least these libraries when create the package of any plugin.
For the packaging part, Marc-Antoine Arnaud has started some work around the Host and Plugins parts. 
You can start here: 

Is it what you are looking for to "package an ofx plugin"?

Clement

Eloi Du Bois

unread,
Jun 24, 2015, 6:52:13 AM6/24/15
to Clément Champetier, tuttle...@googlegroups.com, Marc-Antoine ARNAUD
Hi,

I got it working :)

Here what I did:
First, I copied all dylib on the ofx plugin directory,

Then, on each lib and sublib:
install_name_tool -change libboost_filesystem.dylib @loader_path/libboost_filesystem.dylib filterCleaner-0.0.ofx
install_name_tool -change libboost_system.dylib @loader_path/libboost_system.dylib filterCleaner-0.0.ofx
.....> on each libs and sublibs

And finally, my ofx bundle looks like:
otool -L filterCleaner-0.0.ofx

filterCleaner-0.0.ofx:
    .dist/Mac-Pro-de-Abominable.local/clang-unknown/release/ofxPlugins/filterCleaner/libfilterCleaner.dylib (compatibility version 0.0.0, current version 0.0.0)
    @loader_path/libboost_locale.dylib (compatibility version 0.0.0, current version 0.0.0)
    @loader_path/libboost_regex.dylib (compatibility version 0.0.0, current version 0.0.0)
    @loader_path/libtuttleHost.dylib (compatibility version 0.0.0, current version 0.11.0)
    @loader_path/libboost_log.dylib (compatibility version 0.0.0, current version 0.0.0)
    @loader_path/libboost_filesystem.dylib (compatibility version 0.0.0, current version 0.0.0)
    @loader_path/libboost_thread.dylib (compatibility version 0.0.0, current version 0.0.0)
    @loader_path/libboost_chrono.dylib (compatibility version 0.0.0, current version 0.0.0)
    @loader_path/libboost_system.dylib (compatibility version 0.0.0, current version 0.0.0)
    @loader_path/libboost_date_time.dylib (compatibility version 0.0.0, current version 0.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)


Thanks !
Eloi.
Reply all
Reply to author
Forward
0 new messages