Error in building plugin: no member named 'prepare' in 'scriptnode::conversion_logic::midi2freq'
-
I started receiving this error when exporting my plugin from the recent updates to the develop branch
❌ /Users/username/HISE/hi_dsp_library/dsp_nodes/CableNodes.h:1192:14: no member named 'prepare' in 'scriptnode::conversion_logic::midi2freq' this->obj.prepare(ps); ^
I am using one converter node in one of my ScriptNode networks but it was working and exporting fine up until recently.
-
@HISEnberg I reverted this in my HISE build, and the project is working fine within HISE. However, the compiled plugin is not working in any of my DAWs (it won't open). I tried going back further in the dev branch but still nothing. I am trying to debug in XCode but not seeing any errors or useful warning messages. I will post them here if I find anything.
-
@HISEnberg have you reexported your dll after updating the HISE code.
I've added a method to the converters to pickup the sample rate (this fixed an issue where initial values were not being calculated correctly when going through a converter node that requires the sample rate) but this change might break the compilation of previously exported C++ networks.
-
@Christoph-Hart I am going to return to this project today and see. To clarify, in my initial post when I received that error, I did in fact recompile the dsp networks, before exporting my plugin. I was bringing this project from Windows to Mac so I had to go through this step anyways.
Once I reverted back a few commits I neglected to rebuild the dsp networks so I think it is safe to assume this is why the exported plugin was not working in my DAWs.
-
@HISEnberg Okay so the issue of it not opening in the DAW was just oversight on my part, I needed to update Faust and recompile everything.