Imath-3.2.2

Introduction to Imath

Imath is a C++ and python library of 2D and 3D vector, matrix, and math operations for computer graphics.

[Note]

Note

This package is known to build and work properly using an LFS 13.1 platform.

Package Information

Imath Dependencies

Required

CMake-4.4.2

Recommended

Installation of Imath

Install Imath by running the following commands:

mkdir build &&
cd    build &&

cmake -D CMAKE_INSTALL_PREFIX=/usr \
      -D CMAKE_BUILD_TYPE=Release  \
      -D PYTHON=ON                 \
      ..  &&
make

To test the results, issue: make test.

Now, as the root user:

make install

Command Explanations

-D PYTHON=ON: This option enables building the Python modules. It can be disabled if NumPy-2.5.2 is not installed.

Contents

Installed Programs: None
Installed Library: libImath.so, libImath-3_2.so, libPyImath.so, and libPyImath_Python3_14-3_2.so
Installed Directories: /usr/include/Imath and /usr/lib/cmake/Imath