How to start using Juce on a Mac

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:

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

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.

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.