Error in making/building mupdf on Mac OS X

為{幸葍}努か 提交于 2019-12-12 23:29:20

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!