// workaround for carbon windows not getting mouse-moves..
const Point<int> screenPos (Desktop::getInstance().getMainMouseSource().getScreenPosition());
That breaks the build i change it to:
// workaround for carbon windows not getting mouse-moves..
const Point<int> screenPos (Desktop::getInstance().getMainMouseSource().getScreenPosition().roundToInt());