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
win64平台编译失败 #4
Comments
mineralres ,win64 后来编译成了没? |
Windows系统的dll用的vs编译器,导出的Dll没有用extern c ,gcc 编译各种坑,直接放弃 |
我也弃坑了,golang加c, c++用起来特别不爽 |
修改“-Wl,-rpath=”为“-Wl,-rpath,”,避免报错。这个问题已经解决。 |
仍然不行 go build github.com/qerio/goctp: invalid flag in #cgo LDFLAGS: C:/Users/Administ |
|
@sunnyboy00 这个问题我正在解决,目前主要确定CGO是否支持Windows DLL 或 lib文件的加载。 |
请问有没有在win64下编译的注意事项?我编译出现如下错误:
go build github.com/qerio/goctp: invalid flag in #cgo LDFLAGS: -Wl,-rpath=C:/Users/admin/go/src/github.com/qerio/goctp/api/ThostTraderApi_v6.3.6/win64
go version go1.10 windows/amd64
The text was updated successfully, but these errors were encountered: