Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows下编译 abigen,此前使用v3版本编译成功 #269

Open
userInner opened this issue Mar 12, 2024 · 2 comments
Open

windows下编译 abigen,此前使用v3版本编译成功 #269

userInner opened this issue Mar 12, 2024 · 2 comments

Comments

@userInner
Copy link

##错误
image
##go环境

PS D:\downloads\go-sdk-master-FISCO-BCOS-v2\go-sdk-master-FISCO-BCOS-v2> go env
set GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\XJX\AppData\Local\go-build
set GOENV=C:\Users\XJX\AppData\Roaming\go\env  
set GOEXE=
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\XJX\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=linux
set GOPATH=C:\Users\XJX\go
set GOPRIVATE=
set GOPROXY=https://goproxy.cn,direct
set GOROOT=D:\gosdks\go1.18.2\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=D:\gosdks\go1.18.2\go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.18.2
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=0
set GOMOD=D:\downloads\go-sdk-master-FISCO-BCOS-v2\go-sdk-master-FISCO-BCOS-v2\go.mod
set GOWORK=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-fPIC -m64 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\XJX\AppData\Local\Temp\go-build3763373145=/tmp/go-build -gno-record-gcc-switches
@bxq2011hust
Copy link
Member

可以检查下是不是golang版本问题

@userInner
Copy link
Author

userInner commented Mar 14, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants