From eaf5c944dffc0280b155f89341e477e05a2ec929 Mon Sep 17 00:00:00 2001 From: lhzw Date: Sat, 13 Feb 2016 21:56:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0debian=20linux=E4=B8=8B?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE=E5=8F=8A=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E8=BF=87=E7=A8=8B=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vn.ctp/readme.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/vn.ctp/readme.md b/vn.ctp/readme.md index 6ad7996d..72cb633d 100644 --- a/vn.ctp/readme.md +++ b/vn.ctp/readme.md @@ -19,6 +19,16 @@ * [Anaconda1.9.2](http://repo.continuum.io/archive/index.html): 量化相关包的Python发行版 * 编译工具:windows下选择visual studio 2013;linux下使用g++。 +Linux: (Debian jessie) +* apt-get install build-essential +* apt-get install libboost-all-dev +* apt-get install python-dev +* apt-get install cmake +* 下载ctp api tar包,比如v6.3.5_20150803_tradeapi_linux64.tar,重命名ctp api so文件名: +** thostmduserapi.so --> libthostmduserapi.so +** thosttraderapi.so --> libthosttraderapi.so + + # 编译过程 ------------- @@ -28,3 +38,6 @@ * 点击generate。如果没有错误则配置成功 * 进入build目录,双击vn_ctp_api.sln打开解决方案 * 点击编译按钮,建议编译release库 + +Linux: (Debian jessie) +* 当前目录运行build.sh,完成编译