When `-D BUILD_SHARED_LIBS=ON` is passed to `cmake`, it builds a single shared library. Specifically, - For C APIs, it builds `libsherpa-onnx-c-api.so` - For Python APIs, it builds `_sherpa_onnx.cpython-xx-xx.so` - For Kotlin and Java APIs, it builds `libsherpa-onnx-jni.so` There is no `libsherpa-onnx-core.so` any longer. Note it affects only shared libraries.
Introduction
This directory contains examples for Dart API.
You can find the package at https://pub.dev/packages/sherpa_onnx
How to create an example in this folder
dart create vad
cd vad
# Edit pubspec.yaml and add sherpa_onnx to dependencies
dart pub get
dart run