Building Hise As Plugin Error
-
Hello everyone.
I'm trying to build Hise as a plugin as well. but I'm having some errors in the Xcode Buildtime. I'm attaching an Image down below with the error. I don't know how many of us have Hise as a plugin, hope there's someone who can help.
Thanks
-
I think this error has already been mentioned on the forum somewhere, with a solution. Try searching for the error message and see what comes up.
Why are you building it as a plugin?
-
@d-healey Have been looking around before building it, but nothing. will look again and see. Do you have any clue of the year that thread was made?
-
@Sawer This is caused when allocating an array in the audio thread, which is bad.
To avoid this try to usearray.reserve(int numElements)
at init so it pre-allocates the max size you'll need -
@ustk Ok, where is "Init"?
-
-
-
@d-healey said in Building Hise As Plugin Error:
@ustk He's building the plugin version of HISE, so this can't be fixed through his project's script.
Silly me, I thought audio plugin
-
@d-healey I honestly think it's very useful to have it because you can try real live scenarios instances of the plugin without waiting to compile every time. Especially with functions that are based on the host sync. Also it’s a nice way to “mix” sample maps like volume adjustments. Been looking around the forum for a clue but no result. Any idea?
-
@Christoph-Hart any idea of why the error in the build time is occurring? Thanks
-
@Sawer Have you tried just commenting out the line?
-
-
@d-healey Works. Thanks