# No flock.cpp in VST SDK?

**URL:** <https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069>\
**Category:** Audio Plugins\
**Created:** [November 9, 2017, 3:04pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069 "2017-11-09T15:04:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ImJimmi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/imjimmi/32/10843_2.png) [@ImJimmi](https://forum.juce.com/u/ImJimmi)\
**Post date:** [November 9, 2017, 3:04pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/1 "2017-11-09T15:04:55Z")

</div>

This issue seems to pop up a lot but I’m trying to build the audio plugin host example project and getting the error that the file “base/source/flock.cpp” is cannot be found. All of the other files in the base/source/ directory are fine (because they actually exist) but there’s no flock.cpp in this folder…

If anyone can suggest a solution for me I’d be massively grateful!

**edit:**

> [@No flock.cpp in VST SDK?](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/11):
>
> 3.6.7: [http://www.steinberg.net/sdk\_downloads/vstsdk367\_03\_03\_2017\_build\_352.zip](http://www.steinberg.net/sdk_downloads/vstsdk367_03_03_2017_build_352.zip) 3.6.6: [http://www.steinberg.net/sdk\_downloads/vstsdk366\_27\_06\_2016\_build\_61.zip](http://www.steinberg.net/sdk_downloads/vstsdk366_27_06_2016_build_61.zip) 3.6.5: [http://www.steinberg.net/sdk\_downloads/vstsdk365\_12\_11\_2015\_build\_67.zip](http://www.steinberg.net/sdk_downloads/vstsdk365_12_11_2015_build_67.zip)

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [November 9, 2017, 3:12pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/2 "2017-11-09T15:12:00Z")

</div>

Just get the latest version of the VST SDK.

---

<div class="post-metadata">

**Author:** ![ImJimmi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/imjimmi/32/10843_2.png) [@ImJimmi](https://forum.juce.com/u/ImJimmi)\
**Post date:** [November 9, 2017, 3:52pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/3 "2017-11-09T15:52:31Z")

</div>

Hi Jules,  
the most recent VST SDK (3.6.8) doesn’t have the file flock in base/source/… There is however an flock in base/thread/ (split between include and source). I tried copying the .cpp and .h files to the base/source/ folder but now I’m just getting errors saying it can’t find “kBFormat”, “kString90S”, etc. so this is obviously not the same file.

---

<div class="post-metadata">

**Author:** ![xenakios](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/xenakios/32/4047_2.png) [@xenakios](https://forum.juce.com/u/xenakios)\
**Post date:** [November 9, 2017, 3:58pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/4 "2017-11-09T15:58:39Z")

</div>

If there’s a separate .cpp file then that has to also be compiled and linked in.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [November 9, 2017, 4:06pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/5 "2017-11-09T16:06:39Z")

</div>

> [@Xenakios](#):
>
> If there’s a separate .cpp file then that has to also be compiled and linked in.

juce takes care of that as long as you have the SDK.

Ah - it looks like they just released 3.6.8, and have moved a bunch of stuff around… sigh… You might need to stick to 3.6.7 until we can update to use the new one.

---

<div class="post-metadata">

**Author:** ![ImJimmi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/imjimmi/32/10843_2.png) [@ImJimmi](https://forum.juce.com/u/ImJimmi)\
**Post date:** [November 9, 2017, 4:30pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/6 "2017-11-09T16:30:45Z")

</div>

Yeah it looks like 3.6.8 was only just released yesterday! I’ll have to get the older version off another machine then!

Thanks Jules!

---

<div class="post-metadata">

**Author:** ![john\_henry](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/john_henry/32/560_2.png) [@john\_henry](https://forum.juce.com/u/john_henry)\
**Post date:** [November 9, 2017, 5:51pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/7 "2017-11-09T17:51:40Z")

</div>

As of now their github repo still points to 3.6.7

> **[steinbergmedia/vst3sdk](https://github.com/steinbergmedia/vst3sdk)**
>
> VST 3 Plug-In SDK. Contribute to steinbergmedia/vst3sdk development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)\
**Post date:** [November 9, 2017, 6:47pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/8 "2017-11-09T18:47:20Z")

</div>

Yep, I mentioned that on their forums. The repo is pretty useless if they don’t update it.

---

<div class="post-metadata">

**Author:** ![mcmartin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mcmartin/32/7432_2.png) [@mcmartin](https://forum.juce.com/u/mcmartin)\
**Post date:** [November 9, 2017, 7:48pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/9 "2017-11-09T19:48:19Z")

</div>

The `FLock` class was in `base/source/fthread.{h,cpp}` in 3.6.5 and 3.6.6, then it was moved to its separate files `base/source/flock.{h,cpp}` in 3.6.7, and now it looks like it’s moving back to where it was.

\< speculation \>  
I guess somebody didn’t want to update their code and complained load enough for Steinberg to revert the move. Unfortunately, JUCE is a well-behaved citizen and adapting back-and-forth will cause a lot of confusion… 😞  
\< / speculation \>

---

<div class="post-metadata">

**Author:** ![timoheil](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/timoheil/32/3247_2.png) [@timoheil](https://forum.juce.com/u/timoheil)\
**Post date:** [November 10, 2017, 11:22am UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/10 "2017-11-10T11:22:20Z")

</div>

Is the 3.6.7 SDK still available for download somewhere? They do not seem to list any legacy versions…

---

<div class="post-metadata">

**Author:** ![mcmartin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mcmartin/32/7432_2.png) [@mcmartin](https://forum.juce.com/u/mcmartin)\
**Post date:** [November 10, 2017, 11:25am UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/11 "2017-11-10T11:25:41Z")

</div>

3.6.7: [http://www.steinberg.net/sdk\_downloads/vstsdk367\_03\_03\_2017\_build\_352.zip](http://www.steinberg.net/sdk_downloads/vstsdk367_03_03_2017_build_352.zip)  
3.6.6: [http://www.steinberg.net/sdk\_downloads/vstsdk366\_27\_06\_2016\_build\_61.zip](http://www.steinberg.net/sdk_downloads/vstsdk366_27_06_2016_build_61.zip)  
3.6.5: [http://www.steinberg.net/sdk\_downloads/vstsdk365\_12\_11\_2015\_build\_67.zip](http://www.steinberg.net/sdk_downloads/vstsdk365_12_11_2015_build_67.zip)

---

<div class="post-metadata">

**Author:** ![timoheil](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/timoheil/32/3247_2.png) [@timoheil](https://forum.juce.com/u/timoheil)\
**Post date:** [November 10, 2017, 12:06pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/12 "2017-11-10T12:06:56Z")

</div>

thanks!

---

<div class="post-metadata">

**Author:** ![fbecker](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fbecker/32/972_2.png) [@fbecker](https://forum.juce.com/u/fbecker)\
**Post date:** [November 11, 2017, 8:32pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/13 "2017-11-11T20:32:22Z")

</div>

For the most current VST3 SDK (3.6.8), here is the patch to apply to JUCE (CC to @jules and other JUCE devs): [https://github.com/WeAreROLI/JUCE/pull/303](https://github.com/WeAreROLI/JUCE/pull/303)

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [November 12, 2017, 9:52am UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/14 "2017-11-12T09:52:05Z")

</div>

Thanks, we’ll get it updated asap!

---

<div class="post-metadata">

**Author:** ![john\_henry](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/john_henry/32/560_2.png) [@john\_henry](https://forum.juce.com/u/john_henry)\
**Post date:** [November 12, 2017, 9:59am UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/15 "2017-11-12T09:59:39Z")

</div>

VST3.6.8 now also supports high-order Ambisonics. Might make sense to integrate that in one go…

> [@Feature Request: High Order Ambisonics Support](https://forum.juce.com/t/feature-request-pro-tools-ambisonics-support/24952/7):
>
> Actually VST 3.6.8. now implemented the same features: [https://sdk.steinberg.net/viewtopic.php?t=360&p=1215#p1215](https://sdk.steinberg.net/viewtopic.php?t=360&p=1215#p1215) kAmbi1stOrderACN, kAmbi2cdOrderACN, kAmbi3rdOrderACN kSpeakerACN0...kSpeakerACN15 This should confirm to skip the W, X, Y, Z channels and replace with ambisonics0 to ambisonics15 or ambisonicsACN0... ambisonicsACN15

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [November 21, 2017, 12:56pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/16 "2017-11-21T12:56:53Z")

</div>

OK. Support for VST SDK 3.6.8 is now on develop with commit [7a22f13](https://github.com/WeAreROLI/JUCE/commit/7a22f133c4f269e926deff3285ce28a40a1fd87f).

I’ll look at ambisonics support now.

---

<div class="post-metadata">

**Author:** ![ollierikkeskinen](https://avatars.discourse-cdn.com/v4/letter/o/919ad9/32.png) [@ollierikkeskinen](https://forum.juce.com/u/ollierikkeskinen)\
**Post date:** [November 22, 2017, 12:35pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/17 "2017-11-22T12:35:20Z")

</div>

Hi Fabian,

We’ve been scratching our heads over a related issue for a week now.

Seems like VST3 breaks between 5.1.1 and 5.1.2, so when using 5.1.2 or later it doesn’t link anymore. Screenshot attached for the errors. I tried with the dev tip and 3.6.8 SDK, but the issue seems to be the same. With 3.6.7 and 5.1.2 the build and link go through as expected.

 ![47](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/7/7f2a4f6eae45b7d175e5ef03bc0a02e0d3505407.png)

I’m using OSX 10.10 and XCode 6, but this also happens on macOS 10.12, latest XCode. We’re using 10.10 SDK for backwards compatibility. Projucer version is 5.2.0.

Please let me know if you need any extra details or have any suggestions!

Thanks,  
Olli

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [November 22, 2017, 1:14pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/18 "2017-11-22T13:14:21Z")

</div>

It might not solve the problem on 10.10, but if you want backwards compatibility in 10.12, you don’t have to set the base SDK but rather the Deployment target. You only need to play with the base SDK for rare cases like building RTAS or other 32 bit stuff etc…

---

<div class="post-metadata">

**Author:** ![jrrossi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrrossi/32/140_2.png) [@jrrossi](https://forum.juce.com/u/jrrossi)\
**Post date:** [November 22, 2017, 2:02pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/19 "2017-11-22T14:02:45Z")

</div>

Pointing the vst3 repo the the 3.6.7 commit pretty much solves my problems… But haven’t played with abisonics though…

---

<div class="post-metadata">

**Author:** ![ollierikkeskinen](https://avatars.discourse-cdn.com/v4/letter/o/919ad9/32.png) [@ollierikkeskinen](https://forum.juce.com/u/ollierikkeskinen)\
**Post date:** [November 22, 2017, 2:55pm UTC](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069/20 "2017-11-22T14:55:17Z")

</div>

I’ve been sticking with 10.10, since everything has been possible with it, at least for now. 🙂 I’m not sure how the situation is now, but back when I did my build scripts it was easiest to configure 10.10 SDK to compile with compatibility back to 10.7. I should probably give 10.12 a go now since time has passed.

[Next page](https://forum.juce.com/t/no-flock-cpp-in-vst-sdk/25069.md?page=2)
