Network Compilation on Windows Nightmare
-
So I just finished a project on Mac, everything working great. Now when tryinig to build the windows versions all I see is red. Latest Faust version on windows - when I try to recompile the networks (or also try to compile test networks that are less complex) I get the following errors among others.
Any ideas what this is pointing to?
-
ok forget about the errors above. they are on me as it seems I modified something by accident here to get rid of the actual initial problem:
C:\HISE\HISE\hi_dsp_library\snex_basics\snex_Types.h(1036,6): error C2148: total size of array must not exceed 0x7fffff ff bytes (compiling source file ..\..\Source\Main.cpp) [C:\HISE\LIQWIN\DspNetworks\Binaries\Builds\VisualStudio2022\LIQ WIN_DynamicLibrary.vcxproj]
-
Ok. I think I could narrow it down to one single faust node using the following code. The node compiles inside hise but will lead to the "total size of array must not exceed 0x7fffffff bytes" error when trying to compile the network on my windows machine. Any ideas @Christoph-Hart ?
import("stdfaust.lib"); process = par(i, 2, voice) with { voice = (+ : de.sdelay(N, interp, dtime)) ~ *(fback); N = int(2^19); interp = hslider("interpolation[unit:ms][style:knob]",10,1,100,0.1)*ma.SR/1000.0; dtime = hslider("delay[unit:ms][style:knob]", 0, 0, 5000, 0.1)*ma.SR/1000.0; fback = hslider("feedback[style:knob]",0,0,100,0.1)/100.0; };
-
@ps nope that‘s too deep in faust land for me but 2^19 is a big number so if this ends up being the delay buffer size you‘ve successfully built a memory destroyer.
-
@Christoph-Hart I can't believe it - it actually was the calculation - but to be fair it just sets the maximum amount of samples 2^19 = 524288
I just replaced it with 240000 and no complaint.
24 hours of my life wasted for that haha