Yup I now see it in examples... but it won't compile because it cannot find the VST SDK files.
For example: Juce Modules > juce_audio_processors > format_types > juce_VSTPluginFormat.cpp fails on
#include "pluginterfaces/vst2.x/aeffectx.h"
because the path doesn't exist within the example. Instead it sits within the VST SDK and it doesn't know where to find it.
I tried manually putting in the correct path, which silenced this error but the next error comes up that Juce Modules > juce_audio_processors > format_types > juceVST3Headers.h fails on
#include <base/source/baseiids.cpp>
Again this is a path within the VST SDK.
NB: I have set up the global settings in Projucer to point to the VST libraries. I thought that would mean that projects would automatically find the right paths.
Actually I think there's a bug in how the search paths get transferred to the XCode project. After a couple of hours searching, StackOverflow etc. I think I've found the problem.
Within Introjucer/Projucer global settings I have the VST paths set to
~/CodeLibraries/VST3 SDK
These appear black, which seems to confirm that it could find them and verify them.
When I click to open the project in the IDE (XCode) and I go to Build Settings > Search Paths > Header Search Paths they appear (in the first listed path) as
"~/SDKs/VST3 SDK"
and the User Header Search Paths are blank.
I've just manually changed the Header Search Paths so that that first item is my path
"~/CodeLibraries/VST3 SDK"
(with the quotes because of the space in the path) and finally I've got the project to compile.
It must have sneeked in whilst It ried to resolve the issue. But in a dumb moment, I noticed I had not updated the SDK location within the Live build mode. I'll take the groans and boos now. However adding this did require me to change the angled brackets<> to quotations "" around the includes in the VST header juce_VST3headers.h, and this causes the JIT process to crash
"Program used external function 'OBJC_CLASS_$_AUGenericView' could not be resolved"
hi, paul im running into the same problem and tried your method without luck … would you be able to post a screen shot ? and or hint me in the right direction … thanks in advance !
what ive done so far …
im on a mac, the JUCE folder with the Projucer application is in my Applications Folder
Ive copied the VST SDK into the JUCE FOLDER … the hierarchy being JUCE/SDKs/VST3 SDK/ … and so on …
i save and try to open the project in x code via the projucer
in x code the aeffectx.h is missing
the path in search paths the VST3 SDK is not showing
attempts to paste in the path in the User Header Search Path wont change the missing header file alert !
I cloned JUCE, switched to develop branch, build Projucer, ran it, set vst3 SDK path in its global setting, opened example project “audio host example”, opened in IDE (tried with both Xcode and vsstudio 2015), tried to build the project:
Files not found
checking header/include paths, and these are set to default “~/SDKs/VST3 SDK” (Xcode), “C:\SDKs\VST3 SDK” (vsstudio 2015), no matter what I set in projucers global settings…