In short, you can't use our version of Juce to build your externals. You need to use jgraphics as demonstrated in the SDK's examples. If you want to build externals with juice component you'll have to link it and include your Juce version.
@Emmanuel, yes - wasn't thinking about using your version. What I was wondering was whether I can write all my stuff on Windows using Visual Studio, link in your libraries and a version of Juce and then just transport that onto a Mac and build the complete job lot on Xcode.
Obv this is possible, but wanted to know whether anyone had tried this and had experience of it? On the surface this seems a good solution for developing cross-platform externals, but there doesn't seem to be any noise about it so maybe I've got something wrong...
It's definitely possible to use juce to create your own gui components and insert them into Max.
I do that a lot (developing many Ircam external objects, cross-platform).
This is relatively easy.
Basically, you render your juce component into a juce::Graphics
Then you retrieve the raw bitmap data from the graphics context
You create a Max image surface from the bitmap data
Then you paint the image surface into the patcher
This approach is not very efficient (you do all the job twice), but there are some alternatives.