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:
Any suggestion? Thanks
There is an oversight in the makefiles. Until it is fixed, run the generate step like this:
make generate NOX11=yes