web3 icon indicating copy to clipboard operation
web3 copied to clipboard

Failed to compile, image does not match

Open bitcoinmeetups opened this issue 2 years ago • 1 comments

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?

bitcoinmeetups avatar Mar 22 '22 02:03 bitcoinmeetups

You could try to build web3 on the pi itself?

treeder avatar Mar 30 '22 14:03 treeder