[bug] Exporting project fails when using Loris
-
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)
-
@d-healey This is fixed now (along with hopefully all Loris related issues).
You need to enable the project setting
IncludeLorisInFrontend
now instead of addingHISE_ENABLE_LORIS_ON_FRONTEND=1
so that the plugin compilation can include the new hi_loris module. -
@Christoph-Hart Thanks, I'll try this now!
-
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.
-
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"