gochain / web3

A CLI tool to interact with web3 blockchains - Ethereum, GoChain, etc
https://gochain.io
Apache License 2.0
402 stars 88 forks source link

Failed to compile, image does not match #254

Open bitcoinmeetups opened 2 years ago

bitcoinmeetups commented 2 years ago

Hello,

I'm BM. A very nice and polite guy.

I tried to compile a contract but I got this error message:

ERROR: Failed to compile "TEST_flatten.sol": solc: exit status 1 WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested standard_init_linux.go:228: exec user process caused: exec format error

Platform: Raspberry Pi 4

Please let me know if there is a way to compile on Raspberry Pi 4, it would be really nice and useful.

Also, what is the name of the docker container that is used for building?

treeder commented 2 years ago

You could try to build web3 on the pi itself?