Trouble with cross-compiling OFX plugin for arm64/intel for M1 Mac in Resolve

38 views
Skip to first unread message

Charles Tolman

unread,
Mar 21, 2022, 1:46:15 PM3/21/22
to ofx-discussion
OK, So I know I probably should be building my plugin using Xcode, but no, I am trying to do it just using a simple makefile (and do plan to switch to CMake at some point).

But though I can build for the intel Mac using my intel based development Mac, I am having trouble cross compiling from my intel Mac I use for development (running Monterey 12.1) so that Resolve running on an M1 arm64 Mac will see the plugin. Despite the lipo tool saying that the plugin is built for both architectures. Am using clang with "-arch arm64 -arch x86_64" options both at compile and link phases.

But Resolve on the M1 just wont see it.

Anyone else getting this? Any good resources? Have looked through the Mac docs without success. About to migrate to building it on Xcode but would really like to try not to.

Thanks for any help.
Charles

Michael Christophersson

unread,
Apr 5, 2022, 1:29:47 PM4/5/22
to ofx-discussion
Hello—I may have run into this with support for one of my plugins, there is a listing in Resolve's preferences that should show what have been successfully loaded, is it there ?

Charles Tolman

unread,
Apr 10, 2022, 5:48:48 AM4/10/22
to ofx-discussion
Hi Michael
Thanks for the reply. Resolve is just seeing it as existing but giving the "failed to load" status.
Charles

Michael Christophersson

unread,
Apr 10, 2022, 8:36:19 AM4/10/22
to ofx-discussion
hi Charles
I've been seeing reports of this and I haven't yet been able to determine whether it is an M1 problem, or if it is a Gatekeeper problem, where plugins now apparently have to go through Apple's Signing/Notarization before they will be allowed to load. I'm still on Mojave so haven't been able to test that properly either.

Reply all
Reply to author
Forward
0 new messages