Consistency
[llpp.git] / BUILDING
blob980a78eae16d7120dde05edef2fafb8d281aa4ef
1 Prerequisites for building from sources:
2         mupdf         [http://mupdf.com/]
3         ocaml (4.06+) [http://ocaml.org/]
4         opengl        [http://en.wikipedia.org/wiki/OpenGL]
5         git           [https://git-scm.com/]
7   llpp% git clone git://git.ghostscript.com/mupdf.git --recursive
8   llpp% cd mupdf
9   mupdf% git checkout 4a7822d6750ecb6e0b63f4357738dc20ecaa58f6
10   mupdf% git submodule update --recursive
11   mupdf% make build=native libs
12   mupdf% cd ..
13   llpp% sh build.sh build
15 Standalone binary should now be in build/llpp.
17 Native macOS Installation Instructions
18 --------------------------------------
20   If `sh build.sh build' succeeds, standalone macOS app should be in
21   build/llpp.app.
24 MacOS/Windows10/ or when OCaml is too old (Debian, etc)
25 -------------------------------------------------------
26   llpp% cd misc
27   misc% sh bootstrap.sh
29   If `sh bootstrap.sh' succeeds (fetching and building ocaml, mupdf
30   and llpp) standalone binary should be in llpp/build-strap/llpp.