mtytel / vital

Spectral warping wavetable synth
GNU General Public License v3.0
1.58k stars 151 forks source link

juce_VST_Wrapper.cpp: 'pluginterfaces/vst2.x/aeffect.h' file not found #24

Closed vegapit closed 3 years ago

vegapit commented 3 years ago

Hi,

I have been trying to build the XCode project found in the plugin/builds/osx folder but it fails with the error above.

The vst2.x folder mentioned is in the Steinberg VST SDK which I have pasted into the third_party/VST_SDK/VST3_SDK/pluginterfaces folder of the project but, it is still not compiling.

Any clues you could share on how to get this done?

vegapit commented 3 years ago

Also, there is a similar message on compiling in OSX for VST3 only. I however managed to compile a VST3 by setting JUCE_VST3_CAN_REPLACE_VST2=0 as preprocessor definition. However, I have not been able to successfully run any of the compiled target (Standalone, AU, or VST3) in OSX.

vegapit commented 3 years ago

The fix is to find an old version of the Steinberg SDK namely a zip archive called vstsdk3610_11_06_2018_build_37. The VST2_SDK folder it contains needs to be added to the "Header Search Paths" of the JUCE project. The build with JUCE 6 is successful afterwards, however the generated App crashes and the plugins cant be loaded...