I’m trying to get OSD running in SITL on my Mac M1. I got the latest 2.5.1 SFML libraries for ARM, but when I try to run SITL, the build failes with this error:
In file included from ../../libraries/AP_Notify/Display.cpp:21:
../../libraries/AP_Notify/Display_SITL.h:46:5: fatal error: use of undeclared identifier 'sf'
sf::RenderWindow *w;
^
sf seems to be a namespace defined in Graphics.hpp, but since the code is including Graphics.h (I think), the namespace is not defined. Any suggestions how I would fix this?