iccDEV requires C++17 or higher to compile.
Required libraries
| Platform | Libraries |
| macOS | libpng, jpeg-turbo, libtiff, libxml2, wxwidgets, nlohmann-json |
| Windows | libpng, libjpeg-turbo, libtiff, libxml2, wxwidgets, nlohmann-json |
| Linux (Ubuntu) | libpng-dev, libjpeg-dev, libtiff-dev, libxml2-dev, wxwidgets*, nlohmann-json |
Ubuntu
- Note: On Ubuntu,
wxwidgets is installed via distribution-specific development packages
(e.g. libwxgtk3.2-dev). Refer to the apt install command below for the exact package names.
export CXX=clang++
git clone https://github.com/InternationalColorConsortium/iccdev.git iccdev
cd iccdev
sudo apt install -y libpng-dev libjpeg-dev libtiff-dev libwxgtk3.2-dev libwxgtk-{media,webview}3.2-dev wx-common wx3.2-headers curl git make cmake clang{,-tools} libxml2{,-dev} nlohmann-json3-dev build-essential ninja-build
cmake --preset linux-clang -S Build/Cmake -B out/linux-clang
cmake --build out/linux-clang -j"$(nproc)"
macOS
export CXX=clang++
brew install libpng nlohmann-json libxml2 wxwidgets libtiff jpeg-turbo
git clone https://github.com/InternationalColorConsortium/iccdev.git iccdev
cd iccdev
cmake --preset macos-xcode -S Build/Cmake -B out/macos-xcode
cmake --build out/macos-xcode --config Release -j"$(sysctl -n hw.ncpu)"
Windows MSVC
git clone https://github.com/InternationalColorConsortium/iccdev.git iccdev
cd iccdev
cmake --preset vs2022-x64 -S Build/Cmake -B out/vs2022-x64
cmake --build out/vs2022-x64 --config Release -- /m /maxcpucount