google / lyra

A Very Low-Bitrate Codec for Speech Compression

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to build for linux

Ryuk17 opened this issue · comments

commented

I try to build lyra for linux with bazel build -c opt :encoder_main, while I met the following error, which seems that the Android NDK is necessary.
2022-08-09 12-51-24 的屏幕截图

If I just want to build and run lyra on linux, is it necessary to download Android NDK ?

Unfortunately at this time, the Android NDK is necessary even to build Lyra for Linux. But a completely agree that it shouldn't. We'll be looking into it, but if you figure it out, patches are always welcome :)

commented

Thanks for you reply, I am willing to find some methods to build Lyra for Linux without Android NDK.

This will be fixed in the next release, but in the meantime, as a workaround, you can remove the android_sdk_repository and android_ndk_repository from the WORKSPACE.

This was fixed with the Lyra 1.2.0 release.