The “Reference to Point is ambiguous” error is a rather common topic in that forum.
Have you tried to include the macOS system headers in your project before the JUCE ones?
EDIT: Or there is that trick…
This probably means you’ve pulled in a macOS system header yourself somewhere. You’ll need to prefix your points with juce:: or do something like this:
#ifdef __APPLE__
#define Point CarbonDummyPointName
#import <Foundation/Foundation.h>
#undef Point
#endif
Hi guys, I’ve been upgrading my code to the juce 5 master and I have the old CarbonDummyPointName workaround in my code which is causing this error. I’ve noticed that most of the usages of this workaround in juce were removed by Timur in early 2016. I haven’t been able to gather why they are no longer necessary though. When I try to remove it for my own code, the old ambiguous Point error comes back. I’ve tried a few things, building 32 and 64 bit, JUCE_SUPPORT_CARBON enabled and disabled. …
1 Like