Jay Jay Jay
Jay Jay Jay

Reputation: 1990

mupdf not building in xcode

Not able to build mupdf. I am getting the following error: Generating cmap and font files Apple broke Xcode external targets yet again, and I can't be bothered to fix it. Run the 'make generate' command manually from now on! If you see an error while running GEN, you've forgotten. Building libraries for i386. GEN generated/cmap_cns.h /bin/sh: ./build/debug-ios-i386/cmapdump: No such file or directory make: * [generated/cmap_cns.h] Error 127

Upvotes: 2

Views: 1683

Answers (3)

Kevin Delord
Kevin Delord

Reputation: 2558

I was able to generate the MuPDF library without using any make generate or shell script. I wrote a small step-by-step tutorial on this post.

Cheers

Upvotes: 0

ChenXin
ChenXin

Reputation: 373

The same problem.After "make generate", I restarted Xcode, then build successfully.

Upvotes: 0

ccxvii
ccxvii

Reputation: 2123

Do what the error message tells you to do.

Open a terminal, cd to the mupdf directory, and run "make generate".

Upvotes: 1

Related Questions