I’m working on OS X 10.11.6 with Xcode 8.2.1, trying to adapt a plugin working in JUCE 5.3.2 to JUCE 5.4.0 or 5.4.1.
It seems that I can’t switch from the deprecated createAndAddParameter method to the new one.
This a screen dump of a compilation of the standard audio plugin template, to which I just added an “AudioProcessorValueTreeState parameters;” in the class declaration, and the following code in the constructor:
While the deprecated method compiles with a simple warning (see ), I get a “No matching function for call to ‘make_unique’” error ( and ).
Is this due to the version of Xcode I am using, or to something else ? What is strange is that a similar expression (line 261 of juce_AudioProcessorValueTreeState.cpp) compiles correctly. I have tried different variations, but all fail for a reason or an other. Is there something that I am missing ? Thanks for any help…