Usage Description
Before using KP_LITHO_IMG, configure related header files, dynamic libraries, and KML dependency libraries, and add corresponding options during compilation.
- Install the KPCV RPM package by following instructions in Installing KPCV.
- 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.
- 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.
You can contact Huawei technical support to obtain KML.
- 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.
Parent topic: KP_LITHO_IMG Operators