I am using Windows 10. When I tried to build Chaincode, it reported this error
# github.com/hyperledger/fabric/vendor/github.com/miekg/pkcs11 exec: "gcc": executable file not found in %PATH%
My chain code is imported:
import ( "fmt" "strconv" "github.com/hyperledger/fabric/core/chaincode/shim" pb "github.com/hyperledger/fabric/protos/peer" )
Everything works fine in Docker .
windows build go cgo hyperledger-fabric
jaswanth
source share