MSVC only: Error C3203: unspecialized class template ... (works fine on MAC)
-
@Morphoice And when you run HISE you're running it from within that same folder?
-
@d-healey yes directly from the build directory.... I did it all over again, now github complains there is a filename too long when I try to clone my project onto the new pc.
I have to give up for the day, I need to go to work now. barkeeping. drinking. and vice versa. -
@d-healey so the c++ error could be fixed thanks to christoph, there was actually a json file missing to hold some info about the third party node hence the DspNetworks.h was created wrongly...
as suggested by christoph to work with github rather than dropbox i managed to compile the the network on the pc, now attempting to compile the final plugin. fingers crossed, third day's the charm ;) (hopefully)
-
@d-healey deleting shit multiple times and fetching it all over, compiling it all over in the end resolved the hash mismatch error.... though I wish I could exactly pinpoint what went wrong the first time, I guess it just is what it is sometimes, just fidding about
-
@Morphoice said in MSVC only: Error C3203: unspecialized class template ... (works fine on MAC):
@d-healey so the c++ error could be fixed thanks to christoph, there was actually a json file missing to hold some info about the third party node hence the DspNetworks.h was created wrongly...
as suggested by christoph to work with github rather than dropbox i managed to compile the the network on the pc, now attempting to compile the final plugin. fingers crossed, third day's the charm ;) (hopefully)
So please tell us which json file was missing and what it contains...
-
@Lindon the one I‘ve posted above.
-
Yep indeed.
The json isn't automatically generated when using 3rd party stuff or copying across nodes -
@griffinboy actually I could add a warning message if there are third party nodes without the properties, that would save us some troubleshooting.
-
Hey that's a good idea, please do!
-
@Christoph-Hart Good idea! Had I known I probably wouldn't have caused the fuzz. It worked fine on MAC, that was the confusing part. Also thanks for the github idea, it's cumbersome. but seems to keep the build files clean. Another crucial takeaway was compiling the third party nodes WITHOUT (disable AllowCompilation) the network first, then restart and compile the DspNetwork, it wouldn't work otherwise.... maybe that would be worth another warning somewhere ;))
Thanks to everyone who helped me find the solutions to the various issues and overcome my frustration to pull through. It was only three days of work and we got there in the end, I learned another bunch of things that will sure make things easier for me in the future. Also started a C++ course lol
-
@Lindon there's a menu item to create a third party node c++ template, which also creates a node_properties.json
in my case it contains
{ "Disintegrate": [ "IsPolyphonic", "AllowPolyphonic" ] }
which apparently is the information HISE needs to create the DspNetworks.h file correctly. Otherwise it would have missing some parameters causing them nasty compiler errors I couldn't make heads or tales of...
I created the third party node files manually, so the json wasn't there. Had never heard of that before and on MAC it never made a difference, but the PC seemed to take offence ;)
-
Had never heard of that before and on MAC it never made a difference
I'm pretty sure that this would not work on mac too because the code generator will produce gibberish if the flags don't match.
-
@Christoph-Hart said in MSVC only: Error C3203: unspecialized class template ... (works fine on MAC):
@Lindon the one I‘ve posted above.
ah thanks so node_properties.json then...
-
@Christoph-Hart it did, I was using the plugin for over a week in my own album production before I decided to try and compile a pc version
-
@Morphoice hmm, weird, anyways, I've added a safe check as well as the option to edit the flags set by the
node_properties.json
file in the DLL exporter. This should fix most issues related to this subject.