Rate This Document
Findability
Accuracy
Completeness
Readability

Usage Description

Before using KP_LITHO_IMG, configure related header files, dynamic libraries, and KML dependency libraries, and add corresponding options during compilation.

  1. Install the KPCV RPM package by following instructions in Installing KPCV.
  2. After the installation is complete, confirm that there are /usr/local/include/KPCV and /usr/local/lib/KPCV folders that store the kp_litho_img header files and dynamic libraries respectively.
  3. KP_LITHO_IMG requires KML 2.4.0 or later. Confirm that the libkfft.so and libkfftf.so dependency files exist in /usr/local/kml/lib/sve.

    Contact Huawei technical support to obtain the KML software package.

  4. Add the paths of the dynamic libraries to the GCC compilation option to link the required dynamic library files. Then run the ldd command to check that the dependency libraries are correctly linked.

    Add -I/usr/local/include/KPCV -L/usr/local/lib/KPCV -L/usr/local/kml/lib/sve -lkfft -lkfftf -lkp_litho_img to use KP_LITHO_IMG.