wenet-e2e / wetts

Production First and Production Ready End-to-End Text-to-Speech Toolkit
Apache License 2.0
356 stars 56 forks source link

Android Demo编译失败 Failed to build Android Demo #206

Open tanyuzhou opened 4 months ago

tanyuzhou commented 4 months ago

Describe the bug 命令行使用git clone -c core.symlinks=true https://github.com/wenet-e2e/wetts.git将repo克隆至本地后,尝试使用Android Studio编译,cmake报错找不到依赖

To Reproduce Steps to reproduce the behavior:

  1. 使用Android Studio打开wetts\runtime\android目录
  2. 点击Build->Rebuild Project
  3. :app:buildCMakeDebug阶段报错找不到fst/fstlib.hglog/logging.honnxruntime_cxx_api.h头文件

Expected behavior 正常编译并打包apk

Screenshots

image

image

image

Desktop (please complete the following information):

Additional context 看图二报错,貌似和Windows的软链接有关,不知道大佬们用的是什么开发环境呢?

In file included from ***/wetts/runtime/android/app/src/main/cpp/utils/utils.cc:15:
***/wetts/runtime/android/app/src/main/cpp\utils/utils.h:24:10: fatal error: 'glog/logging.h' file not found
cmake -E tar: warning: skipping symbolic link "WeTextProcessing-0.1.3/itn/chinese/test/utils.py" -> "../../../tn/chinese/test/utils.py".
cmake -E tar: warning: skipping symbolic link "WeTextProcessing-0.1.3/runtime/android/app/src/main/cpp/cmake" -> "../../../../../cmake".
cmake -E tar: warning: skipping symbolic link "WeTextProcessing-0.1.3/runtime/android/app/src/main/cpp/patch" -> "../../../../../patch".
cmake -E tar: warning: skipping symbolic link "WeTextProcessing-0.1.3/runtime/android/app/src/main/cpp/processor" -> "../../../../../processor".
cmake -E tar: warning: skipping symbolic link "WeTextProcessing-0.1.3/runtime/android/app/src/main/cpp/utils" -> "../../../../../utils".