Free as in Freedom: Codeberg.org. Create your repos and join us!
Join Donate
Rust crate to implement at least parts of the PBRT book's C++ code. See also https://www.rs-pbrt.org/about ...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

OpenEXR.txt 810B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # check first if we have OpenEXR (>= 2.0.0)
  2. pkg-config --libs --cflags "OpenEXR >= 2.0.0"
  3. # should print something like this:
  4. -I/usr/include/OpenEXR -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread
  5. # if not, get OpenEXR
  6. wget https://github.com/openexr/openexr/archive/v2.2.0.tar.gz
  7. # if not already installed on the system
  8. cp v2.2.0.tar.gz /usr/local
  9. cd /usr/local/
  10. tar zxfv v2.2.0.tar.gz
  11. cd openexr-2.2.0
  12. cd IlmBase
  13. ./bootstrap
  14. ./configure --enable-static=yes --enable-shared=no --with-pic
  15. make
  16. make install
  17. cd ../OpenEXR
  18. ./bootstrap
  19. ../configure --enable-static=yes --enable-shared=no --with-pic
  20. make
  21. make install
  22. # before running 'make'
  23. setenv OPENEXR_DIR /usr/local
  24. setenv ILMBASE_DIR /usr/local
  25. make
  26. # or (using bash)
  27. export OPENEXR_DIR=/usr/local
  28. export ILMBASE_DIR=/usr/local
  29. make