I'm trying to make a VST plugin that can load and connect VST's in a graph. I'm having a bit of trouble loading in the plugins from the default VST directory and was hoping someone can help.
Eventually, I'll implement a saved plugin list (like in the JUCE host), but for now, I'm just trying to get the basic functionality working. I want to scan the default VST directory when the plugin is created and populate a knownPluginList owned by my PluginProcessor class.
I'm trying to specify which format a pluginDirectoryScanner is supposed to scan for (I want it to scan the default VST directory). For some reason, when I try and specify that the format I'd like to search for is a VSTPluginFormat, I get this error: Unknown Type Name 'VSTPluginFormat'; did you mean 'AudioPluginFormat'?
I'm relatively new to JUCE and have no idea why I'm getting this error. I have a feeling its something small and probably obvious, but I can't figure out what it is.
AudioPluginFormat* const format = new VSTPluginFormat();
FileSearchPath path = format->getDefaultLocationsToSearch();
scanner = new PluginDirectoryScanner (knownPluginList, format, path,
Thanks in advance for any help!