-
Notifications
You must be signed in to change notification settings - Fork 39
Home
Anthony Sottile edited this page Dec 31, 2017
·
6 revisions
These instructions were written using a default install of Ubuntu 12.04 LTS.
- sudo apt-get install cmake scons g++-multilib libboost-all-dev libilmbase-dev libopenexr-dev libpng12-dev libjpeg-dev libtiff4-dev
- Download HDF5
- Download Field3D
- Download OpenImageIO
- Download PVR
- cd to the unpacked hdf5 directory
- make install
- sudo cp hdf5/include/* /usr/local/include/
- sudo cp hdf5/lib/* /usr/local/lib/
- cd to the unpacked Field3D directory
- sudo gedit /usr/include/OpenEXR/ImathRoots.h
- Change <ImathMath.h> to "ImathMath.h" Issue #13
- scons do64=1
- sudo cp -R install/linux2/m64/release/include/* /usr/local/include/
- sudo cp install/linux2/m64/release/lib/* /usr/local/lib/
- cd to the unpacked OIIO directory
- make USE_FILED3D=0
- sudo cp -R dist/linux64/include/* /usr/local/include
- sudo cp dist/linux64/lib/* /usr/local/lib
- cd to the unpacked pvr directory
- cd libpvr/external
- scons
- cd libpvr dir
- We need to install python2.6
- sudo add-apt-repository ppa:deadsnakes
- sudo apt-get update
- sudo apt-get install python2.6 python2.6-dev
- export PVR_PYTHON_PATH=~/pythonLibs
- scons pyinstall