# Xcode compile failed to the JUCE Demo plugin

**URL:** <https://forum.juce.com/t/xcode-compile-failed-to-the-juce-demo-plugin/21405>\
**Category:** Audio Plugins\
**Created:** [March 19, 2017, 12:04pm UTC](https://forum.juce.com/t/xcode-compile-failed-to-the-juce-demo-plugin/21405 "2017-03-19T12:04:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephanie2005](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@stephanie2005](https://forum.juce.com/u/stephanie2005)\
**Post date:** [March 19, 2017, 12:04pm UTC](https://forum.juce.com/t/xcode-compile-failed-to-the-juce-demo-plugin/21405/1 "2017-03-19T12:04:49Z")

</div>

Hello everyone,  
I am new in here.  
I am trying to compile the example plugin but the compile failed.  
The failed message is \<base/source/baseiids.cpp\> file not found.  
I already put the VST3\_SDK file and vstsdk2.4 file in my SDKs file and set the path and also move the CoreAudio folder to: /Library/Developer/CoreAudio.  
But the compile is still failed.  
I follow the step in this website:[http://www.insaneinthemainframe.at/2014/09/22/compile-the-juce-audio-plugin-demo-on-mac-osx-xcode-6-0-1/](http://www.insaneinthemainframe.at/2014/09/22/compile-the-juce-audio-plugin-demo-on-mac-osx-xcode-6-0-1/)  
My Xcode version : Xcode 7.3.1  
My OS :Sierra 10.12.1  
Hope someone can help me.  
Thank you

---

<div class="post-metadata">

**Author:** ![jimc](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jimc/32/16067_2.png) [@jimc](https://forum.juce.com/u/jimc)\
**Post date:** [March 19, 2017, 4:01pm UTC](https://forum.juce.com/t/xcode-compile-failed-to-the-juce-demo-plugin/21405/2 "2017-03-19T16:01:11Z")

</div>

What file isn’t found? Maybe a screenshot of where you are seeing this message might help?

---

<div class="post-metadata">

**Author:** ![stephanie2005](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@stephanie2005](https://forum.juce.com/u/stephanie2005)\
**Post date:** [March 19, 2017, 4:16pm UTC](https://forum.juce.com/t/xcode-compile-failed-to-the-juce-demo-plugin/21405/3 "2017-03-19T16:16:03Z")

</div>

Here is the fail message ,thank you for your help

 ![](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/0/026ec511c9d4e9c688d8cd79191fa129fb6e2a86.jpg) ![](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/1/16dee605bff85ffb09a396603d433978bac09327.jpg)

---

<div class="post-metadata">

**Author:** ![jimc](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jimc/32/16067_2.png) [@jimc](https://forum.juce.com/u/jimc)\
**Post date:** [March 19, 2017, 4:25pm UTC](https://forum.juce.com/t/xcode-compile-failed-to-the-juce-demo-plugin/21405/4 "2017-03-19T16:25:44Z")

</div>

Well that’s definitely supposed to be part of the VST3 SDK

![](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/6/6908f21caa0af06381ba622c13acb75b127acb48.png)

I’d double check the path in the projucer…

---

<div class="post-metadata">

**Author:** ![stephanie2005](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@stephanie2005](https://forum.juce.com/u/stephanie2005)\
**Post date:** [March 20, 2017, 1:08am UTC](https://forum.juce.com/t/xcode-compile-failed-to-the-juce-demo-plugin/21405/5 "2017-03-20T01:08:44Z")

</div>

Sorry so how can I fix this problem?  
Thank you for your help.

---

<div class="post-metadata">

**Author:** ![jimc](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jimc/32/16067_2.png) [@jimc](https://forum.juce.com/u/jimc)\
**Post date:** [March 20, 2017, 8:17am UTC](https://forum.juce.com/t/xcode-compile-failed-to-the-juce-demo-plugin/21405/6 "2017-03-20T08:17:44Z")

</div>

The paths you specify in the Projucer should become header paths in Xcode:

Check:

- The VST3 SDK is properly installed and complete
- The path in Projucer is correct
- The header search path in Xcode (which should be set by Projucer) points to the VST3 SDK path. If it doesn’t go back and check Projucer again and make sure you save the project etc.

Here’s where the paths are in Xcode (I’m only using the 2.4 SDK for this project mind you…)

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

---

<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:** [March 20, 2017, 8:34am UTC](https://forum.juce.com/t/xcode-compile-failed-to-the-juce-demo-plugin/21405/7 "2017-03-20T08:34:04Z")

</div>

Also mind this thread:

> [@VST SDK v3.6.7 and compiler error when building JUCE plugin](https://forum.juce.com/t/vst-sdk-v3-6-7-and-compiler-error-when-building-juce-plugin/21282/2):
>
> Thank you for reporting. The new VST3 SDK is almost completely different, and supporting it in JUCE (and getting it properly tested) is too big a job to do before the release of JUCE 5. One highlight of the new release: “this maintenance release is mainly a preview version for Linux support” but I’ve not found any more information about what “preview” means in this context…

So check also the version of your VST-SDK to match the version of JUCE ☹

Good luck

---

<div class="post-metadata">

**Author:** ![stephanie2005](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@stephanie2005](https://forum.juce.com/u/stephanie2005)\
**Post date:** [March 20, 2017, 11:16am UTC](https://forum.juce.com/t/xcode-compile-failed-to-the-juce-demo-plugin/21405/8 "2017-03-20T11:16:04Z")

</div>

Sorry I still do not know what happen.  
These are my path and file ,are there anythings are wrong?  
Thank you for your help.

 ![](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/a/a184bc48cacc3fa6de0a2c1c6b2a1fe9868a6c5e.jpg) ![](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/7/79eb337459bb5c0e56ba1d2be3fa362e53253865.jpg)
