Forum
    • Categories
    • Register
    • Login

    [bug] Exporting project fails when using Loris

    Scheduled Pinned Locked Moved Bug Reports
    5 Posts 2 Posters 388 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.
    • David HealeyD
      David Healey
      last edited by

      I have HISE_ENABLE_LORIS_ON_FRONTEND=1 set and I'm getting these errors when trying to export - latest develop branch. Also happens with the Loris Toolkit (which doesn't work in HISE with the latest develop branch btw)

      In file included from /media/dave/Work/Tools/HISE/hi_scripting/hi_scripting_01.cpp:95,
                       from ../../JuceLibraryCode/include_hi_scripting_01.cpp:9:
      /media/dave/Work/Tools/HISE/hi_scripting/scripting/api/ScriptLorisManager.cpp: At global scope:
      /media/dave/Work/Tools/HISE/hi_scripting/scripting/api/ScriptLorisManager.cpp:143:63: error: ‘snex::jit::String’ has not been declared
        143 | juce::var ScriptLorisManager::createEnvelopes(juce::var file, snex::jit::String parameter, int harmonicIndex)
            |                                                               ^~~~
      /media/dave/Work/Tools/HISE/hi_scripting/scripting/api/ScriptLorisManager.cpp:143:11: error: no declaration matches ‘juce::var hise::ScriptLorisManager::createEnvelopes(juce::var, int, int)’
        143 | juce::var ScriptLorisManager::createEnvelopes(juce::var file, snex::jit::String parameter, int harmonicIndex)
            |           ^~~~~~~~~~~~~~~~~~
      In file included from /media/dave/Work/Tools/HISE/hi_scripting/hi_scripting_01.cpp:64,
                       from ../../JuceLibraryCode/include_hi_scripting_01.cpp:9:
      /media/dave/Work/Tools/HISE/hi_scripting/scripting/api/ScriptLorisManager.h:76:9: note: candidate is: ‘juce::var hise::ScriptLorisManager::createEnvelopes(juce::var, juce::String, int)’
         76 |     var createEnvelopes(var file, String parameter, int harmonicIndex);
            |         ^~~~~~~~~~~~~~~
      /media/dave/Work/Tools/HISE/hi_scripting/scripting/api/ScriptLorisManager.h:38:7: note: ‘class hise::ScriptLorisManager’ defined here
         38 | class ScriptLorisManager: public ConstScriptingObject,
            |       ^~~~~~~~~~~~~~~~~~
      In file included from /media/dave/Work/Tools/HISE/hi_scripting/hi_scripting_01.cpp:95,
                       from ../../JuceLibraryCode/include_hi_scripting_01.cpp:9:
      /media/dave/Work/Tools/HISE/hi_scripting/scripting/api/ScriptLorisManager.cpp:156:67: error: ‘snex::jit::String’ has not been declared
        156 | juce::var ScriptLorisManager::createEnvelopePaths(juce::var file, snex::jit::String parameter, int harmonicIndex)
            |                                                                   ^~~~
      /media/dave/Work/Tools/HISE/hi_scripting/scripting/api/ScriptLorisManager.cpp:156:11: error: no declaration matches ‘juce::var hise::ScriptLorisManager::createEnvelopePaths(juce::var, int, int)’
        156 | juce::var ScriptLorisManager::createEnvelopePaths(juce::var file, snex::jit::String parameter, int harmonicIndex)
      

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

      Christoph HartC 1 Reply Last reply Reply Quote 1
      • Christoph HartC
        Christoph Hart @David Healey
        last edited by

        @d-healey This is fixed now (along with hopefully all Loris related issues).

        You need to enable the project setting IncludeLorisInFrontend now instead of adding HISE_ENABLE_LORIS_ON_FRONTEND=1 so that the plugin compilation can include the new hi_loris module.

        David HealeyD 1 Reply Last reply Reply Quote 0
        • David HealeyD
          David Healey @Christoph Hart
          last edited by

          @Christoph-Hart Thanks, I'll try this now!

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

          1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey
            last edited by David Healey

            HISE compiles, Loris API works,

            I'm testing in the Loris toolbox and maybe it's just me but it seems the analysis stage takes a lot longer than it used to.

            Also the harmonic scaler isn't having any effect, I don't think the dilate is working either, but I could just be misunderstanding it.

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            1 Reply Last reply Reply Quote 0
            • David HealeyD
              David Healey
              last edited by

              Attempting to export the toolbox project I get this error:

              ../../Source/Plugin.cpp:2:10: fatal error: JuceHeader.h: No such file or directory
                  2 | #include "JuceHeader.h"
              

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

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

              23

              Online

              2.1k

              Users

              13.0k

              Topics

              112.6k

              Posts