# Example Builds not working - MAC

**URL:** <https://forum.juce.com/t/example-builds-not-working-mac/19288>\
**Category:** Getting Started\
**Created:** [September 28, 2016, 8:01pm UTC](https://forum.juce.com/t/example-builds-not-working-mac/19288 "2016-09-28T20:01:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![domc](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@domc](https://forum.juce.com/u/domc)\
**Post date:** [September 28, 2016, 8:01pm UTC](https://forum.juce.com/t/example-builds-not-working-mac/19288/1 "2016-09-28T20:01:03Z")

</div>

Noob question.  
I installed Juce today. I followed the instructions and put JUCE folder in my user home folder. I can set up a new project fine. I can open all the example files (e.g. Demo) in JUCE/Examples/ and build & run these fine.

However if I download one of the example zip files from the tutorials on the website (e.g. : tutorial\_simple\_synth\_noise.zip) and move that unzipped folder alongside the example folders (or other places I’ve tried) then when I open that file, I’m getting build errors.  
Firstly the core modules can’t be found, so on the Config tab I right click on the modules and set the location to …/JUCE/Modules - but then I get lots of errors on the build tab such as …/juce\_audio\_basics.h file not found.

What am I doing wrong please. Many thanks,

---

<div class="post-metadata">

**Author:** ![martinrobinson-2](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/martinrobinson-2/32/630_2.png) [@martinrobinson-2](https://forum.juce.com/u/martinrobinson-2)\
**Post date:** [September 29, 2016, 8:38am UTC](https://forum.juce.com/t/example-builds-not-working-mac/19288/2 "2016-09-29T08:38:41Z")

</div>

Hi Domc,

It’s easier to place a directory containing the unzipped tutorial projects in a location where they will find JUCE without your having to change things in the Projcuer projects.

- First, you might need to rename your `JUCE` directory to `juce` on a case-sensitive OS.
- Then create a `juce-tutorials` directory\* in the same directory that contains your `juce` directory.
- Unzip the tutorial projects (within their own sub-directories) into the `juce-tutorials` directory.

(Or whatever you want to call it - the name of this is not important.)

Like this:

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

Best,  
Martin

---

<div class="post-metadata">

**Author:** ![domc](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@domc](https://forum.juce.com/u/domc)\
**Post date:** [September 29, 2016, 12:47pm UTC](https://forum.juce.com/t/example-builds-not-working-mac/19288/3 "2016-09-29T12:47:13Z")

</div>

Thanks for helping Martin - but I’ve tried and still getting the same type of errors.

I changed the JUCE directory to juce. I set up a juice-tutorials parallel. And then I doubled clicked on the jucer file (or opened from the file menu) both times I get the errors hopefully shown below.

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

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

Thanks for any help

---

<div class="post-metadata">

**Author:** ![martinrobinson-2](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/martinrobinson-2/32/630_2.png) [@martinrobinson-2](https://forum.juce.com/u/martinrobinson-2)\
**Post date:** [September 29, 2016, 1:54pm UTC](https://forum.juce.com/t/example-builds-not-working-mac/19288/4 "2016-09-29T13:54:30Z")

</div>

Just be sure, is the modules directory in `juce`? You don’t, for example, have something like `juce/juce/modules`

And was that a fresh copy of the tutorial zip? Or the one you modified before?

That set-up really should work without any changes.

---

<div class="post-metadata">

**Author:** ![domc](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@domc](https://forum.juce.com/u/domc)\
**Post date:** [September 29, 2016, 2:44pm UTC](https://forum.juce.com/t/example-builds-not-working-mac/19288/5 "2016-09-29T14:44:02Z")

</div>

Hi Martin,

The modules directory is in just a straight juce directory as you can see below.

I deleted the previous tutorial - downloaded a new one - and unzipped in the juce-tutorials folder.

When I open it, the modules at least seem to be found - i.e. previously I’d get an error looking at  
this page saying that juice\_audio\_basics couldn’t be found.

However when I go onto build and press the compile button I get

I haven’t altered any of the files - just double clicked on the jucer one to open, and then pressed the compile button.

Thanks for your help

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

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

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

---

<div class="post-metadata">

**Author:** ![martinrobinson-2](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/martinrobinson-2/32/630_2.png) [@martinrobinson-2](https://forum.juce.com/u/martinrobinson-2)\
**Post date:** [September 30, 2016, 4:38am UTC](https://forum.juce.com/t/example-builds-not-working-mac/19288/6 "2016-09-30T04:38:29Z")

</div>

That’s a bit baffling. Can you do **Save Project and Open in IDE…** in the **Config** tab to open the project in Xcode? That should give more detailed errors on what’s going wrong.

---

<div class="post-metadata">

**Author:** ![domc](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@domc](https://forum.juce.com/u/domc)\
**Post date:** [September 30, 2016, 8:17am UTC](https://forum.juce.com/t/example-builds-not-working-mac/19288/7 "2016-09-30T08:17:16Z")

</div>

Baffling indeed! And it gets stranger - when I run in the IDE it works fine (or I get a window come up producing white noise and nothing else which I presume is fine).  
I do get a warning error below - which looks pretty technical.  
So if I build in the IDE i’m fine - but if I build in the projucer I get the errors from yesterday!!?

Anyway thanks for your help as at least I can do some of the tutorials now.

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