问题
I simply using the make
command to make/build the mupdf on Mac OS X Mavericks, from its source.
But I get this error:
fatal error: 'X11/Xlib.h' file not found
However X11 is installed on my Mac, and has an entry in the PATH environment variable as well.
Can anyone please help on how to get rid of this error and make/build MuPDF?
回答1:
Do you have MacPorts installed? If not, do so.
Then run:
sudo port -pf install xorg-libX11
This should install (amongst other files) /opt/local/include/X11/Xlib.h
.
来源:https://stackoverflow.com/questions/27774396/error-in-making-building-mupdf-on-mac-os-x