HISE Logo Forum
    • Categories
    • Register
    • Login

    [bug] Exporting project fails when using Loris

    Scheduled Pinned Locked Moved Bug Reports
    5 Posts 2 Posters 268 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 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)
      

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

      Christoph HartC 1 Reply Last reply Reply Quote 1
      • Christoph HartC
        Christoph Hart @d.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.

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

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

          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
            last edited by d.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.

            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
              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"
              

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

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

              38

              Online

              1.8k

              Users

              12.0k

              Topics

              104.5k

              Posts