Last active
April 28, 2024 11:40
-
-
Save batden/0f45f8b8578ec70ee911b920b6eacd39 to your computer and use it in GitHub Desktop.
Building-libjxl-from-Git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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