From 0fe966ca1994713af5cc421c920e0284842e3576 Mon Sep 17 00:00:00 2001 From: chenxy123 Date: Sat, 12 Nov 2016 22:07:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9vn.ib=E7=9A=84readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vn.ib/README.md | 13 +++++++++++++ .../settings/Windows Azure Subscriptions.xml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/vn.ib/README.md b/vn.ib/README.md index 34a396fa..cbd212fb 100644 --- a/vn.ib/README.md +++ b/vn.ib/README.md @@ -17,6 +17,19 @@ ### 对原生接口的修改部分 shared_ptr.h和SoftDollerTier.h中加入了对象比较函数的代码,用于实现其对应vector的自动Python封装。 +### Linux版 +作者做了一些尝试,但目前vn.ib文件夹下的CMakeLists.txt无法编译出可以使用的so文件,最终在Python中import时会报错 + + undefined symbol: _ZN7ECLIENT11EncodeFieldIPKcEEvRSoT + +目前已经踩过的坑: + +1. 原生API里有个调用min函数的地方会报错,要修改为std::min +2. 上面的原生接口修改部分依旧必须修改 +3. IB API提供了所有的源文件,所以调用链接器时无需加上IB API所在的文件夹(不确定) + +希望社区里有朋友能试着解决这个问题吧。 + ### API版本 版本:IB API for Windows beta 9.72.18 diff --git a/vn.ib/vnib/Visual Studio 2013/settings/Windows Azure Subscriptions.xml b/vn.ib/vnib/Visual Studio 2013/settings/Windows Azure Subscriptions.xml index 5d668f3b..67964060 100644 --- a/vn.ib/vnib/Visual Studio 2013/settings/Windows Azure Subscriptions.xml +++ b/vn.ib/vnib/Visual Studio 2013/settings/Windows Azure Subscriptions.xml @@ -1,5 +1,5 @@ - AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAhuIZgFnYcU6wvp5DI4FozAAAAAACAAAAAAAQZgAAAAEAACAAAABSecZ3XkHz1XFYc0nCk5Yiz9Qe6FbTHXXa1BTG6vCZOwAAAAAOgAAAAAIAACAAAAAAtzvgNjp1LEEdupcL4nO9bua8wJolOEbWc5wAG28QMhAAAABhsBhGxU9U551VeMJ5xwKVQAAAAIZXA4STAiZ4xXT9jqMpGhDeYI6VmzvdRa64Ot83fkOMW1JHpm9h2dFZCuwr5wnnETH4pdxZhrEmKeEzXstiRjE= + AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAhuIZgFnYcU6wvp5DI4FozAAAAAACAAAAAAAQZgAAAAEAACAAAAALBgeBj8dXL5Gh0xMuSVlRNX9JGKKk1QFL46sYke8PTAAAAAAOgAAAAAIAACAAAACFAql2HxXhMs5JsLCtVBSm2D7YbT5aVs7OtUOKy+pTvRAAAABMjbU0ttovQvbhbx4g/xSPQAAAALtLRaDwu+ty/UZg9mTFWLFHhZqjDNLjVENgH6F6VisJ4CKF3jiNgg+jdOG0M1PodlkN99K+0bJGiJskgv1g/94= \ No newline at end of file