Semantic issue error during HISE compile- Mac
-
Hey @Christoph-Hart ,
I've been trying to compile the very latest Developer branch of HISE, but I am getting stuck with a single error.The error is in the file SampleMapEditor.cpp on line 713
auto vt = *const_cast<ValueTree*>(&sampler->getSampleMap()->getValueTree());
The error message is the following:
Taking the address of a temporary object of type 'const juce::ValueTree'
Any ideas?
-
https://forum.hise.audio/topic/4538/compiling-error
https://forum.hise.audio/topic/4425/develop-branch-build-status/38Christoph has already fixed this but hasn't pushed it to github yet, so wait a few days if you want the latest version.
-
@d-healey Thanks, Dave. I didn't see the issue when searching for it on the forum.
-
Just use the commit before the last one it should compile.
-
@Christoph-Hart Thanks. I managed to do that.
-
@gorangrooves The fix has been pushed now, you should be able to use the latest commit again
-
@d-healey Thanks, Dave!