PLEASE Help! Can't build audio host example missing fthread.cpp fatomic.cpp frect.cpp


#1

Hi, guys

I’m following the tutorial.

First, the SDK libraries must end with a ‘’ to work in VS2015.
I changed it to “c:\SDKs\VST3_SDK” to get rid of:

cannot find “base/source/baseiids.cpp”.

Now I’m stuck with the same “cannot find” messages in “juce_VST3Headers.h” for:
base/source/fatomic.cpp
base/source/frect.cpp
base/source/fthread.cpp

I’ve done a search and can’t find any of these files in JUCE or VST3_SDK

Thinking it might be linux/mac only, I tried commenting these headers out, and get:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol “public: __thiscall Steinberg::FLock::FLock(char const *)” (??0FLockxSteinbergxxQAExPBD@Z) referenced in function “public: __thiscall Steinberg::UpdateHandler::UpdateHandler(void)” (??0UpdateHandlerxSteinbergxxQAExXZ) Plugin Host C:\Users\Fred\Documents\JUCE\examples\audio plugin host\Builds\VisualStudio2015\juce_audio_processors.obj 1
Error LNK2019 unresolved external symbol “public: virtual __thiscall Steinberg::FLock::~FLock(void)” (??1FLockxxSteinbergxxAExXZ) referenced in function __unwindfunclet$??0UpdateHandlerxSteinbergxxAExXZ$1 Plugin Host C:\Users\Fred\Documents\JUCE\examples\audio plugin host\Builds\VisualStudio2015\juce_audio_processors.obj 1
Error LNK1120 2 unresolved externals Plugin Host C:\Users\Fred\Documents\JUCE\examples\audio plugin host\Builds\VisualStudio2015\Debug\Plugin Host.exe 1

This must be something simple if its in the tutorial! Any suggestions?


#2

The latest VST 3.6.7 SDK is not compatible with JUCE…I hope you can get hold of the SDK version 3.6.6 from somewhere.


#3

The 3.6.6 version is still available (for now) from Steinberg for those who have the link:

http://www.steinberg.net/sdk_downloads/vstsdk366_27_06_2016_build_61.zip


#4

Thanks, guys!

A google search located version 3.6.5, and that cleared up the problem.
So far… I’m impressed!

(It would be a good idea to change the tutorial to show a trailing “” on the “C:\SDKs\VST3_SDK” in the example, though. Many coders aren’t familiar with where to find the ‘include files’ info on various IDEs, which is how it has to be debugged.)

Thanks for the quick response!

-Fred


#5

If you now pull from the latest develop/master or re-download JUCE from our website then it will be compatible with the newest VST3 SDK. Please choose the VST3_SDK folder which is inside the VST_SDK folder provided by Steinberg (you don’t need the VST2_SDK folder).