kaldi-asr / kaldi

kaldi-asr/kaldi is the official location of the Kaldi project.
http://kaldi-asr.org
Other
14.24k stars 5.32k forks source link

compile kaldi android error: configure failed: aarch64-linux-android-clang++ is not installed [solved] #4665

Closed 731942771 closed 2 years ago

731942771 commented 2 years ago

I compiling for Android using Android NDK, learn from http://jcsilva.github.io/2017/03/18/compile-kaldi-android/ when i make kaldi.mk , erminal process discontinue: ***configure failed: aarch64-linux-android-clang++ is not installed. You need GNU g++ >= 5.0, Apple clang >= 6.0 or LLVM clang >= 3.5. *** I don't know that what's wrong, I created a question on stackoverflow : https://stackoverflow.com/questions/70046819/compile-kaldi-android-error-configure-failed-aarch64-linux-android-clang-is thanks for your help . ps. how to add help wanted label here?

jtrmal commented 2 years ago

maybe you don't set up the android NDK paths well? or they renamed the compiler? y.

On Sat, Nov 20, 2021 at 9:51 AM 731942771 @.***> wrote:

I compiling for Android using Android NDK, learn from http://jcsilva.github.io/2017/03/18/compile-kaldi-android/ when i make kaldi.mk , erminal process discontinue: configure failed: aarch64-linux-android-clang++ is not installed. You need GNU g++ >= 5.0, Apple clang >= 6.0 or LLVM clang >= 3.5. I don't know that what's wrong, I created a question on stackoverflow :

https://stackoverflow.com/questions/70046819/compile-kaldi-android-error-configure-failed-aarch64-linux-android-clang-is thanks for your help .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/4665, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUKYX4JHEBSUV2Y5BNHZFTUM6YWFANCNFSM5IOBBGSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

731942771 commented 2 years ago

Contributor

Thanks! yeh, The NDK path is in env, but I used the built-in toolchains. I rebuild it used make_standalone_toolchain.py today, make kaldi.mk well. I don't know why, anyway, problem solved.

jtrmal commented 2 years ago

great, closing as it's resolved