varphone / rkaiq

Rockchip RKAIQ bindings for Rust.
1 stars 0 forks source link

rkaiq

Rockchip RKAIQ bindings for Rust.

Build Examples

Before you build the examples, you must set the env:

to tell pkg-config and bindgen where to find dependencies.

For example: with Full-V RKLASER1 Boards

export PKG_CONFIG_SYSROOT_DIR=/opt/fullv/2021.02.8-rklaser1/staging
export RKAIQ_INCLUDE_DIR=/opt/fullv/2021.02.8-rklaser1/staging/usr/include/rkaiq
export TARGET_SYSROOT_DIR=/opt/fullv/2021.02.8-rklaser1/staging

Build an run examples:

cargo r --example minimal

Features