New Dispatcher Issues
-
@d-healey Alright, I've setup a VM (boy that was annoying, like googling "terminal doesn't open after clean install", and then 20 more of these problems)...
Anyways, I think I've managed to fix the Linux build, I could compile a Debug version and run it, but let me know if there are still issues.
The browser window of the Perfetto Floating Tile doesn't open (same problem as with the WebView), but you can just drag that file to a web browser with the
ui.perfetto.dev
URL to get the same functionality. -
Oh and you need to resave the makefile, I changed the
PERFETTO=1
flag so that it compiles HISE with perfetto... -
@Christoph-Hart Thank you, giving this a go now. What would I need Perfetto for?
-
@Christoph-Hart Build success! Thanks again.
I notice some changes in the script editor. Are things like
const
,Content
,function
etc. meant to be fuzzy and bold?Develop branch looks like this:
-
@d-healey I think that might be the same font change that makes my commented text show up strange.
-
@d-healey Bold yes, fuzzy no :)
Perfetto is a profiling SDK that lets you find hotspots in the code / your DSP algorithm and I've been injecting the profiling code all over the HISE codebase.
It's a quite complex tool but gives you a very nice visualization of what's going on on different threads in a neat timeline.
Here's a little (incomplete) explanation of what you can do with it:
https://docs.hise.audio/ui-components/floating-tiles/hise/perfettowebviewer.html
-
@Christoph-Hart This is "Awesome!" for sure
-
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); |
-
@d-healey said in New Dispatcher Issues:
#error "No global header file was included!
I'm seeing this too.
-
@Dan-Korneff Which OS?
-
@d-healey PC
-
@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 :)
-
@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]
-
@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 projectusing Xcode 14.3.1
-
@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 -
@ulrik so I disabled the x86_64 inside producer, saved and compiled again, but no luck with silicon either
-
Hmm, compilation works fine here. Can you compile the demo project from the HISE repo?
-
@Christoph-Hart Is that on all OSs?
-
@d-healey I fixed the linux compilation but yes I can compile on all OS.
-
@Christoph-Hart Thanks, I'll give it a go and report back.