Closed maxderhak closed 17 hours ago
Based on PR-107 there were changes needed to compile these projects, see PR https://github.com/InternationalColorConsortium/DemoIccMAX/pull/108
Source: https://github.com/xsscx/PatchIccMAX/tree/json-patches
modified: Readme.md
modified: Build/Cmake/CMakeLists.txt
new file: Tools/CmdLine/IccApplyNamedCmm/CMakeLists.txt
new file: Tools/CmdLine/IccApplyProfiles/CMakeLists.txt
modified: Tools/CmdLine/IccCommon/IccCmmConfig.h
modified: Tools/CmdLine/IccCommon/IccJsonUtil.cpp
modified: Tools/CmdLine/IccCommon/IccJsonUtil.h
These changes verify that the subprojects IccApplyNamedCmm and IccApplyProfiles will compile to binary form and Link properly.
cd Tools/CmdLine/IccApplyNamedCmm
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local -DCMAKE_BUILD_TYPE=Release . && make -j10 VERBOSE=1
./iccApplyNamedCmm
iccApplyNamedCmm built with IccProfLib version 2.2.5
cd Tools/CmdLine/IccApplyProfiles
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local -DCMAKE_BUILD_TYPE=Release .
make VERBOSE=1
./iccApplyProfiles
iccApplyProfiles built with IccProfLib version 2.2.5
further work to fix dependency on nlohmann json for moder c++ is still needed for cmake builds. The following might be helpful (beyond me). https://github.com/nlohmann/json?tab=readme-ov-file#integration