I’m building OCIO 2.1.1 with the example OFX plug-ins on macOS 12.2.1.
After following the instructions here i.e.
.. envvar:: OFX_PLUGIN_PATH
When building the OCIO OpenFX plugins, include the installed
``OpenColorIO/lib`` directory (where ``OpenColorIO.ofx.bundle`` is located)
in this path. The path to a shared OpenColorIO lib (*.so, *.dll, *.dylib)
should also be present on ``PATH``.
The example plug-ins do not load in Nuke 13.1v2.
To get them to load I had to manually add an rpath to the OFX plug-in e.g.
install_name_tool -add_rpath /path/to/lib/libOpenColorIO.2.1.dylib /path/to/lib/OpenColorIO.ofx.bundle/Contents/MacOS-x86-64/OpenColorIO.ofx
I had a chat with @michdolan and he pointed out @remia also mentioned this in relation to DaVinci Resolve here (I haven't yet tested in Resolve).
@michdolan suggested I log an issue for further investigation to see if this can be fixed during the build.