Compiling OFX plugins for windows with MinGW and GCC

39 views
Skip to first unread message

Jim DiNunzio

unread,
Mar 26, 2020, 1:08:37 AM3/26/20
to ofx-discussion
Hi,
I just started learning OFX and writing plugins. I'm using MS Visual Studio and the build process works ok. However, most of my code is built in the MSYS2/MinGW64 environment with GCC and I'd rather not port it all to MSVC. I noticed the plugin examples' makefile had MSYS2 support and I was able to build the sample plug-in bundles,  but after copying them to the plugin folder  they didn't show up in the host program. (davinci Resolve and i think I tried Natron too). The MSVC builds had no problem showing up. Now that I am writing this maybe it's because those GCC built ones have some std library dll dependency that can't be found on load. But I could not find any information about  why that MSYS build support was in the examples or how to install them. That MSYS/MinGW64 environment is an alternate for Windows so it must be possible to get it working. 

Any help would be appreciated!
Thanks,

Jim

Alexandre Bizeau

unread,
Mar 26, 2020, 8:36:33 AM3/26/20
to ofx-discussion
As you said, you suspect a dll dependency mismatch. You should ensure that first. You could try to use dependency walker and check that all DLL after found for your .ofx on your system. 
Reply all
Reply to author
Forward
0 new messages