# How to start using Juce on a Mac

**URL:** <https://forum.juce.com/t/how-to-start-using-juce-on-a-mac/6553>\
**Category:** MacOSX and iOS\
**Created:** [March 11, 2011, 3:09pm UTC](https://forum.juce.com/t/how-to-start-using-juce-on-a-mac/6553 "2011-03-11T15:09:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hladik](https://avatars.discourse-cdn.com/v4/letter/h/3ab097/32.png) [@hladik](https://forum.juce.com/u/hladik)\
**Post date:** [March 11, 2011, 3:09pm UTC](https://forum.juce.com/t/how-to-start-using-juce-on-a-mac/6553/1 "2011-03-11T15:09:04Z")

</div>

Forgive my question if it sounds too newbie, but after more than 10 years of Windows I would like to start again to program on a Mac. I thought it would have been easier, in fact I cannot even compile JuceDemo.

I’m using OS X 10.6.6. I have installed Xcode 3.2.5, checked out the latest Juce tip, opened the Juce.xcodeproj (or Juce Demo.xcodeproj) and chosen Build. The result is tens of thousands of errors.

It looks like the compiler cannot find any of the standard include files, for instance:

```auto

```

but I also got:`#ifndef MAC_OS_X_VERSION_10_5
    #error "To build with 10.4 compatibility, use a 10.5 or 10.6 SDK and set the deployment target to 10.4"
#endif`

Could someone please give me a hint to get started?  
Thanks

---

<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:** [March 11, 2011, 4:01pm UTC](https://forum.juce.com/t/how-to-start-using-juce-on-a-mac/6553/2 "2011-03-11T16:01:40Z")

</div>

Maybe you should have ticked the “10.4 SDK” option when installing XCode?

I also just got a new mac this week, installed XCode from scratch, and was compiling away with no other requirements, so it must be something simple like that.

---

<div class="post-metadata">

**Author:** ![hladik](https://avatars.discourse-cdn.com/v4/letter/h/3ab097/32.png) [@hladik](https://forum.juce.com/u/hladik)\
**Post date:** [March 11, 2011, 4:08pm UTC](https://forum.juce.com/t/how-to-start-using-juce-on-a-mac/6553/3 "2011-03-11T16:08:08Z")

</div>

Thanks Jules, I found it out. In the project settings I had to set “Mac OS X 10.5” instead of “Latest Mac OS X” for the “Base SDK” setting.
