this is what I thought at first (it's the most logical thing to do) but unfortunately the problem lies elsewhere, it seems that plugMain never gets called from host, and this should happen well before the setup phase in which fonts are loaded. Besides the same dll works correctly in the FFGL demo host, so the problem is likely to be in some miscommunication between my dll and Arena. Would be nice to know what Arena is saying when trying to load the plugin, if it eventually throws any error and what.drand48 wrote: I'm not sure what the problem is, but I suspect it could have something to do with the font loading code. Maybe the plugin does not find the file?
I suggest that you isolate the problem by commenting out most of the code and incrementally uncommenting it until you find where the problem is.
This is fair, but I don't understand why there are about 250 methods in the dll exported by Cairo (and neither where the code to state this is hidden, I could not find out). May be this plethora of methods is confusing Arena someway, and the simpler FFGLhost just ignores themdrand48 wrote: As for Cairo, it is part of OpenFrameworks so it will be linked with the plugin. This is the downside of using openframeworks for plugin development, it is easier, but your dll will be bigger
Code: Select all
Load plugin: C:\Program Files (x86)\Resolume Arena 4.1.8\plugins\vfx\FFGL_Plugin_Test_debug.dll Load failed
discopatrick wrote:It's been a while since this was posted, but would you be able to share your solution?
I'm also trying to find a way to build FFGL plugins from openFrameworks projects.