View Single Post
Old 08-21-2019, 08:58 PM   #1709
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 1,303
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by richbridger View Post
Hello @willus,

I am a happy user of k2pdfopt. Recently I tried to compile the program on my own, but due to some incompatibilities with mupdf 1.16 and some header files the build with cmake failed.

I created some patches that update the CMakeList.txt file and fix the mupdf version problems.

https://pastebin.com/wvAGYw24
https://pastebin.com/ZJrb8TWB
https://pastebin.com/VUKhjANT
https://pastebin.com/jJwK6UvU
https://pastebin.com/Xdz5c2CU
https://pastebin.com/rrRZ2uSK

You can apply them with patch -p1 <patchfile>. I hope that is somewhat helpful.

Greetings,
richbridger
Thanks! I'm impressed. The last version of mupdf I integrated with was v1.14, and they are notorious for changing their API's in new revisions, so I almost always have to fix my code that interfaces with their library when I compile with a new version.
willus is offline   Reply With Quote