Skip to main content

AXCL-Samples Build Examples

AXCL-Samples is a sample project that helps developers quickly learn how to build executables that run models on the Radxa AICore AX-M1.

AXCL is an API library providing runtime resource management, memory management, model loading and execution, and media data processing APIs.

tip

AXCL-Samples supports both native build and cross-compilation. This document demonstrates the native build.

Make sure the AXCL driver is installed as described in Environment installation.

Download the sample repository

Host
git clone https://github.com/AXERA-TECH/axcl-samples.git

Install build tools

Host
sudo apt update
sudo apt install build-essential cmake libopencv-dev

Build commands

Host
mkdir build && cd build
cmake ..
make install -j4

After a successful build, you should see the sample executables under ./install/bin.

radxa@rock-5b-plus:/Workspace/ax-sdk-demo/axcl-samples/build/install/bin$ tree ./
./
├── axcl_classification
├── axcl_depth_anything
├── axcl_yolo11
├── axcl_yolo11_pose
├── axcl_yolo11_seg
├── axcl_yolov10
├── axcl_yolov10_u
├── axcl_yolov5_face
├── axcl_yolov5s
├── axcl_yolov5s_seg
├── axcl_yolov7_face
├── axcl_yolov8
├── axcl_yolov8_pose
├── axcl_yolov8_seg
├── axcl_yolov9
├── axcl_yolov9_u
└── axcl_yolo_world_open_vocabulary
Click to jump to model demo pages

Vision models
Multimodal models

    You need to be logged into GitHub to post a comment. If you are already logged in, please ignore this message.

    Radxa-docs © 2026 by Radxa Computer (Shenzhen) Co.,Ltd. is licensed under CC BY 4.0