0

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:

  1. Mac 10.8.3
  2. NDK r8e
  3. mupdf 1.2

Any suggestion? Thanks

Bagusflyer
  • 12,675
  • 21
  • 96
  • 179

1 Answers1

1

There is an oversight in the makefiles. Until it is fixed, run the generate step like this:

make generate NOX11=yes
ccxvii
  • 1,873
  • 1
  • 13
  • 11