gateway-rs icon indicating copy to clipboard operation
gateway-rs copied to clipboard

build problem

Open Bei-Ji-Quan opened this issue 1 year ago • 5 comments

Hi, when I build the gateway-rs, some problem occurs. could anyone help me? Thanks 图片

Bei-Ji-Quan avatar Jan 14 '24 09:01 Bei-Ji-Quan

Don’t use the -r option to cross.

On Sun, Jan 14, 2024 at 03:04 Bei-Ji-Quan @.***> wrote:

Hi, when I build the gateway-rs, some problem occurs. could anyone help me? Thanks default.png (view on web) https://github.com/helium/gateway-rs/assets/89368507/b79b4f49-3e95-4135-81e3-17cd4070d5a0

— Reply to this email directly, view it on GitHub https://github.com/helium/gateway-rs/issues/476, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAACZBSLQ7L7ETRBMXKZBO3YOONQJAVCNFSM6AAAAABBZ6LPO6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DANRUGQ3DQMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

madninja avatar Jan 14 '24 10:01 madninja

It's the same with out -r. 图片

Bei-Ji-Quan avatar Jan 14 '24 12:01 Bei-Ji-Quan

“cargo build --target x86_64-unknown-linux-gnu --release“ can works. But It can not be used for build aarch64 release on a x86_x64_amd machine

Bei-Ji-Quan avatar Jan 14 '24 12:01 Bei-Ji-Quan

Can you use cargo make like the README indicates?

madninja avatar Jan 14 '24 15:01 madninja

I do not see cargo make in README. Do you means "cross build --profile --release build" ? 图片

Bei-Ji-Quan avatar Jan 14 '24 16:01 Bei-Ji-Quan