How to compile IPFS under windows
This article will explain in detail how to compile IPFS under windows. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
The compilation of go-IPFS under windows should follow the instructions here: https://github.com/ipfs/go-ipfs/blob/master/docs/windows.md#minimal
I choose MSYS
However, the following problems are encountered:
The error message is as follows:
Plugin\ loader\ preload.go:12:2: undefined: pluginipldgit
Plugin\ loader\ preload.go:13:2: undefined: pluginbadgerds
Plugin\ loader\ preload.go:14:2: undefined: pluginflatfs
Plugin\ loader\ preload.go:15:2: undefined: pluginlevelds
Solution
In E:\ Gowork\ src\ github.com\ ipfs\ go-ipfs\ plugin\ loader\ preload.sh
Cat