OpenEXR: Difference between revisions
No edit summary |
|||
| (14 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{| style="text-align: left; background-color: AliceBlue;" | {| style="text-align: left; background-color: AliceBlue;" | ||
|- | |-valign="top" | ||
!Download Source: | !Download Source: | ||
| http://download.savannah.nongnu.org/releases/openexr/openexr- | | http://download.savannah.nongnu.org/releases/openexr/openexr-{{OpenEXR-Version}}.tar.gz | ||
|} | |} | ||
---- | ---- | ||
{{Package-Introduction|OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications.|http://www.openexr.com/}} | |||
== Dependencies == | == Dependencies == | ||
=== Required === | |||
* [[ilmBase]] | |||
=== Optional === | === Optional === | ||
* [[FLTK]] | * [[FLTK]] | ||
| Line 18: | Line 22: | ||
sed -i "s:-lGL:-L${XORG_PREFIX}/lib &:" configure | sed -i "s:-lGL:-L${XORG_PREFIX}/lib &:" configure | ||
If you use gcc 4.3 or gcc 4.4, run: | |||
sed -i "49i\#include <string.h>" exrmaketiled/main.cpp | |||
sed -i "48i\#include <string.h>" exrenvmap/main.cpp | |||
Compile the package: | Compile the package: | ||
| Line 35: | Line 44: | ||
sed -i "s:-lGL:-L${XORG_PREFIX}/lib &:" configure | sed -i "s:-lGL:-L${XORG_PREFIX}/lib &:" configure | ||
If you use gcc 4.3 or gcc 4.4, run: | |||
sed -i "49i\#include <string.h>" exrmaketiled/main.cpp | |||
sed -i "48i\#include <string.h>" exrenvmap/main.cpp | |||
Compile the package: | Compile the package: | ||
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr && | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \ | |||
./configure --prefix=/usr && | |||
make | make | ||
| Line 50: | Line 66: | ||
sed -i "s:-lGL:-L${XORG_PREFIX}/lib32 &:" configure | sed -i "s:-lGL:-L${XORG_PREFIX}/lib32 &:" configure | ||
If you use gcc 4.3 or gcc 4.4, run: | |||
sed -i "49i\#include <string.h>" exrmaketiled/main.cpp | |||
sed -i "48i\#include <string.h>" exrenvmap/main.cpp | |||
Compile the package: | Compile the package: | ||
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr \ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \ | |||
./configure --prefix=/usr \ | |||
--libdir=/usr/lib32 && | --libdir=/usr/lib32 && | ||
make | make | ||
| Line 66: | Line 89: | ||
sed -i "s:-lGL:-L${XORG_PREFIX}/lib64 &:" configure | sed -i "s:-lGL:-L${XORG_PREFIX}/lib64 &:" configure | ||
If you use gcc 4.3 or gcc 4.4, run: | |||
sed -i "49i\#include <string.h>" exrmaketiled/main.cpp | |||
sed -i "48i\#include <string.h>" exrenvmap/main.cpp | |||
Compile the package: | Compile the package: | ||
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr \ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \ | |||
./configure --prefix=/usr \ | |||
--libdir=/usr/lib64 && | --libdir=/usr/lib64 && | ||
make | make | ||
| Line 76: | Line 106: | ||
make install | make install | ||
= Contents = | |||
{| style="text-align: left;" | |||
|-valign="top" | |||
! Installed Programs: | |||
| exrenvmap, exrmakepreview, exrstdattr, exrmaketiled, exrheader | |||
|-valign="top" | |||
! Installed Libraries: | |||
| libIlmImf.{a,la,so} | |||
|-valign="top" | |||
! Installed Directories: | |||
| /usr/include/OpenEXR, /usr/share/doc/OpenEXR-{{OpenEXR-Version}} | |||
|} | |||
[[Category:Graphics Libraries]] | |||
Latest revision as of 21:28, 13 April 2010
| Download Source: | http://download.savannah.nongnu.org/releases/openexr/openexr-1.6.1.tar.gz |
|---|
Introduction to OpenEXR
OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications.
Project Homepage: http://www.openexr.com/
Dependencies
Required
Optional
- FLTK
- Cg Toolkit (Configure checks for this only if FLTK is installed)
Non-Multilib
If you installed an X Window System to any prefix other then /usr. Run the following sed to make sure configure can find -lGL:
sed -i "s:-lGL:-L${XORG_PREFIX}/lib &:" configure
If you use gcc 4.3 or gcc 4.4, run:
sed -i "49i\#include <string.h>" exrmaketiled/main.cpp sed -i "48i\#include <string.h>" exrenvmap/main.cpp
Compile the package:
./configure --prefix=/usr && make
Install the package
make install
Multilib
32Bit
If you installed an X Window System to any prefix other then /usr. Run the following sed to make sure configure can find -lGL:
sed -i "s:-lGL:-L${XORG_PREFIX}/lib &:" configure
If you use gcc 4.3 or gcc 4.4, run:
sed -i "49i\#include <string.h>" exrmaketiled/main.cpp sed -i "48i\#include <string.h>" exrenvmap/main.cpp
Compile the package:
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
./configure --prefix=/usr &&
make
Install the package
make install
N32
If you installed an X Window System to any prefix other then /usr. Run the following sed to make sure configure can find -lGL:
sed -i "s:-lGL:-L${XORG_PREFIX}/lib32 &:" configure
If you use gcc 4.3 or gcc 4.4, run:
sed -i "49i\#include <string.h>" exrmaketiled/main.cpp sed -i "48i\#include <string.h>" exrenvmap/main.cpp
Compile the package:
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
./configure --prefix=/usr \
--libdir=/usr/lib32 &&
make
Install the package
make install
64Bit
If you installed an X Window System to any prefix other then /usr. Run the following sed to make sure configure can find -lGL:
sed -i "s:-lGL:-L${XORG_PREFIX}/lib64 &:" configure
If you use gcc 4.3 or gcc 4.4, run:
sed -i "49i\#include <string.h>" exrmaketiled/main.cpp sed -i "48i\#include <string.h>" exrenvmap/main.cpp
Compile the package:
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
./configure --prefix=/usr \
--libdir=/usr/lib64 &&
make
Install the package
make install
Contents
| Installed Programs: | exrenvmap, exrmakepreview, exrstdattr, exrmaketiled, exrheader |
|---|---|
| Installed Libraries: | libIlmImf.{a,la,so} |
| Installed Directories: | /usr/include/OpenEXR, /usr/share/doc/OpenEXR-1.6.1 |