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


#1

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.


#2

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


#3

works great, thanks!