Difference between revisions of "OpenEXR"

From CBLFS
Jump to navigationJump to search
(64Bit)
Line 42: Line 42:
 
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 57: Line 59:
 
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 73: Line 77:
 
Compile the package:
 
Compile the package:
  
PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \  
+
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
./configure --prefix=/usr   --libdir=/usr/lib64 &&
+
    PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
 +
    ./configure --prefix=/usr \
 +
    --libdir=/usr/lib64 &&
 
  make
 
  make
  
Line 93: Line 99:
 
! Installed Directories:
 
! Installed Directories:
 
| /usr/include/OpenEXR, /usr/share/doc/OpenEXR-{{OpenEXR-Version}}
 
| /usr/include/OpenEXR, /usr/share/doc/OpenEXR-{{OpenEXR-Version}}
|}
 
 
=== Short Descriptions ===
 
 
{| style="text-align: left;"
 
|-valign="top"
 
! program1
 
| ???
 
|-valign="top"
 
! program2
 
| ???
 
|-valign="top"
 
! library1.{so,a}
 
| ???
 
 
|}
 
|}

Revision as of 09:14, 5 July 2008

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

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

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

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

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

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
Retrieved from "?title=OpenEXR&oldid=14596"