Dear Prof. Govindjee,
I am new to macOS and having difficulty compiling FEAP version 8.6.1k due to a similar issue with x11u.c. The error message during compile on a macbookpro running macos Monterey 12.3.1 is given below.
x11u.c:69:10: fatal error: 'X11/Xlib.h' file not found
#include <X11/Xlib.h>
^~~~~~~~~~~~
1 error generated.
make[2]: *** [/Users/fethi/oscmw/feap/Feap8_6g.a(x11u.o)] Error 1
The makefiles I used are attached. The symbolic links under /usr/X11 and /usr/X11R6 seem to be empty. Moreover the Xlib.h seems to be located under
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers/X11/Xlib.h
which is an absurd location. When that line is included in the CINCLUDE statement in makefile.in, that does solve the issue but produce additional errors related with some other lines in the x11u.c.
I would appreciate any advise regarding the resolution of this issue,
Fethi