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

fix "log10" compile error by import CMATH lib #1438

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

Zazzle516
Copy link
Contributor

在进行 RISCV 运行的 sherpa-onnx 交叉编译的过程中,执行 ./build-riscv64-linux-gnu.sh 脚本的时候出现了
error: 'log10' is not a member of 'std'
在 sherpa-onnx/sherpa-onnx/csrc/offline-whisper-model.cc 文件中导入 库解决

Copy link
Collaborator

@csukuangfj csukuangfj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you put it after line 7?

We need to keep the includes sorted alphabetically.

@csukuangfj
Copy link
Collaborator

Thank you for your contribution!

@csukuangfj csukuangfj merged commit 4783c8f into k2-fsa:master Oct 17, 2024
XiaYucca pushed a commit to XiaYucca/sherpa-onnx that referenced this pull request Jan 9, 2025
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

Successfully merging this pull request may close these issues.

2 participants