I follow this to build mupdf library.
But I got the following error message at step 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
I found a few questions about the mupdf compilation in stack overflow. But I could not find any one similar to my problem.
By the way, my environment is:
- Mac 10.8.3
- NDK r8e
- mupdf 1.2
Any suggestion? Thanks