Skip to content

Compile openexr

Tested on version 3.2.1

Requirements

Build and compile

bash
cd <SRC_ROOT_DIR>
cmake -S . -B ./build -DCMAKE_INSTALL_PREFIX=<SRC_ROOT_DIR>/install
cmake --build ./build --target install --config Release

or if you using gcc and cmake on rez:

bash
rez env cmake gcc -- cmake <SRC_ROOT_DIR> --install-prefix <SRC_ROOT_DIR>/build
rez env cmake gcc -- cmake --build <SRC_ROOT_DIR>/build --target install --config Release

References