I am trying to build Octave on macOS Catalina.
Compilation fails with:
In file included from ./../libinterp/dldfcn/__init_fltk__.cc:74:
In file included from /usr/local/Cellar/fltk/1.3.8/include/FL/fl_draw.H:27:
In file included from /usr/local/Cellar/fltk/1.3.8/include/FL/x.H:32:
/usr/local/Cellar/fltk/1.3.8/include/FL/mac.H:32:25: error: typedef redefinition with different types ('class FLWindow *' vs 'XID' (aka 'unsigned long'))
typedef class FLWindow *Window; // pointer to the FLWindow objective-c class
^
/usr/local/include/X11/X.h:96:13: note: previous definition is here
typedef XID Window;
It seems like X11 & FLTK are conflicting. Any advice?