I've been trying to use the juce_add_audio_plugin function to build my plugin but it seems that defines such as JucePlugin_Build_* and JucePlugin_IsSynth, JucePlugin_Name etc are not properly written into AppConfig.h (or even if this is not the case, I keep getting the compilation errors due to not defined values).
Here's an example of the error I get:
In file included from ../third_party/JUCE/modules/juce_audio_plugin_client/RTAS/juce_RTAS_MacUtilities.mm:28:
../third_party/JUCE/modules/juce_audio_plugin_client/RTAS/../utility/juce_CheckSettingMacros.h:35:3: error: "You need to enable at least one plugin format!"
#error "You need to enable at least one plugin format!"
^
../third_party/JUCE/modules/juce_audio_plugin_client/RTAS/../utility/juce_CheckSettingMacros.h:44:3: error: "You need to define the JucePlugin_IsSynth value!"
#error "You need to define the JucePlugin_IsSynth value!"
^
../third_party/JUCE/modules/juce_audio_plugin_client/RTAS/../utility/juce_CheckSettingMacros.h:48:3: error: "You need to define the JucePlugin_ManufacturerCode value!"
#error "You need to define the JucePlugin_ManufacturerCode value!"
^
../third_party/JUCE/modules/juce_audio_plugin_client/RTAS/../utility/juce_CheckSettingMacros.h:52:3: error: "You need to define the JucePlugin_PluginCode value!"
#error "You need to define the JucePlugin_PluginCode value!"
^
../third_party/JUCE/modules/juce_audio_plugin_client/RTAS/../utility/juce_CheckSettingMacros.h:56:3: error: "You need to define the JucePlugin_ProducesMidiOutput value!"
#error "You need to define the JucePlugin_ProducesMidiOutput value!"
^
../third_party/JUCE/modules/juce_audio_plugin_client/RTAS/../utility/juce_CheckSettingMacros.h:60:3: error: "You need to define the JucePlugin_WantsMidiInput value!"
#error "You need to define the JucePlugin_WantsMidiInput value!"
^
../third_party/JUCE/modules/juce_audio_plugin_client/RTAS/../utility/juce_CheckSettingMacros.h:68:3: error: "You need to define the JucePlugin_EditorRequiresKeyboardFocus value!"
#error "You need to define the JucePlugin_EditorRequiresKeyboardFocus value!"
I've been trying to use the
juce_add_audio_plugin
function to build my plugin but it seems that defines such asJucePlugin_Build_*
andJucePlugin_IsSynth
,JucePlugin_Name
etc are not properly written intoAppConfig.h
(or even if this is not the case, I keep getting the compilation errors due to not defined values).Here's an example of the error I get:
and this is my cmake configuration:
I would appreciate any hints or help! Thanks!