Error in making/building mupdf on Mac OS X

2019-08-03 22:00发布

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条回答
Fickle 薄情
2楼-- · 2019-08-03 22:18

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.

查看更多
登录 后发表回答