Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android compile Error #2560

Open
wgfi110 opened this issue Jun 28, 2024 · 2 comments
Open

Android compile Error #2560

wgfi110 opened this issue Jun 28, 2024 · 2 comments
Assignees

Comments

@wgfi110
Copy link

wgfi110 commented Jun 28, 2024

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

@robin1001
Copy link
Collaborator

@pengzhendong would you please help on the problem?

@jprobichaud
Copy link

I'm getting the same issue. It is also reported in #2615

./gradlew --version

------------------------------------------------------------
Gradle 7.5
------------------------------------------------------------

Build time:   2022-07-14 12:48:15 UTC
Revision:     c7db7b958189ad2b0c1472b6fe663e6d654a5103

Kotlin:       1.6.21
Groovy:       3.0.10
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          11.0.24 (Ubuntu 11.0.24+8-post-Ubuntu-1ubuntu322.04)
OS:           Linux 6.9.3-76060903-generic amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants