Demo won't compile in OS X

Downloaded latest version from the website, and trying to compile the demo but I’m getting some compile errors.

Any pointers? It’s a fresh download, with default settings.

Can u give me the compiler errors which are coming?

Seems to be related to the amalgamated.cpp compiling. Some issues with the MIDI structures.

error: ‘z_Byte’ does not name a type
error: expected ‘;’ before ‘*’ token
error: ‘struct MIDIPacket’ has no member named ‘data’


I think source of problem in VST hosting code in juce.
Comment some VST related params in juce_amalmagamed.h or set correct paths to VST(and maybe other) SDK’s.