Closed eeeps closed 1 year ago
Using Docker Desktop on an Apple Silicon Mac, this finally worked for me:
$ docker run -i -t ubuntu:kinetic /bin/bash # apt install build-essential git libhwy-dev liblcms2-dev libjpeg-turbo8-dev libpng-dev cmake ninja-build # git clone https://github.com/cloudinary/ssimulacra2.git # cd ssimulacra2 # mkdir build # cd build # cmake ../src -G Ninja # ninja ssimulacra2
Tricky bits:
ubuntu:latest
libjpeg-turbo8-dev
Dunno if any of this is worth calling out in the install instructions, or if they need to be elaborated/clarified.
Also what I wouldn't do to get this as a homebrew package and/or wasm build! But I digress...
Thanks! Added most of this info to the README.
Using Docker Desktop on an Apple Silicon Mac, this finally worked for me:
Tricky bits:
ubuntu:latest
pulled jammy; apt on jammy will only install lcms2 version 2.12, but ssimulacra2 requires 2.13.libjpeg-turbo8-dev
, not libjpeg62-turbo-dev as the instructions state.Dunno if any of this is worth calling out in the install instructions, or if they need to be elaborated/clarified.
Also what I wouldn't do to get this as a homebrew package and/or wasm build! But I digress...