HISE Logo Forum
    • Categories
    • Register
    • Login

    New Dispatcher Issues

    Scheduled Pinned Locked Moved Bug Reports
    54 Posts 4 Posters 3.0k 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.
    • d.healeyD
      d.healey
      last edited by

      I'm seeing a bunch of errors when trying to compile my project as a plugin.

      In file included from /media/dave/Work/Tools/HISE/hi_dsp_library/../hi_tools/../JUCE/modules/juce_core/juce_core.h:66,
                       from /media/dave/Work/Tools/HISE/hi_dsp_library/../hi_tools/hi_tools.h:124,
                       from /media/dave/Work/Tools/HISE/hi_dsp_library/hi_dsp_library.h:55,
                       from ../../../AdditionalSourceCode/nodes/factory.cpp:5:
      /media/dave/Work/Tools/HISE/hi_dsp_library/../hi_tools/../JUCE/modules/juce_core/system/juce_TargetPlatform.h:56:3: error: #error "No global header file was included!"
         56 |  #error "No global header file was included!"
      
      /media/dave/Work/Tools/HISE/hi_core/../hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:19: error: ‘WebBrowserComponent’ was not declared in this scope
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                   ^~~~~~~~~~~~~~~~~~~
      /media/dave/Work/Tools/HISE/hi_core/../hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:38: error: template argument 1 is invalid
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                                      ^
      In file included from /media/dave/Work/Tools/HISE/hi_scripting/../hi_core/../hi_dsp_library/../hi_tools/hi_tools.h:264,
                       from /media/dave/Work/Tools/HISE/hi_scripting/../hi_core/../hi_dsp_library/hi_dsp_library.h:55,
                       from /media/dave/Work/Tools/HISE/hi_scripting/../hi_core/hi_core.h:74,
                       from /media/dave/Work/Tools/HISE/hi_scripting/hi_scripting.h:88,
                       from /media/dave/Work/Tools/HISE/hi_scripting/hi_scripting_03.cpp:35,
                       from ../../JuceLibraryCode/include_hi_scripting_03.cpp:9:
      /media/dave/Work/Tools/HISE/hi_scripting/../hi_core/../hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:19: error: ‘WebBrowserComponent’ was not declared in this scope
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                   ^~~~~~~~~~~~~~~~~~~
      /media/dave/Work/Tools/HISE/hi_scripting/../hi_core/../hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:38: error: template argument 1 is invalid
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                                      ^
      In file included from /media/dave/Work/Tools/HISE/hi_frontend/../hi_core/../hi_dsp_library/../hi_tools/hi_tools.h:264,
                       from /media/dave/Work/Tools/HISE/hi_frontend/../hi_core/../hi_dsp_library/hi_dsp_library.h:55,
                       from /media/dave/Work/Tools/HISE/hi_frontend/../hi_core/hi_core.h:74,
                       from /media/dave/Work/Tools/HISE/hi_frontend/hi_frontend.h:54,
                       from /media/dave/Work/Tools/HISE/hi_frontend/hi_frontend.cpp:38,
                       from ../../JuceLibraryCode/include_hi_frontend.cpp:9:
      /media/dave/Work/Tools/HISE/hi_frontend/../hi_core/../hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:19: error: ‘WebBrowserComponent’ was not declared in this scope
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                   ^~~~~~~~~~~~~~~~~~~
      /media/dave/Work/Tools/HISE/hi_frontend/../hi_core/../hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:38: error: template argument 1 is invalid
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                                      ^
      In file included from /media/dave/Work/Tools/HISE/hi_dsp_library/../hi_tools/hi_tools.h:264,
                       from /media/dave/Work/Tools/HISE/hi_dsp_library/hi_dsp_library.h:55,
                       from /media/dave/Work/Tools/HISE/hi_dsp_library/hi_dsp_library_01.cpp:40,
                       from ../../JuceLibraryCode/include_hi_dsp_library_01.cpp:9:
      /media/dave/Work/Tools/HISE/hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:19: error: ‘WebBrowserComponent’ was not declared in this scope
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                   ^~~~~~~~~~~~~~~~~~~
      /media/dave/Work/Tools/HISE/hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:38: error: template argument 1 is invalid
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                                      ^
      Compiling include_juce_audio_basics.cpp
      In file included from /media/dave/Work/Tools/HISE/hi_snex/../hi_dsp_library/../hi_tools/hi_tools.h:264,
                       from /media/dave/Work/Tools/HISE/hi_snex/../hi_dsp_library/hi_dsp_library.h:55,
                       from /media/dave/Work/Tools/HISE/hi_snex/hi_snex.h:127,
                       from /media/dave/Work/Tools/HISE/hi_snex/hi_snex_62.cpp:1,
                       from ../../JuceLibraryCode/include_hi_snex_62.cpp:9:
      /media/dave/Work/Tools/HISE/hi_snex/../hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:19: error: ‘WebBrowserComponent’ was not declared in this scope
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                   ^~~~~~~~~~~~~~~~~~~
      /media/dave/Work/Tools/HISE/hi_snex/../hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:38: error: template argument 1 is invalid
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                                      ^
      In file included from /media/dave/Work/Tools/HISE/hi_snex/../hi_dsp_library/../hi_tools/hi_tools.h:264,
                       from /media/dave/Work/Tools/HISE/hi_snex/../hi_dsp_library/hi_dsp_library.h:55,
                       from /media/dave/Work/Tools/HISE/hi_snex/hi_snex.h:127,
                       from /media/dave/Work/Tools/HISE/hi_snex/hi_snex.cpp:5,
                       from ../../JuceLibraryCode/include_hi_snex.cpp:9:
      /media/dave/Work/Tools/HISE/hi_snex/../hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:19: error: ‘WebBrowserComponent’ was not declared in this scope
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                   ^~~~~~~~~~~~~~~~~~~
      /media/dave/Work/Tools/HISE/hi_snex/../hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:38: error: template argument 1 is invalid
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                                      ^
      In file included from /media/dave/Work/Tools/HISE/hi_scripting/../hi_core/../hi_dsp_library/../hi_tools/hi_tools.h:264,
                       from /media/dave/Work/Tools/HISE/hi_scripting/../hi_core/../hi_dsp_library/hi_dsp_library.h:55,
                       from /media/dave/Work/Tools/HISE/hi_scripting/../hi_core/hi_core.h:74,
                       from /media/dave/Work/Tools/HISE/hi_scripting/hi_scripting.h:88,
                       from /media/dave/Work/Tools/HISE/hi_scripting/hi_scripting_01.cpp:35,
                       from ../../JuceLibraryCode/include_hi_scripting_01.cpp:9:
      /media/dave/Work/Tools/HISE/hi_scripting/../hi_core/../hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:19: error: ‘WebBrowserComponent’ was not declared in this scope
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                   ^~~~~~~~~~~~~~~~~~~
      /media/dave/Work/Tools/HISE/hi_scripting/../hi_core/../hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:38: error: template argument 1 is invalid
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                                      ^
      In file included from /media/dave/Work/Tools/HISE/hi_core/../hi_dsp_library/../hi_tools/hi_tools.h:264,
                       from /media/dave/Work/Tools/HISE/hi_core/../hi_dsp_library/hi_dsp_library.h:55,
                       from /media/dave/Work/Tools/HISE/hi_core/hi_core.h:74,
                       from /media/dave/Work/Tools/HISE/hi_core/hi_core.cpp:15,
                       from ../../JuceLibraryCode/include_hi_core.cpp:9:
      /media/dave/Work/Tools/HISE/hi_core/../hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:19: error: ‘WebBrowserComponent’ was not declared in this scope
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                   ^~~~~~~~~~~~~~~~~~~
      /media/dave/Work/Tools/HISE/hi_core/../hi_dsp_library/../hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:38: error: template argument 1 is invalid
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                                      ^
      Compiling include_juce_audio_devices.cpp
      Compiling include_juce_audio_formats.cpp
      make: *** [Makefile:488: build/intermediate/Release/include_hi_snex_62_51a830ef.o] Error 1
      make: *** Waiting for unfinished jobs....
      make: *** [Makefile:473: build/intermediate/Release/include_hi_snex_3396deb6.o] Error 1
      make: *** [Makefile:248: build/intermediate/Release/include_hi_dsp_library_01_6050d6b.o] Error 1
      In file included from /media/dave/Work/Tools/HISE/hi_tools/hi_tools.h:264,
                       from /media/dave/Work/Tools/HISE/hi_tools/hi_tools.cpp:51,
                       from ../../JuceLibraryCode/include_hi_tools.cpp:9:
      /media/dave/Work/Tools/HISE/hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:19: error: ‘WebBrowserComponent’ was not declared in this scope
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                   ^~~~~~~~~~~~~~~~~~~
      /media/dave/Work/Tools/HISE/hi_tools/hi_standalone_components/PerfettoWebViewer.h:60:38: error: template argument 1 is invalid
         60 |     ScopedPointer<WebBrowserComponent> browser;
            |                                      ^
      make: *** [Makefile:218: build/intermediate/Release/Plugin_124bbd3c.o] Error 1
      make: *** [Makefile:258: build/intermediate/Release/include_hi_frontend_381e68fa.o] Error 1
      make: *** [Makefile:233: build/intermediate/Release/factory_3d20f030.o] Error 1
      In file included from /media/dave/Work/Tools/HISE/hi_tools/hi_tools.cpp:121,
                       from ../../JuceLibraryCode/include_hi_tools.cpp:9:
      /media/dave/Work/Tools/HISE/hi_tools/hi_standalone_components/PerfettoWebViewer.cpp: In constructor ‘hise::PerfettoWebviewer::PerfettoWebviewer(hise::BackendRootWindow*)’:
      /media/dave/Work/Tools/HISE/hi_tools/hi_standalone_components/PerfettoWebViewer.cpp:110:37: error: expected type-specifier before ‘WebBrowserComponent’
        110 |     addAndMakeVisible(browser = new WebBrowserComponent(true));
            |                                     ^~~~~~~~~~~~~~~~~~~
      /media/dave/Work/Tools/HISE/hi_tools/hi_standalone_components/PerfettoWebViewer.cpp:111:12: error: base operand of ‘->’ is not a pointer
        111 |     browser->goToURL("https://ui.perfetto.dev");
            |            ^~
      /media/dave/Work/Tools/HISE/hi_tools/hi_standalone_components/PerfettoWebViewer.cpp: In member function ‘virtual void hise::PerfettoWebviewer::resized()’:
      /media/dave/Work/Tools/HISE/hi_tools/hi_standalone_components/PerfettoWebViewer.cpp:196:16: error: base operand of ‘->’ is not a pointer
        196 |         browser->setBounds(area);
            |  
      

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

      Dan KorneffD 1 Reply Last reply Reply Quote 0
      • Dan KorneffD
        Dan Korneff @d.healey
        last edited by

        @d-healey said in New Dispatcher Issues:

        #error "No global header file was included!

        I'm seeing this too.

        Dan Korneff - Producer / Mixer / Audio Nerd

        d.healeyD Christoph HartC 2 Replies Last reply Reply Quote 0
        • d.healeyD
          d.healey @Dan Korneff
          last edited by

          @Dan-Korneff Which OS?

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

          Dan KorneffD 1 Reply Last reply Reply Quote 0
          • Dan KorneffD
            Dan Korneff @d.healey
            last edited by

            @d-healey PC

            Dan Korneff - Producer / Mixer / Audio Nerd

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

              @Dan-Korneff said in New Dispatcher Issues:

              #error "No global header file was included!

              Try rebuilding the DSP network, I had to change the include order in the factory.cpp file.

              The other issues (PerfettoWebviewer stuff) is legit though, time to reboot that VM :)

              d.healeyD ulrikU 2 Replies Last reply Reply Quote 2
              • d.healeyD
                d.healey @Christoph Hart
                last edited by

                @Christoph-Hart Just tried compiling standalone on Windows and I'm seeing this.

                C:\Users\John\Desktop\Projects\HISE\hi_core\hi_core.cpp(13,10): fatal  error C1083: Cannot open include file: 'BinaryDa
                ta.h': No such file or directory (compiling source file ..\..\JuceLibraryCode\include_hi_core.cpp) [C:\Users\John\Deskt
                op\Projects\rhapsodyBuild\Rhapsody\Binaries\Builds\VisualStudio2022\Rhapsody_App.vcxproj]
                C:\Users\John\Desktop\Projects\HISE\hi_frontend\hi_frontend.cpp(36,10): fatal  error C1083: Cannot open include file: '
                BinaryData.h': No such file or directory (compiling source file ..\..\JuceLibraryCode\include_hi_frontend.cpp) [C:\User
                s\John\Desktop\Projects\rhapsodyBuild\Rhapsody\Binaries\Builds\VisualStudio2022\Rhapsody_App.vcxproj]
                

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

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

                  @Christoph-Hart I get the same error when trying to compile to au and vst3 instrument plugin, "No global header file was included"
                  I have no "DSP Network" in this project

                  using Xcode 14.3.1

                  Skärmavbild 2023-12-11 kl. 13.05.30.png

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

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

                    @ulrik I tried again and used the "JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED=1" in projucer, saved and compiled with Xcode 14.3.1
                    The "Global header" error was gone but instead I got this errors

                    Skärmavbild 2023-12-11 kl. 13.32.09.png

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

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

                      @ulrik so I disabled the x86_64 inside producer, saved and compiled again, but no luck with silicon either

                      Skärmavbild 2023-12-11 kl. 13.38.53.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

                        Hmm, compilation works fine here. Can you compile the demo project from the HISE repo?

                        d.healeyD ulrikU 2 Replies Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @Christoph Hart
                          last edited by

                          @Christoph-Hart Is that on all OSs?

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

                          Christoph HartC 1 Reply Last reply Reply Quote 0
                          • Christoph HartC
                            Christoph Hart @d.healey
                            last edited by

                            @d-healey I fixed the linux compilation but yes I can compile on all OS.

                            d.healeyD 2 Replies Last reply Reply Quote 0
                            • d.healeyD
                              d.healey @Christoph Hart
                              last edited by

                              @Christoph-Hart Thanks, I'll give it a go and report back.

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

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

                                @Christoph-Hart Seems to be working here on Linux. I'm having some other issues but I think they are related to a merge I did as using vanilla new_dispatcher branch has no problems.

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

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

                                  @Christoph-Hart said in New Dispatcher Issues:

                                  Hmm, compilation works fine here. Can you compile the demo project from the HISE repo?

                                  Which demo project?

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

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

                                    @ulrik https://github.com/christophhart/HISE/tree/new_dispatcher/extras/demo_project

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

                                    ulrikU 1 Reply Last reply Reply Quote 1
                                    • ulrikU
                                      ulrik @d.healey
                                      last edited by

                                      @d-healey Thanks!

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

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

                                        @Christoph-Hart
                                        Comiling the "Demo Project" result:
                                        Xcode 14.3.1
                                        Skärmavbild 2023-12-11 kl. 19.08.21.png

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

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

                                          @ulrik Are you using the new_dispatcher branch? I was getting that error in my fork where I merged the new_dispatcher in, but with Christoph's new_dispatcher it worked.

                                          @Christoph-Hart What do these do?

                                          NOMINMAX=1 &#10;WIN32_LEAN_AND_MEAN=1

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

                                          ulrikU 1 Reply Last reply Reply Quote 0
                                          • ulrikU
                                            ulrik @d.healey
                                            last edited by

                                            @d-healey said in New Dispatcher Issues:

                                            @ulrik Are you using the new_dispatcher branch? I was getting that error in my fork where I merged the new_dispatcher in, but with Christoph's new_dispatcher it worked.

                                            Yes

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

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

                                            37

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.2k

                                            Posts