HISE Logo Forum
    • Categories
    • Register
    • Login

    Enable / Disable Compilation in new DSP Compile Dialog

    Scheduled Pinned Locked Moved Feature Requests
    scriptnodecompile
    20 Posts 6 Posters 363 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.
    • oskarshO
      oskarsh
      last edited by

      It would be really cool if we can disable or enable which C++/ Faust/ Network files to compile.

      The use case here is when using external C++ files these need to be compiled before the network is compiled. I manually go into each network and disable compilation so that it only compiles the C++ node first. Then I open again and recompile the network.

      Screenshot 2025-01-31 at 12.26.19 PM.jpg

      HISE Developer for hire :)

      ulrikU HISEnbergH 2 Replies Last reply Reply Quote 5
      • ulrikU
        ulrik @oskarsh
        last edited by

        @oskarsh said in Enable / Disable Compilation in new DSP Compile Dialog:

        It would be really cool if we can disable or enable which C++/ Faust/ Network files to compile.

        The use case here is when using external C++ files these need to be compiled before the network is compiled. I manually go into each network and disable compilation so that it only compiles the C++ node first. Then I open again and recompile the network.

        I agree, I use the same procedure and it's a bit cumbersome

        Hise Develop branch
        MacOs 15.3.1, Xcode 16.2
        http://musikboden.se

        Christoph HartC 1 Reply Last reply Reply Quote 2
        • Christoph HartC
          Christoph Hart @ulrik
          last edited by

          what, why? You can compile it all in one go and it should work (it does here for me at least). What's the problem?

          ulrikU oskarshO 2 Replies Last reply Reply Quote 1
          • ulrikU
            ulrik @Christoph Hart
            last edited by

            @Christoph-Hart said in Enable / Disable Compilation in new DSP Compile Dialog:

            You can compile it all in one go and it should work (it does here for me at least).

            Here it doesn't work, I have to disable compilation for the networks that use the external c++ files, compile all c++ files, then set the networks to enable compilation, then compile all again

            Hise Develop branch
            MacOs 15.3.1, Xcode 16.2
            http://musikboden.se

            1 Reply Last reply Reply Quote 0
            • HISEnbergH
              HISEnberg @oskarsh
              last edited by

              I totally support his it would be great, even better if we could just compile everything at the same time!

              1 Reply Last reply Reply Quote 2
              • oskarshO
                oskarsh @Christoph Hart
                last edited by

                @Christoph-Hart yes but in order for the scriptnode network to be compiled it needs the compiled custom c++ first.

                I think it would be even better when HISE always compiles c++, Faust files first and then the network.

                HISE Developer for hire :)

                HISEnbergH ulrikU Christoph HartC 3 Replies Last reply Reply Quote 2
                • HISEnbergH
                  HISEnberg @oskarsh
                  last edited by

                  @oskarsh This would be a huge time saver.

                  1 Reply Last reply Reply Quote 0
                  • ulrikU
                    ulrik @oskarsh
                    last edited by

                    @oskarsh Yes

                    Hise Develop branch
                    MacOs 15.3.1, Xcode 16.2
                    http://musikboden.se

                    1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart @oskarsh
                      last edited by

                      @oskarsh said in Enable / Disable Compilation in new DSP Compile Dialog:

                      yes but in order for the scriptnode network to be compiled it needs the compiled custom c++ first.

                      No, it compiles fine here, I can clean the DLL folder and recompile everything on the first attempt. Again, what is the problem?

                      ulrikU 1 Reply Last reply Reply Quote 0
                      • ulrikU
                        ulrik @Christoph Hart
                        last edited by

                        @Christoph-Hart for me this happens every now and then

                        Skärmavbild 2025-01-31 kl. 15.37.55.png

                        the whole text:

                        The following build commands failed:
                        	CompileC /Users/ulrikboden/Music/Hise/HISE\ PROJECTS/EGNA/Faust/RingModulator/DspNetworks/Binaries/Builds/MacOSX/build/RingModulator.build/Debug/RingModulator\ -\ Dynamic\ Library.build/Objects-normal/x86_64/Main.o /Users/ulrikboden/Music/Hise/HISE\ PROJECTS/EGNA/Faust/RingModulator/DspNetworks/Binaries/Source/Main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RingModulator - Dynamic Library' from project 'RingModulator')
                        (1 failure)
                        
                        [x] fatal error: too many errors emitted, stopping now [-ferror-limit=]
                        
                        

                        and after some trial and error I found that if I'm setting all the networks to compilation disabled, I could successfully compile c++ and Faust files, then I could enable compilation on the networks and everything worked.

                        So what could my and maybe @oskarsh problem be?

                        Hise Develop branch
                        MacOs 15.3.1, Xcode 16.2
                        http://musikboden.se

                        Christoph HartC oskarshO 2 Replies Last reply Reply Quote 0
                        • Christoph HartC
                          Christoph Hart @ulrik
                          last edited by

                          @ulrik can you paste the entire build log?

                          ulrikU 1 Reply Last reply Reply Quote 0
                          • oskarshO
                            oskarsh @ulrik
                            last edited by

                            @ulrik i think in that case u wanna try downgrading to xcode 15.3. I hit a similar problem related to that error and that helped. xcode 16.2 seems to not work well currently.

                            	 /Users/oskarsh/Documents/GitHub/Takt/DspNetworks/Binaries/Source/../../ThirdParty/../../External/airwindows/plugins/LinuxVST/src/Density2/Density2Proc.cpp:320:3: expression result unused [-Wunused-value]
                            
                                            *out2++;
                                            ^~~~~~~
                            
                            
                            
                            	 /Users/oskarsh/Documents/GitHub/Takt/DspNetworks/Binaries/Source/../../ThirdParty/../../External/airwindows/plugins/LinuxVST/src/Drive/Drive.h:36:5: 'airwindows::drive_ns::Drive' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
                            
                                ~Drive();
                                ^
                            
                            @Christoph-Hart it fails with this message. This can be reproduced when I deleted the binaries folder and tried to recompile the networks.

                            HISE Developer for hire :)

                            Christoph HartC 1 Reply Last reply Reply Quote 0
                            • Christoph HartC
                              Christoph Hart @oskarsh
                              last edited by

                              @oskarsh that‘s just a warning from the airwindows code.

                              1 Reply Last reply Reply Quote 0
                              • ulrikU
                                ulrik @Christoph Hart
                                last edited by

                                @Christoph-Hart I've search high and low for any logs, inside the project, in the project DspNetworks folder in every corner, in the cellar....
                                and I can't find any logs, the only log I could find is in Application Support/Hise/Logs, and that log is not from today...

                                Is it this files?

                                Skärmavbild 2025-01-31 kl. 19.34.55.png

                                Hise Develop branch
                                MacOs 15.3.1, Xcode 16.2
                                http://musikboden.se

                                Christoph HartC 1 Reply Last reply Reply Quote 0
                                • Christoph HartC
                                  Christoph Hart @ulrik
                                  last edited by

                                  I meant just the entire compile log. Use the copy to clipboard button in the new dialog.

                                  ulrikU 1 Reply Last reply Reply Quote 0
                                  • ulrikU
                                    ulrik @Christoph Hart
                                    last edited by

                                    @Christoph-Hart said in Enable / Disable Compilation in new DSP Compile Dialog:

                                    I meant just the entire compile log. Use the copy to clipboard button in the new dialog.

                                    I can't see any "copy to clipboard button" in the dialog
                                    Where have you hidden it?

                                    Skärmavbild 2025-01-31 kl. 20.58.47.png

                                    > Create files
                                    > Sorting include dependencies
                                    > Creating C++ file for Network ladder
                                    > Creating C++ file for Network RingMod_ScriptFx
                                    > Copying third party files
                                    > Compiling dll plugin
                                    Re-saving file: /Users/ulrikboden/Music/Hise/HISE PROJECTS/EGNA/Faust/RingModulator/DspNetworks/Binaries/AutogeneratedProject.jucer
                                    Finished saving: Visual Studio 2017
                                    Finished saving: Xcode (macOS)
                                    Finished saving: Linux Makefile
                                    Compiling RingModulator ...
                                    > Compiling include_hi_tools_01.cpp
                                    > Compiling include_hi_dsp_library_01.cpp
                                    > Compiling include_juce_gui_basics.mm
                                    > Compiling RNBO.cpp
                                    > Compiling Main.cpp
                                    ** BUILD FAILED **
                                    
                                    
                                    The following build commands failed:
                                    	CompileC /Users/ulrikboden/Music/Hise/HISE\ PROJECTS/EGNA/Faust/RingModulator/DspNetworks/Binaries/Builds/MacOSX/build/RingModulator.build/Release/RingModulator\ -\ Dynamic\ Library.build/Objects-normal/x86_64/Main.o /Users/ulrikboden/Music/Hise/HISE\ PROJECTS/EGNA/Faust/RingModulator/DspNetworks/Binaries/Source/Main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RingModulator - Dynamic Library' from project 'RingModulator')
                                    
                                    [x] fatal error: too many errors emitted, stopping now [-ferror-limit=]
                                    
                                    
                                    > Compiling include_juce_gui_basics.mm
                                    > Compiling include_juce_graphics.mm
                                    > Compiling include_juce_events.mm
                                    

                                    Hise Develop branch
                                    MacOs 15.3.1, Xcode 16.2
                                    http://musikboden.se

                                    P MorphoiceM 2 Replies Last reply Reply Quote 0
                                    • P
                                      Phelan Kane @ulrik
                                      last edited by

                                      @ulrik ;Ive got the same problem but it only seems to happen with one specific RNBO.h file. Anyone now how to trace the compiler errors i.e. change the [-ferror-limit=] ??

                                      P

                                      oskarshO 1 Reply Last reply Reply Quote 0
                                      • oskarshO
                                        oskarsh @Phelan Kane
                                        last edited by

                                        @Phelan-Kane this issue still seem to exist. Often also the compiler log gets cut off in HISE so you actually cannot see the error output.

                                        HISE Developer for hire :)

                                        1 Reply Last reply Reply Quote 0
                                        • MorphoiceM
                                          Morphoice @ulrik
                                          last edited by

                                          @Christoph-Hart @ulrik I'm having the exact same issue over here, it's driving me nuts for hours and I cant seem to get a detailed error message to pinpoint the problem...

                                          https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                                          oskarshO 1 Reply Last reply Reply Quote 0
                                          • oskarshO
                                            oskarsh @Morphoice
                                            last edited by

                                            @Morphoice if you want a more detailed error message try opening the generated AutogeneratedProject.jucer file from the DSP Networks Binaries Folder.

                                            You can then compile this file as you would compile HISE in VSCode or XCode. This usually yields the correct error message.

                                            HISE Developer for hire :)

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

                                            37

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.1k

                                            Posts