Updated INSTALL
This commit is contained in:
parent
058f40b320
commit
1fb07b6567
33
INSTALL
33
INSTALL
|
@ -1,19 +1,34 @@
|
||||||
Installation Instructions
|
Installation Instructions
|
||||||
*************************
|
*************************
|
||||||
|
|
||||||
Copyright (C) 2015 Matteo Paonessa
|
|
||||||
|
|
||||||
Copying and distribution of this file, with or without modification,
|
|
||||||
are permitted in any medium without royalty provided the copyright
|
|
||||||
notice and this notice are preserved. This file is offered as-is,
|
|
||||||
without warranty of any kind.
|
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
==================
|
==================
|
||||||
You will need both mozjpeg (libjpeg-turbo will work too) and zopflipng compiled as libraries to be able to
|
You will need both mozjpeg (libjpeg-turbo will work too) and zopflipng compiled as libraries to be able to
|
||||||
compile CaesiumCLT. Refer to their own documentation for the detailed
|
compile CaesiumCLT. Refer to their own documentation for the detailed
|
||||||
instructions.
|
instructions.
|
||||||
|
|
||||||
|
This is the step-by-step sequence tested on Ubuntu 16.04 LTS:
|
||||||
|
|
||||||
|
mozjpeg
|
||||||
|
|
||||||
|
$ git clone https://github.com/mozilla/mozjpeg
|
||||||
|
$ cd mozjpeg/
|
||||||
|
$ autoreconf -fiv
|
||||||
|
$ mkdir build && cd build
|
||||||
|
$ ../configure
|
||||||
|
$ make && sudo make install
|
||||||
|
|
||||||
|
|
||||||
|
libzopflipng
|
||||||
|
|
||||||
|
$ git clone https://github.com/google/zopfli.git
|
||||||
|
$ cd zopfli
|
||||||
|
$ make libzopflipng
|
||||||
|
$ sudo cp libzopflipng.so.1.0.0 /usr/lib
|
||||||
|
$ sudo ln -s libzopflipng.so.1.0.0 /usr/lib/libzopflipng.so
|
||||||
|
$ sudo ln -s libzopflipng.so.1.0.0 /usr/lib/libzopflipng.so.1
|
||||||
|
$ sudo mkdir /usr/include/zopflipng
|
||||||
|
$ sudo cp src/zopflipng/zopflipng_lib.h /usr/include/zopflipng
|
||||||
|
|
||||||
Basic Installation
|
Basic Installation
|
||||||
==================
|
==================
|
||||||
|
@ -45,4 +60,6 @@ invoking configure:
|
||||||
Then call:
|
Then call:
|
||||||
$ ../configure
|
$ ../configure
|
||||||
$ make
|
$ make
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue