HISE Logo Forum
    • Categories
    • Register
    • Login

    Network Compilation on Windows Nightmare

    Scheduled Pinned Locked Moved Bug Reports
    5 Posts 2 Posters 274 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      ps
      last edited by

      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?
      Screenshot 2022-11-22 074500.png

      P 1 Reply Last reply Reply Quote 0
      • P
        ps @ps
        last edited by

        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]
        
        P 1 Reply Last reply Reply Quote 0
        • P
          ps @ps
          last edited by

          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; 
          	};
          
          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @ps
            last edited by

            @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.

            P 1 Reply Last reply Reply Quote 0
            • P
              ps @Christoph Hart
              last edited by

              @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

              1 Reply Last reply Reply Quote 1
              • First post
                Last post

              46

              Online

              1.7k

              Users

              11.7k

              Topics

              101.8k

              Posts