Question about compiling nodes
-
I was getting some template errors when trying to compile a network that included a third party node:
error C3203: 'transpose': unspecialized class template can't be used as a template argument for template parameter 'T', expected a real type
Browsing the forum, it seems to have something to do with the network expecting a polyphonic node. I enabled these for every node:
And re-compiled, and now the network compiles just fine.
Since this is for an FX plugin, is there any drawback or downside to just keeping these settings on? I assume the polyphonic thing is just referencing internal voice management stuff, so for an FX plugin it's probably not doing much right?
-
@iamlamprey did you try toggling them all back off again? I think doing that writes the arguments needed for each c++ node, whereas if you haven't toggled at all the c++ file lacks the required code. Could be wrong though but interested to see if that works...
-
@DanH Yeh I've been doing that up until now, it's basically muscle memory at this point. The network wouldn't compile until I enabled polyphony
-
@iamlamprey you need to enable IsPolyphonic of your nodes are using a voice template NV as the autogenerated example node does.
AllowPolyphonic can be turned off if you don‘t need to use it polyphonically, this will save a bit of compiling effort and might reduce the binary size a b bit.
-
@Christoph-Hart said in Question about compiling nodes:
as the autogenerated example node does.
Okay sweet that was my starting point so that explains it, muchas gracias