-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathOpenEXR.txt
More file actions
38 lines (29 loc) · 810 Bytes
/
OpenEXR.txt
File metadata and controls
38 lines (29 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# check first if we have OpenEXR (>= 2.0.0)
pkg-config --libs --cflags "OpenEXR >= 2.0.0"
# should print something like this:
-I/usr/include/OpenEXR -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread
# if not, get OpenEXR
wget https://github.com/openexr/openexr/archive/v2.2.0.tar.gz
# if not already installed on the system
cp v2.2.0.tar.gz /usr/local
cd /usr/local/
tar zxfv v2.2.0.tar.gz
cd openexr-2.2.0
cd IlmBase
./bootstrap
./configure --enable-static=yes --enable-shared=no --with-pic
make
make install
cd ../OpenEXR
./bootstrap
../configure --enable-static=yes --enable-shared=no --with-pic
make
make install
# before running 'make'
setenv OPENEXR_DIR /usr/local
setenv ILMBASE_DIR /usr/local
make
# or (using bash)
export OPENEXR_DIR=/usr/local
export ILMBASE_DIR=/usr/local
make