You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/05/05 04:00:22 UTC
[GitHub] [rocketmq-client-go] mumushuiding commented on issue #3: go get
rocketmq-client-go error
mumushuiding commented on issue #3: go get rocketmq-client-go error
URL: https://github.com/apache/rocketmq-client-go/issues/3#issuecomment-489387589
windows环境下怎么搞?
我在windows下的操作顺序:
0.下载"http://opensource-rocketmq-client-us.oss-us-west-1.aliyuncs.com/cpp-client/windows/1.2.0/rocketmq-client-cpp.lib"和"http://opensource-rocketmq-client-us.oss-us-west-1.aliyuncs.com/cpp-client/windows/1.2.0/rocketmq-client-cpp.dll"并修改名字成rocketmq.lib和rocketmq.dll
1.将rocketmq.lib和rocketmq.dll放到C:\usr\local\lib下
2.go get github.com/apache/rocketmq-client-go
3.进入rocketmq-client-go/examples目录
4.go build
报错:-mingw32/bin/ld.exe: skipping incompatible /usr/local/lib\rocketmq.lib when searching for -lrocketmq
5.set GOOS=linux
6.go build
报错:..\core\api.go:32:20: undefined: LogConfig
真是难,没招了
3.进入rocketmq-client-go/examples目录
4.go build
报错:-mingw32/bin/ld.exe: skipping incompatible /usr/local/lib\rocketmq.lib when searching for -lrocketmq
5.set GOOS=linux
6.go build
报错:..\core\api.go:32:20: undefined: LogConfig
真是难,没招了
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services