Error in building plugin: no member named 'prepare' in 'scriptnode::conversion_logic::midi2freq'
-
@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.
-
@Christoph-Hart I'm also facing this on Windows :
...\hi_dsp_library\dsp_nodes\CableNodes.h(1192,14): error C2039: 'prepare' is not a member of 'scriptnode::conversion_logic::db2gain'
But this issue actually appears when I'm trying to rebuild my dlls... (I even deleted the 'Binaries' folder to make a clean build.
I updated HISE to the latest commit from 2 days... -
@Matt_SF That's exactly what I saw today.
It happens while building the Custom node in Windows, there is no problem in macOS.
As a workaround, I selected the Source folder in Preferences, which was built a month ago, and the dll was compiled.
I think this issue happened in the last commits
-
@orange Thanks! You mean you're using another source code to compile the dlls ? (which Source in which Preferences ? )
-
@Matt_SF In HISE, which I compiled with commit on October 22, I exported the dll network and plugin with the source code from the September 23 commit This is just a temporary solution, I'm sure the bug will be fixed.
-
@orange Hah so I got it right in the first place :face_with_tears_of_joy: . I'm not in a hurry so I'll wait for a fix then.
-
@Matt_SF It would be better to wait it for fixing
-
@Christoph-Hart Is these bugs fixed?
...\hi_dsp_library\dsp_nodes\CableNodes.h(1192,14): error C2039: 'prepare' is not a member of 'scriptnode::conversion_logic::db2gain'
-
Now it is...
-
@Christoph-Hart It works now, thanks!