wenet-e2e / wenet

Production First and Production Ready End-to-End Speech Recognition Toolkit
https://wenet-e2e.github.io/wenet/
Apache License 2.0
3.87k stars 1.03k forks source link

Android compile Error #2560

Open wgfi110 opened 3 days ago

wgfi110 commented 3 days ago

Describe the bug [CXX1306] D:\workspace\wenet\runtime\android\app\src\main\cpp\CMakeLists.txt debug|arm64-v8a : CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: FBJNI_LIBRARY linked by target "decoder" in directory D:/workspace/wenet/runtime/android/app/src/main/cpp/decoder PYTORCH_LIBRARY linked by target "decoder" in directory D:/workspace/wenet/runtime/android/app/src/main/cpp/decoder

To Reproduce Steps to reproduce the behavior:

  1. Environment: Android Studio Hedgehog | 2023.1.1 Patch 2 Build #AI-231.9392.1.2311.11330709, built on January 19, 2024 Runtime version: 17.0.7+0-b2043.56-10550314 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10.0 GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 20 Registry: external.system.auto.import.disabled=true ide.text.editor.with.preview.show.floating.toolbar=false

Android SDK Build-Tools: 30.0.3 NDK: 22.0.7026061 Android SDK Command-line Tools: 4.0.0 CMake: 3.10.2.4988404 Android Emulator Android SDK Platform-tool

Operation:Win10 Wenet: newest master