alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.81k stars 1.09k forks source link

Building binary for armv7 with the Dockerfile. #1056

Open DettaWay opened 2 years ago

DettaWay commented 2 years ago

There would appear to be an issue with the common.h file when building the binary via DOCKER. OpenBLAS errors out and says that "you must define ARMV5,ARMV6,ARMV7".

Their page says this means there is a file not getting properly configured and therefore causing this error. It is hard to pinpoint which particular file could be responsible.

svenha commented 2 years ago

I don't know if this is an option for you: I successfully built on a Raspberry 4, but not using Docker, instead following the steps from the file https://github.com/alphacep/vosk-api/blob/master/travis/Dockerfile.manylinux on the Raspberry 4 under Ubuntu 22.04.

DettaWay commented 1 year ago

Are you saying the Rasperry runs on Ubuntu?

On Jul 11, 2022 at 12:08 PM, <svenha @.***)> wrote:

I don't know if this is an option for you: I successfully built on a Raspberry 4, but not using Docker, instead following the steps from the file https://github.com/alphacep/vosk-api/blob/master/travis/Dockerfile.manylinux (https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Falphacep%2Fvosk-api%2Fblob%2Fmaster%2Ftravis%2FDockerfile.manylinux&data=05%7C01%7Csalimzed%40g-mail.buffalo.edu%7C8f6f2056b5654d7db7a308da6370bed4%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C637931633125997155%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cwg5tCms1fMJ%2BO1rxUovHwBmCNwcvqxVTkDHOnaCcEw%3D&reserved=0) on the Raspberry 4 under Ubuntu 22.04.

— Reply to this email directly, view it on GitHub (https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Falphacep%2Fvosk-api%2Fissues%2F1056%23issuecomment-1180764466&data=05%7C01%7Csalimzed%40g-mail.buffalo.edu%7C8f6f2056b5654d7db7a308da6370bed4%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C637931633125997155%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=EtXWpQNVwlJJvGljytLFyTTGEf4ZBskZt%2BFDnJaJjNg%3D&reserved=0), or unsubscribe (https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASXSYE5ZSAJ7L4TURM7LITTVTRWK5ANCNFSM526KOEXQ&data=05%7C01%7Csalimzed%40g-mail.buffalo.edu%7C8f6f2056b5654d7db7a308da6370bed4%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C637931633125997155%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=D4JHt9ca3yCToDddCSbwhMoEzu%2Bc5A0ttys1YpcImYI%3D&reserved=0). You are receiving this because you authored the thread.Message ID: @.***>

svenha commented 1 year ago

Yes, Ubuntu is very convenient on the Raspberry 4.