HISE Logo Forum
    • Categories
    • Register
    • Login

    Sorry for the code dump...

    Scheduled Pinned Locked Moved General Questions
    25 Posts 9 Posters 783 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.
    • Christoph HartC
      Christoph Hart
      last edited by

      Bear with me, I somehow got mixed at multiple places and now I had to commit everything to the dev branch, but todays commit history gives serial killer vibes.

      There are a few gems in there that will be documented over the span of the next days:

      • complete rewrite of the profiling suite (basically a extended version of Perfetto with much tighter integration into HISE). Profile your scripts down to each line of code, quickly check the DSP tree for the worst runtime & see event dependencies across different threads (broadcaster events etc).
      • complex sample group manager (the UX is still all over the place and some functions are missing but the basics are there)
      • WebSocket server communication for fast data transfer between web view and HISE. Oh and the Webview should now work on Linux too - David let me know if that is the case and what needs to be done to make it REALLY work.

      I tried to focus on it not breaking stuff (most of the profiling tools can be completely removed with a preprocessor flag which is disabled by default), but if something behaves nasty let me know. When it's dusted off and documented, we'll call this bad boy HISE 4.5.0...

      I suggest we make these things the topics of the next HISE meetup :)

      d.healeyD griffinboyG clevername27C mmprodM VitruviusV 5 Replies Last reply Reply Quote 17
      • d.healeyD
        d.healey @Christoph Hart
        last edited by

        @Christoph-Hart said in Sorry for the code dump...:

        I suggest we make these things the topics of the next HISE meetup :)

        Nice, looking forward to it.

        @Christoph-Hart said in Sorry for the code dump...:

        WebSocket server communication for fast data transfer between web view and HISE. Oh and the Webview should now work on Linux too

        Also nice, not sure what I'll use it for, but I'll give it a spin to see that it works.

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

        1 Reply Last reply Reply Quote 0
        • griffinboyG
          griffinboy @Christoph Hart
          last edited by

          @Christoph-Hart

          Wonderful. I never thought to ask for better profiling but that's a great idea indeed

          1 Reply Last reply Reply Quote 0
          • clevername27C
            clevername27 @Christoph Hart
            last edited by clevername27

            @Christoph-Hart Thanks and I love the energy, but respectfully and personally, would rather have a more reliable and consistent developer experience with the existing feature set. Just my $0.02.

            1 Reply Last reply Reply Quote 3
            • mmprodM
              mmprod @Christoph Hart
              last edited by

              @Christoph-Hart thank you!!

              For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.
              John 3:16

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

                Getting some build errors

                ../../../../../HISE/hi_faust_jit/FaustJitNode.h:261:9: error: ‘NodeProfiler’ was not declared in this scope
                  261 |         NodeProfiler np(this, data.getNumSamples());
                
                ../../../../../HISE/hi_faust_jit/../hi_faust/../hi_dsp_library/../hi_tools/hi_binary_data/hi_binary_data.h:41:88: error: static assertion failed
                   41 | #define LOAD_PATH_IF_URL(urlName, editorIconName) static_assert(sizeof(editorIconName) > sizeof(char*)); ids.addIfNotAlreadyThere(urlName); if (url == urlName) p.loadPathFromData(editorIconName, sizeof(editorIconName));
                
                ../../../../../HISE/hi_tools/../hi_dsp_library/../hi_tools/../JUCE/modules/juce_core/memory/juce_ContainerDeletePolicy.h:52:23: error: invalid application of ‘sizeof’ to incomplete type ‘choc::ui::WebView’
                   52 |         ignoreUnused (sizeof (ObjectType));
                
                ../../../../../HISE/hi_tools/../hi_dsp_library/../hi_tools/../JUCE/modules/juce_core/memory/juce_ByteOrder.h:81:21: error: call of overloaded ‘swap(long unsigned int&)’ is ambiguous
                   81 |         return swap (value);
                
                ../../../../../HISE/hi_tools/../hi_dsp_library/../hi_tools/hi_standalone_components/ChocWebView.h:402:34: error: ‘class juce::XEmbedComponent’ has no member named ‘updateEmbeddedBounds’
                  402 | #define resizeToFitCrossPlatform updateEmbeddedBounds
                

                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
                • VitruviusV
                  Vitruvius @Christoph Hart
                  last edited by

                  @Christoph-Hart I’m a new HISE user - I love it. I’ve been experimenting and compiling VSTs to try things out. I last built HISE shortly after the “fix compilation for real” commit 078a2487 from March 5 and it’s been smooth sailing.

                  I built HISE from fresh source to get in on this new serial killer agenda. I think it worked - I’m seeing fatal errors during plug-in compile that weren’t present before. 😆

                  Terminal log attached, with cap blocks added to bracket the new warnings and errors.

                  plugin-build-errors-20250315.txt

                  https://vladspears.io

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

                    @d-healey The build errors should be fixed now, but I don't have a linux machine at the moment. Can you check whether the webview shows up?

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

                      @Christoph-Hart This gem still seems to be active :D

                      struct SorryDavid: public Component
                      {
                          void paint(Graphics& g) override
                          {
                              g.fillAll(Colours::grey);
                              g.setColour(Colours::black);
                              g.drawText("Not there yet...", getLocalBounds().toFloat(), Justification::centred);
                          }
                          void doNothing(float){}
                          void doNothing(void*){};
                      	void doNothing(){};
                      };
                      

                      Haha, love it

                      #elif JUCE_LINUX
                          // Unfortunately I'm too stupid to figure out how to
                          // use the Linux native handle wrapper -
                          // that would be juce::XEmbedComponent
                      	using NativeComponentType = SorryDavid;
                      

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

                      1 Reply Last reply Reply Quote 2
                      • StraticahS
                        Straticah @Vitruvius
                        last edited by

                        @Vitruvius I currently have a simmilar error on mac.

                        ❌ /Users/julian/Documents/GitHub/HISE/hi_tools/hi_standalone_components/SliderPack.h:192:15: [31munknown class name 'ProfiledComponent'; did you mean 'PropertyComponent'?[0m
                          192 |                                    public ProfiledComponent,
                        [36m      |                                           ^~~~~~~~~~~~~~~~~[0m
                        ⚠️  /Users/julian/Documents/GitHub/HISE/hi_tools/hi_standalone_components/SliderPack.h:191:20: [33mdirect base 'Component' is inaccessible due to ambiguity:[0m
                            class hise::SliderPack -> Component
                        [32m    class hise::SliderPack -> PropertyComponent -> Component [-Winaccessible-base][0m
                        

                        ProfiledComponent class seeems to be missing on latest HISE version?

                        I tried to compile my scriptnode and got this error from the current HISE version 1h ago.

                        building user interfaces in HISE :)
                        web: www.vst-design.com

                        VitruviusV 1 Reply Last reply Reply Quote 2
                        • VitruviusV
                          Vitruvius @Straticah
                          last edited by

                          @Straticah I built HISE again after @Christoph-Hart's post three above. I think commit 6971948 may have addressed enough of what I was seeing to allow successful plug-in builds again. What I'm building is just a learning project, though, focused on whatever limited functionality I'm working through from the documentation or that I've found here in the forum. It doesn't have the breadth or depth of production dev.

                          Where I had build-failing errors before, I now have warnings instead:

                          
                          [CleverCrow - Shared Code] Compiling include_hi_tools_03.cpp
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_tools/../hi_dsp_library/../hi_tools/mcl_editor/code_editor/TextEditor.hpp:343:12: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
                            343 |                                 return std::move(v);
                          	  |                                        ^
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_tools/hi_dev/CodeEditorApiBase.cpp:728:24: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32' (aka 'unsigned int') [-Wshorten-64-to-32]
                            728 |                         return Colour(label.hash()).withSaturation(0.5).withBrightness(0.7f).withAlpha(1.0f);
                          	  |                                ~~~~~~ ~~~~~~^~~~~~
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_tools/hi_dev/CodeEditorApiBase.cpp:1021:8: unused variable 'legend' [-Wunused-variable]
                           1021 |                 auto legend = b.removeFromTop(24);
                          	  |                      ^~~~~~
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_tools/hi_dev/CodeEditorApiBase.cpp:1226:7: unused variable 'isBase64' [-Wunused-variable]
                           1226 |         auto isBase64 = [](uint8 c)
                          	  |              ^~~~~~~~
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_tools/hi_dev/CodeEditorApiBase.cpp:1294:2: non-void function does not return a value [-Wreturn-type]
                           1294 |         }
                          	  |         ^
                          [CleverCrow - Shared Code] Compiling include_hi_tools_02.cpp
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_tools/mcl_editor/code_editor/TextEditor.hpp:343:12: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
                            343 |                                 return std::move(v);
                          	  |                                        ^
                          [CleverCrow - Shared Code] Compiling include_hi_tools_01.cpp
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_tools/../hi_dsp_library/../hi_tools/mcl_editor/code_editor/TextEditor.hpp:343:12: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
                            343 |                                 return std::move(v);
                          	  |                                        ^
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_tools/hi_standalone_components/ChocWebSocket.cpp:10:8: unused variable 'isBase64' [-Wunused-variable]
                             10 |                 auto isBase64 = [](uint8 c)
                          	  |                      ^~~~~~~~
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_tools/hi_standalone_components/ChocWebSocket.cpp:70:8: unused variable 'ok' [-Wunused-variable]
                             70 |                 auto ok = socket->waitUntilReady(true, 3000);
                          	  |                      ^~
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_tools/hi_standalone_components/ChocWebSocket.cpp:260:14: unused variable 'fin' [-Wunused-variable]
                            260 |         bool fin = firstByte & 0x80;  // FIN bit
                          	  |              ^~~
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_tools/hi_standalone_components/ChocWebSocket.cpp:270:42: multiple unsequenced modifications to 'offset' [-Wunsequenced]
                            270 |             payloadLength = (frame[offset++] << 8) | frame[offset++];
                          	  |                                          ^                       ~~
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_tools/hi_standalone_components/ChocWebSocket.cpp:278:39: multiple unsequenced modifications to 'offset' [-Wunsequenced]
                            278 |             maskingKey = (frame[offset++] << 24) |
                          	  |                                       ^
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_tools/hi_standalone_components/ChocWebSocket.cpp:303:35: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
                            303 |                         int numValues = payload.size() / 4;
                          	  |                             ~~~~~~~~~   ~~~~~~~~~~~~~~~^~~
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_tools/hi_standalone_components/ChocWebSocket.cpp:342:5: non-void function does not return a value in all control paths [-Wreturn-type]
                            342 |     }
                          	  |     ^
                          [CleverCrow - Shared Code] Compiling include_hi_streaming.cpp
                          [CleverCrow - Shared Code] Compiling include_hi_snex_62.cpp
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_snex/../hi_dsp_library/../hi_tools/mcl_editor/code_editor/TextEditor.hpp:343:12: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
                            343 |                                 return std::move(v);
                          	  |                                        ^
                          [CleverCrow - Shared Code] Compiling include_hi_snex_61.c
                          [CleverCrow - Shared Code] Compiling include_hi_snex_60.c
                          [CleverCrow - Shared Code] Compiling include_hi_snex.mm
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_snex/../hi_dsp_library/../hi_tools/mcl_editor/code_editor/TextEditor.hpp:343:12: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
                            343 |                                 return std::move(v);
                          	  |                                        ^
                          [CleverCrow - Shared Code] Compiling include_hi_scripting_04.cpp
                          [CleverCrow - Shared Code] Compiling include_hi_scripting_03.cpp
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_scripting/../hi_core/../hi_dsp_library/../hi_tools/mcl_editor/code_editor/TextEditor.hpp:343:12: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
                            343 |                                 return std::move(v);
                          	  |                                        ^
                          [CleverCrow - Shared Code] Compiling include_hi_scripting_02.cpp
                          [CleverCrow - Shared Code] Compiling include_hi_scripting_01.cpp
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_scripting/../hi_core/../hi_dsp_library/../hi_tools/mcl_editor/code_editor/TextEditor.hpp:343:12: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
                            343 |                                 return std::move(v);
                          	  |                                        ^
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_scripting/scripting/api/ScriptingApi.cpp:6824:8: unused variable 'dh' [-Wunused-variable]
                           6824 |         auto& dh = getScriptProcessor()->getMainController_()->getDebugSession();
                          	  |               ^~
                          
                          
                          
                          [CleverCrow - Shared Code] Compiling include_hi_frontend.mm
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_frontend/../hi_core/../hi_dsp_library/../hi_tools/mcl_editor/code_editor/TextEditor.hpp:343:12: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
                            343 |                                 return std::move(v);
                          	  |                                        ^
                          [CleverCrow - Shared Code] Compiling include_hi_dsp_library_02.cpp
                          [CleverCrow - Shared Code] Compiling include_hi_dsp_library_01.cpp
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_dsp_library/../hi_tools/mcl_editor/code_editor/TextEditor.hpp:343:12: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
                            343 |                                 return std::move(v);
                          	  |                                        ^
                          [CleverCrow - Shared Code] Compiling include_hi_core_05.cpp
                          [CleverCrow - Shared Code] Compiling include_hi_core_04.cpp
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_core/../hi_dsp_library/../hi_tools/mcl_editor/code_editor/TextEditor.hpp:343:12: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
                            343 |                                 return std::move(v);
                          	  |                                        ^
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_core/hi_sampler/sampler/ComplexGroupManager.cpp:525:9: unused variable 'input' [-Wunused-variable]
                            525 |                         auto input = jlimit(0.0f, 1.0f, value);
                          	  |                              ^~~~~
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_core/hi_sampler/sampler/ComplexGroupManager.cpp:532:9: unused variable 'input' [-Wunused-variable]
                            532 |                         auto input = jlimit(0.0f, 1.0f, values[0]);
                          	  |                              ^~~~~
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_core/hi_sampler/sampler/ComplexGroupManager.cpp:1264:17: loop variable 'l_' creates a copy from type 'juce::Identifier const' [-Wrange-loop-construct]
                           1264 |         for(const auto l_: layerIds)
                          	  |                        ^
                          [CleverCrow - Shared Code] Compiling include_hi_core_03.cpp
                          [CleverCrow - Shared Code] Compiling include_hi_core_02.cpp
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_core/../hi_dsp_library/../hi_tools/mcl_editor/code_editor/TextEditor.hpp:343:12: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
                            343 |                                 return std::move(v);
                          	  |                                        ^
                          [CleverCrow - Shared Code] Compiling include_hi_core.cpp
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_core/../hi_dsp_library/../hi_tools/mcl_editor/code_editor/TextEditor.hpp:343:12: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
                            343 |                                 return std::move(v);
                          	  |                                        ^
                          [CleverCrow - Shared Code] Compiling PresetData.cpp
                          [CleverCrow - Shared Code] Compiling Plugin.cpp
                          ⚠️  /Users/spears/Documents/Projects/HISE/BuildHise/HISE/hi_core/../hi_dsp_library/../hi_tools/mcl_editor/code_editor/TextEditor.hpp:343:12: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
                            343 |                                 return std::move(v);
                          	  |                                        ^
                          
                          

                          https://vladspears.io

                          StraticahS 1 Reply Last reply Reply Quote 0
                          • StraticahS
                            Straticah @Vitruvius
                            last edited by

                            @Vitruvius But good to know it works on your end. :) will try a couple older commits and see if its solved to confirm the new one is still the issue.

                            building user interfaces in HISE :)
                            web: www.vst-design.com

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

                              @Straticah did you clean your build folder and resave the juicer file?

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

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

                                @Christoph-Hart Couple of new build errors

                                ../../../../../HISE/hi_tools/hi_standalone_components/ChocWebView.cpp:681:16: error: invalid use of incomplete type ‘class choc::ui::WebView’
                                  681 |         webView->navigate("");
                                
                                ../../../../../HISE/hi_tools/../hi_dsp_library/../hi_tools/../JUCE/modules/juce_core/memory/juce_ByteOrder.h:81:21: error: call of overloaded ‘swap(long unsigned int&)’ is ambiguous
                                   81 |         return swap (value);
                                
                                ../../../../../HISE/hi_tools/../hi_dsp_library/../hi_tools/../JUCE/modules/juce_core/memory/juce_ContainerDeletePolicy.h:52:23: error: invalid application of ‘sizeof’ to incomplete type ‘choc::ui::WebView’
                                   52 |         ignoreUnused (sizeof (ObjectType));
                                      |                       ^~~~~~~~~~~~~~~~~~~
                                

                                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 Alright, I've tried one last time to fix this, if it still doesn't compile now on Linux, I'll boot up the VM and have to check for myself.

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

                                    @Christoph-Hart Time to dust off that VM

                                    I thought these may be related to the gtk version I have, I installed the dev files for gtk2 and passed the paths along within Projucer but it didn't seem to affect the errors.

                                    ../../../../../HISE/hi_tools/hi_standalone_components/choc/gui/choc_webview.h: In static member function ‘static long unsigned int choc::ui::createJUCEWebViewHolder(choc::ui::WebView&)::Holder::getWindowID(choc::ui::WebView&)’:
                                    ../../../../../HISE/hi_tools/hi_standalone_components/choc/gui/choc_webview.h:2034:25: error: ‘gtk_plug_new’ was not declared in this scope; did you mean ‘atk_plug_new’?
                                     2034 |             auto plug = gtk_plug_new (0);
                                          |                         ^~~~~~~~~~~~
                                          |                         atk_plug_new
                                    ../../../../../HISE/hi_tools/hi_standalone_components/choc/gui/choc_webview.h:2037:37: error: ‘GTK_PLUG’ was not declared in this scope; did you mean ‘ATK_PLUG’?
                                     2037 |             return gtk_plug_get_id (GTK_PLUG (plug));
                                          |                                     ^~~~~~~~
                                          |                                     ATK_PLUG
                                    ../../../../../HISE/hi_tools/hi_standalone_components/choc/gui/choc_webview.h:2037:20: error: ‘gtk_plug_get_id’ was not declared in this scope; did you mean ‘atk_plug_get_id’?
                                     2037 |             return gtk_plug_get_id (GTK_PLUG (plug));
                                          |                    ^~~~~~~~~~~~~~~
                                          |                    atk_plug_get_id
                                    
                                    ../../../../../HISE/hi_tools/../hi_dsp_library/../hi_tools/../JUCE/modules/juce_core/memory/juce_ByteOrder.h:81:21: error: call of overloaded ‘swap(long unsigned int&)’ is ambiguous
                                       81 |         return swap (value);
                                    

                                    I've been testing with my fork and your changes merged, but just to be sure I tried your develop branch and I get the same errors.

                                    Also you'll need to merge this before the develop branch will compile on Linux - https://github.com/christophhart/HISE/pull/669

                                    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 said in Sorry for the code dump...:

                                      error: ‘gtk_plug_new’ was not declared in this scope; did you mean ‘atk_plug_new’?

                                      alright, just spend an incredibly frustrating hour trying to compile this mess and it cannot find the correct libraries / headers for GTK. There's this hint in the webview code from choc:

                                      - On Linux, you'll need to:
                                             1. Install the libgtk-3-dev and libwebkit2gtk-4.1-dev packages.
                                             2. Link the gtk+3.0 and webkit2gtk-4.1 libraries in your build.
                                                You might want to have a look inside choc/tests/CMakeLists.txt for
                                                an example of how to add those packages to your build without too
                                                much fuss.
                                      

                                      I added those, but it kept throwing the same errors at me.

                                      @d-healey maybe you're better at this, as it doesn't seem to be a C++ issue but more like a Linux library / build configuration problem. Even ChatGPT did send me around in circles (not the best advertisement for Vibe coding lol).

                                      If not, I'm happy to revert the commit and reintroduce our friend SorryDavid...

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

                                        @Christoph-Hart said in Sorry for the code dump...:

                                        but more like a Linux library / build configuration problem.

                                        Yeah that's what I suspected before. I'll play around with it for a bit and see if I can figure it out.

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

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

                                          @Christoph-Hart Na I can't figure it out. I'm including the correct libraries as shown in the choc/test/cmake file. It keeps saying gtk_plug_new’ was not declared which implies that it can't find gtk.h but I've tried including it in a number of places and the error persists.

                                          If you're out of ideas too then just roll back to the previous iteration, I'm not missing the webview anyway. I just want to get my hands on that new broadcaster bypass feature :)

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

                                          oskarshO 1 Reply Last reply Reply Quote 0
                                          • oskarshO
                                            oskarsh @d.healey
                                            last edited by

                                            @d-healey I would love to give this is a shot and get WebViews working on Linux. I have a product which is blocked because of that with some real cool features :))

                                            How would I go about to debug this is the latest develop branch of HISE equipped with all features needed and we just need to link the library?

                                            breathing HISE

                                            d.healeyD 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            44

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts