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

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

Imath Dependencies

Required

CMake-4.3.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.4.4 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