-
Notifications
You must be signed in to change notification settings - Fork 71
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
ubuntu x64下goctp编译失败 #9
Comments
./github.com/qerio/goctp/api/SFIT_CTP_6.3.11_20180109_tradeapi/v6.3.11_20180109_api_tradeapi_linux64 这个目录下面缺少libthostmduserapi.so和libthosttraderapi.so,自行添加或者麻烦请作者添加一下 |
请问你加进去就可以了吗?我的还是报 /usr/bin/ld: 找不到 -lthostmduserapi |
我是在linux下编译的,在cmake文件里设置ctp的目录。如果是在windows下就应该是dll文件了 |
感谢回复,能发下你是怎么设置的吗?谢谢 |
/usr/lib目录下把这两个库文件放进去,命名为libthostmduserapi.so 和libthosttraderapi.so |
go get -u github.com/qerio/goctp 以后显示以下错误,请问如何解决
/usr/bin/ld: 找不到 -lthostmduserapi
/usr/bin/ld: 找不到 -lthosttraderapi
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: