[英]Issue to build mupdf library for android
I follow this to build mupdf library. 我遵循此步骤来构建mupdf库。
But I got the following error message at step 3: make generate 但是我在步骤3收到以下错误消息:make generate
LINK build/debug/cmapdump ld: library not found for -lX11 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: * [build/debug/cmapdump] Error 1 LINK build / debug / cmapdump ld:-lX11 clang找不到库:错误:链接器命令失败,退出代码为1(使用-v查看调用)make: * [build / debug / cmapdump]错误1
I found a few questions about the mupdf compilation in stack overflow. 我在堆栈溢出中发现了有关mupdf编译的一些问题。 But I could not find any one similar to my problem. 但是我找不到与我的问题类似的任何东西。
By the way, my environment is: 顺便说一下,我的环境是:
Any suggestion? 有什么建议吗? Thanks 谢谢
There is an oversight in the makefiles. 在makefile中有一个监督。 Until it is fixed, run the generate step like this: 在修复之前,请运行如下的generate步骤:
make generate NOX11=yes
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.