danielgtaylor / jpeg-archive

Utilities for archiving JPEGs for long term storage.
1.17k stars 121 forks source link

Please update instructions for building dependencies #103

Open MurKit opened 5 years ago

MurKit commented 5 years ago

The new version of mozjpeg uses cmake.

https://github.com/imagemin/imagemin-mozjpeg/issues/37 https://github.com/mozilla/mozjpeg/issues/314

Your project is a way for people who are not very familiar with C to use all this. Could you please update your readme?

I used just

cmake -G"Unix Makefiles"
make 

But maybe for some other users it will be different.

vannitotaro commented 5 years ago

Currently https://github.com/danielgtaylor/jpeg-archive/blob/master/README.md#building says:

./configure --with-jpeg8

so according to https://github.com/mozilla/mozjpeg/blob/master/BUILDING.md#libjpeg-v7-or-v8-apiabi-emulation you must run:

cmake -G"Unix Makefiles" -DWITH_JPEG8=1