RNBO compilation errors on Windows
-
Hi everyone, I have a finished plugin that uses one RNBO effect. It compiled perfectly fine on Mac. I'm now trying to compile on Windows and I'm getting these 2 errors:
error C2440: '<function-style-cast>': cannot convert from 'RNBO::number' to 'RNBO::TransportState' ' (compiling source file ....\Source\Main.cpp)
error C2660: 'RNBO::PlateRevRNBO::processTransportEvent': function does not take 1 arguments (compiling source file ....\Source\Main.cpp)
Any ideas? This is pretty urgent as this is slated to release on Monday. I'm using Visual Studio 2017 on a Windows 10.
-
@ally did you rebuild the dll file in windows yet? You need to compile networks again for each os
-
@DanH Yes, sorry I should've been clearer--this issue is happening when I try to compile the dll.
-
@ally go into the dspnetworks folder, then binaries and open the autogenerated projucer project. Then open that in vs and build it.
Then open hise and see if it loads.
-
@DanH you might need vs2020 I can’t remember but try 17 and see what happens
-
This is pretty urgent as this is slated to release on Monday. I'm using Visual Studio 2017 on a Windows 10.
That's a bit optimistic for building a Windows binary on Friday the first time :)
error C2440: '<function-style-cast>': cannot convert from 'RNBO::number' to 'RNBO::TransportState' ' (compiling source file ....\Source\Main.cpp) error C2660: 'RNBO::PlateRevRNBO::processTransportEvent': function does not take 1 arguments (compiling source file ....\Source\Main.cpp)
These sound like compile errors within the RNBO codebase, but I remember that somebody else also had some compilation issues that came from their codebase and updating RNBO solved that, otherwise you have to write the tech support at Cycling 74 and hope that their doing overtime because of Black Friday...
-
@Christoph-Hart Ya I had a similar compilation issue a while back but I updated RNBO, and rebuilt HISE on vs2020 and it worked after that.
-
@Christoph-Hart Thanks! I will see if I can find that other post.
Thus far I've tried a couple versions of Rnbo and I'm still getting the same errors.
I've tried other Rnbo effects as well, and its the same result. I downloaded the Rnbo guitar pedal suite they released and tested out 3 (Plate reverb, EQ, Tuner).
@Christoph-Hart said in RNBO compilation errors on Windows:
That's a bit optimistic for building a Windows binary on Friday the first time :)
The client wanted to add a last minute 11th hour effect that makes use of Rnbo and at the time it sounded simple enough and the mac version went super smoothly last week. Thankfully there is another release candidate binary sans the Rnbo.
I'm going to test some alternate versions of Hise maybe there's a magic combination.
-
@HISEnberg Ok thanks! I think I built with VS2017 so trying that now.
-
@DanH Thanks! Trying VS2020 now.
Halo 2 looks epic, congrats :bottle_with_popping_cork:
-
Got this working, thank you everyone for your help! The fix was just updating Visual Studio past 2017. :)