HISE Logo Forum
    • Categories
    • Register
    • Login

    Compiling DSP Networks failing on Windows

    Scheduled Pinned Locked Moved Bug Reports
    14 Posts 4 Posters 160 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.
    • ustkU
      ustk
      last edited by

      So the plugin is ready and fully functional on mac, but when compiling the DSP networks on Windows it just fails with this error code:

      > Create files
      > Sorting include dependencies
      > Creating C++ file for Network BottomFxNetwork2
      > Creating C++ file for Network HarmonicExciter2
      > Creating C++ file for Network MS_Decoder
      > Creating C++ file for Network MS_Encoder
      > Copying third party files
      > Compiling dll plugin
      Re-saving file: C:\Users\greg\Documents\SonitusMax\DspNetworks\Binaries\AutogeneratedProject.jucer
      Finished saving: Visual Studio 2022
      Finished saving: Xcode (macOS)
      Finished saving: Linux Makefile
      MSBuild version 17.13.15+18b3035f6 for .NET Framework
      
        Main.cpp
        RNBO.cpp
        include_hi_dsp_library_01.cpp
        include_hi_dsp_library_02.cpp
        include_hi_tools_01.cpp
        include_hi_tools_02.cpp
        include_juce_audio_basics.cpp
        include_juce_audio_formats.cpp
        include_juce_core.cpp
        include_juce_data_structures.cpp
        include_juce_dsp.cpp
        include_juce_events.cpp
      	C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include\bit(11): warning STL4038: The contents of <bit> are available only with C++20 or later. [C:\Users\greg\Documents\SonitusMax\DspNetworks\Binaries\Builds\VisualStudio2022\SonitusMax_DynamicLibrary.vcxproj]
        include_juce_graphics.cpp
      // ========== ERROR =================================================
      !C:\Users\greg\Documents\HISE\hi_dsp_library\node_api\helpers\parameter.h(525,2): error C2280: 'scriptnode::advanced_tuple<scriptnode::parameter::bypass<scriptnode::bypass::smoothed<20,scriptnode::container::chain<scriptnode::parameter::empty,scriptnode::wrap::fix<2,scriptnode::math::OpNode<scriptnode::math::Operations::clear,1>>>>,scriptnode::ranges::Identity>,scriptnode::parameter::bypass<scriptnode::bypass::smoothed<20,scriptnode::container::chain<scriptnode::parameter::empty,scriptnode::wrap::fix<2,scriptnode::math::OpNode<scriptnode::math::Operations::clear,1>>>>,scriptnode::ranges::Identity>>::advanced_tuple(void)': attempting to reference a deleted function [C:\Users\greg\Documents\SonitusMax\DspNetworks\Binaries\Builds\VisualStudio2022\SonitusMax_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
      ...
      

      Can't help pressing F5 in the forum...

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @ustk
        last edited by

        @ustk Did you clean the build folder after moving from Mac? Including the additional source code folder?

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        ustkU 1 Reply Last reply Reply Quote 0
        • ustkU
          ustk @d.healey
          last edited by

          @d-healey Thanks Dave, yes I deleted all folders, Binaries, DspNetworks Binaries, and AdditionalSourceCode...

          Can't help pressing F5 in the forum...

          ustkU 1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @ustk
            last edited by

            Here's the error a wee bit expanded and clearer:

            !C:\Users\greg\Documents\HISE\hi_dsp_library\node_api\helpers\parameter.h(525,2):
            error C2280:
            '
            scriptnode::advanced_tuple
            <
            	scriptnode::parameter::bypass
            	<
            		scriptnode::bypass::smoothed
            		<
            			20, scriptnode::container::chain
            			<
            				scriptnode::parameter::empty, scriptnode::wrap::fix
            				<
            					2, scriptnode::math::OpNode
            					<
            						scriptnode::math::Operations::clear, 1
            					>
            				>
            			>
            		>, scriptnode::ranges::Identity
            	>, scriptnode::parameter::bypass
            	<
            		scriptnode::bypass::smoothed
            		<
            			20, scriptnode::container::chain
            			<
            				scriptnode::parameter::empty, scriptnode::wrap::fix
            				<
            					2, scriptnode::math::OpNode
            					<
            						scriptnode::math::Operations::clear, 1
            					>
            				>
            			>
            		>, scriptnode::ranges::Identity
            	>
            >::advanced_tuple(void)
            
            ':attempting to reference a deleted function [C:\Users\greg\Documents\SonitusMax\DspNetworks\Binaries\Builds\VisualStudio2022\SonitusMax_DynamicLibrary.vcxproj]
             
            

            Can't help pressing F5 in the forum...

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @ustk
              last edited by

              @ustk Same version of HISE on both systems?

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              ustkU 1 Reply Last reply Reply Quote 0
              • ustkU
                ustk @d.healey
                last edited by ustk

                @d-healey Both identical, but both are 15 commits behind... Trying to update both computers to latest commit...

                I should mention that my Windows machine is an Intel iMac (bootcamp, not a VM)
                Since running a VM on a macBook ARM doesn't really make sense at the moment, I just reconfigured a real machine yesterday...

                Can't help pressing F5 in the forum...

                ustkU 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @ustk
                  last edited by

                  @Christoph-Hart Do you have any idea ?
                  I tried to compile either of my DSPs but the same errors pops up. So it doesn't seem to be related to my files (and it works on mac anyway...)

                  Can't help pressing F5 in the forum...

                  ustkU 1 Reply Last reply Reply Quote 0
                  • ustkU
                    ustk @ustk
                    last edited by

                    @Christoph-Hart Finally it was the soft_bypass nodes connected to parameters causing the crash.
                    It's not the first time I'm having trouble with the soft bypass connection. Also, the warning triangle is always present when connect to those nodes

                    Can't help pressing F5 in the forum...

                    orangeO 1 Reply Last reply Reply Quote 0
                    • orangeO
                      orange @ustk
                      last edited by

                      @ustk I'm using a version from October 2024, I haven't seen this here.
                      Maybe it occurred in commits after this date.

                      develop Branch / XCode 13.1
                      macOS Monterey / M1 Max

                      ustkU 1 Reply Last reply Reply Quote 0
                      • ustkU
                        ustk @orange
                        last edited by

                        @orange on Windows ? Because it work on mac (or it is just less picky)
                        Also, all configurations didn’t crash when compiling, it was more when several soft bypass nodes were connected to one parameter

                        The workaround for me was to make a "rail" of pma nodes inserted between parameters and soft_bypass nodes, keeping a "one pma per node" rule

                        Can't help pressing F5 in the forum...

                        orangeO DanHD 2 Replies Last reply Reply Quote 0
                        • orangeO
                          orange @ustk
                          last edited by orange

                          @ustk Yes, I haven't seen it on Windows either, but I haven't connected more than one soft_bypass node directly to a single parameter.

                          I usually use the xfade node for multiple parameters (one is bypassed while the other is activated) and it works.

                          develop Branch / XCode 13.1
                          macOS Monterey / M1 Max

                          1 Reply Last reply Reply Quote 1
                          • DanHD
                            DanH @ustk
                            last edited by DanH

                            @ustk have you tried building it directly in VS from the AutoGenerated project in the DSP folder?

                            Also worth trashing any nodes or containers you previously removed (but still appear at the top of the node list when adding a new node with the trash can icon next to them)

                            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                            https://dhplugins.com/ | https://dcbreaks.com/
                            London, UK

                            ustkU 1 Reply Last reply Reply Quote 0
                            • ustkU
                              ustk @DanH
                              last edited by

                              @DanH Yes I did, same result... Didn't know about trashing the unused nodes... Have you had strange things happening when they're still around?

                              Can't help pressing F5 in the forum...

                              DanHD 1 Reply Last reply Reply Quote 0
                              • DanHD
                                DanH @ustk
                                last edited by DanH

                                @ustk I had a fail, compile report complained of non existent connections, deleted the unused nodes and it worked. However it seems all over the place. I'm using RNBO, custom c++, SNEX and Faust in the same project 😆

                                It's a lottery if it compiles successfully! Each time it is different 🤷

                                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                https://dhplugins.com/ | https://dcbreaks.com/
                                London, UK

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

                                20

                                Online

                                1.7k

                                Users

                                11.8k

                                Topics

                                102.7k

                                Posts