gpt4 book ai didi

c - 在make mupdf期间, fatal error : X11/Xlib. h文件在mac中找不到

转载 作者:行者123 更新时间:2023-12-01 23:26:08 26 4
gpt4 key购买 nike

我正在安装 muPDF。

我在终端中输入了类似 make prefix=/usr/local install 的内容

我已经安装了 XQuartz

但我收到如下错误

In file included from thirdparty/glfw/src/context.c:28:
In file included from thirdparty/glfw/src/internal.h:85:
thirdparty/glfw/src/x11_platform.h:35:10: fatal error: 'X11/Xlib.h' file not found
#include <X11/Xlib.h>
^

最佳答案

  make XCFLAGS=-I/opt/X11/include XLIBS=-L/opt/X11/lib 

关于c - 在make mupdf期间, fatal error : X11/Xlib. h文件在mac中找不到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34177382/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com