Skip to content

Instantly share code, notes, and snippets.

@batden
Last active April 28, 2024 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save batden/0f45f8b8578ec70ee911b920b6eacd39 to your computer and use it in GitHub Desktop.
Save batden/0f45f8b8578ec70ee911b920b6eacd39 to your computer and use it in GitHub Desktop.
Building-libjxl-from-Git
For Ubuntu.
Dependencies:
sudo apt install --no-install-recommends build-essential asciidoc clang cmake doxygen git graphviz freeglut3-dev libavif-dev libbrotli-dev libgif-dev libjpeg-dev libopenexr-dev libpng-dev libwebp-dev perl-tk pkg-config python3-sphinx
Source code:
git clone https://github.com/libjxl/libjxl.git --recursive --shallow-submodules
Compilation:
cd libjxl/
mkdir build
cd build/
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF ..
cmake --build .
sudo cmake --install .
sudo ldconfig
Uninstall:
cd libjxl/build/
xargs sudo rm -rf < install_manifest.txt
See also:
https://github.com/libjxl/libjxl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment