google / lyra

A Very Low-Bitrate Codec for Speech Compression
Apache License 2.0
3.84k stars 355 forks source link

ANDROID BUILD #122

Open weier-sse opened 1 year ago

weier-sse commented 1 year ago

when build lyra for android ,there exists a problem and i don't know how to resolve

ERROR: /root/.cache/bazel/_bazel_root/1bd7c137ca6809c15a81d868c0b66d90/external/com_github_gflags_gflags/BUILD:24:30: Action external/com_github_gflags_gflags/gflags_declare.h failed: (Aborted): expand_template failed: error executing command (cd /root/.cache/bazel/_bazel_root/1bd7c137ca6809c15a81d868c0b66d90/execroot/main && \ exec env - \ bazel-out/host/bin/external/com_github_gflags_gflags/bazel/expanded_template/expand_template --template external/com_github_gflags_gflags/src/gflags_declare.h.in --output bazel-out/arm64-v8a-opt/bin/external/com_github_gflags_gflags/gflags_declare.h '@GFLAGS_NAMESPACE@;google' '@(HAVE_STDINT_H|HAVE_SYS_TYPES_H|HAVE_INTTYPES_H|GFLAGS_INTTYPES_FORMATC99)@;1' '@([A-Z0-9]+)@;0')

mchinen commented 1 year ago

Hi, thanks for the issue. I think we need to see more of the log to view the error. I'm not sure what platform you are building from, but the lyra android build is supported from linux only at this time.