标题: [Experience Sharing] Compile filter based on OpenHarmony [打印本页] 作者: itDyh12 时间: 2024-4-13 19:49 标题: [Experience Sharing] Compile filter based on OpenHarmony [md]## preface
* The OpenHarmony printing system is based on CUPS to build printing capabilities, and printer manufacturers can adapt the driver to HarmonyOS based on the Linux printing driver development experience, compile an arm32-bit filter and debug it on the RK3568 development board
## OpenHarmony compilation environment
1. Prepare the compilation environment of ubuntu22 or later
2. Get the OpenHarmony 4.0Release source code
3. To compile the default filter of CUPS-Filters, compile the command:`./build.sh --product-name rk3568 --build-target third_party/cups-filters:third_party_cupsfilters`
4. If there is a compilation error, the error is resolved based on the corresponding download dependency
## Add driver filter compilation configuration to compile arm32-bit filter