I HAVE MY VST DONE COMPILED ALL EXPANSIONS MADE HOW DO I ADD INSTALL EXP BUT ON MY INTERFACE
-
@David-Healey Thanks for sharing this one! I've been hoping for an expansion video!
I love that you are showing lambdas as I didn't know this was supported in HISE, but as soon as I introduce it I get an error.
inline function showSampleFolderBrowser(file) { Engine.showYesNoWindow("Select Folder", "Choose", function[file](response)default:! Line 37, column 102: Accessing parameter reference outside the function call {{SW50ZXJmYWNlfG9uSW5pdCgpfDgzMnwzN3wxMDI=}}Is there some type of modification you made to the HISE source code to support this? I get the same error if I load the snippet you shared for this one as well...
Using this version of HISE from last week: https://github.com/christophhart/HISE/commit/535630df2ad8c83c84c47b24b2de906b9ed4c6d1
-
@HISEnberg said in I HAVE MY VST DONE COMPILED ALL EXPANSIONS MADE HOW DO I ADD INSTALL EXP BUT ON MY INTERFACE:
Is there some type of modification you made to the HISE source code to support this?
Not as far as I'm aware. I posted a video a couple of weeks ago all about lambdas, do they examples in that one also have the same issue for you?
-
@David-Healey Ah that video flew under my radar!
Indeed I do have the same issue, same with the examples in the HISE docs. I've mainly gotten around this just sticking to the old school method of
reg variables. I haven't seen many HISE scripts using Lambdas.Something must be off with my HISE setup in XCode so I'll dig around a bit.