Unable to build with Cmake ( Mac OS 10.14)

Dear all,
I am new to lammps. I am trying to build with Cmake using the command " cmake --build .". But the process stops after sometime as it cannot find some headers . I have attached herewith a screenshot of the terminal.


Screenshot 2020-06-11 at 11.11.55 AM.png

Hirakjyoti, it is not very useful to post the same message twice within a few hours: the lammps-users subscribers are scattered on all time zones.

To the point of your message, you should try reading first the error messages before pasting them to the list. Specifically, the inclusion of X11/Xfuncproto.h into compiler.h fails: neither one is a header that LAMMPS includes directly.

Please look through the entire chain of #includes (which you cut) to see how you ended up with this particular inclusion.