Mac RTAS: 'Line' was not declared in this scope

I have a plugin that compiles fine in Windows VST and RTAS as well as in Mac AU and VST but not Mac RTAS. I get this error:

‘Line’ was not declared in this scope

at this line:

Path p; p.addLineSegment(Line<float> (X30, Y70, X40, Y30), lineThickness); <<<< p.addLineSegment(Line<float> (X40, Y30, X70, Y30), lineThickness); g.fillPath (p);

Is there a clash between the Juce Line and RTAS lib?

I use the latest build.

Quite possibly. Just try writing “juce::Line” instead.

works great, thanks!