mmp / pbrt-v4

Source code to pbrt, the ray tracer described in the forthcoming 4th edition of the "Physically Based Rendering: From Theory to Implementation" book.
https://pbrt.org
Apache License 2.0
2.9k stars 458 forks source link

Switch to mainline OpenEXR #9

Open mmp opened 4 years ago

mmp commented 4 years ago

We're currently using a hacked version of OpenEXR with an install() commented out in OpenExr/config/LibraryDefine.cmake: https://github.com/mmp/openexr/commit/5cfb5dab6dfada731586b0281bdb15ee75e26782

Without this, the Windows build fails due to OpenEXR being unhappy that zlibstatic isn't exported. At that point I'm stumped, since the only reference to zlib in the OpenEXR cmake files is to ZLIB::ZLIB.

Vutshi commented 3 years ago

Hi @mmp, If switching to mainline OpenEXR is still a problem maybe it is possible to back port this PR. It would fix the last issue I have with building PBRT on Elbrus CPU out of the box.