16eb0bf44c
[Mod] updated build instruments [Mod] move all documents into /doc
1006 B
1006 B
Building vnpy.binding on Windows
环境要求
在编译之前,你必须确保已经安装好如下组件:
- Python3
- CMake
- Visual Studio 2017 with C++ Desktop Development
编译步骤
确保你安装好了Python3,CMake还有Visual Studio和C++编译环境,下载好vnpy并解压。
打开开始菜单-Visual Studio 2017-x64 Native Tools Command Prompt for VS 2017
在弹出的控制台中运行以下命令:(假设你解压到C:\vnpy下)
cd C:\vnpy
mkdir binding/build
cd binding/build
cmake -G "Visual Studio 15 2017 Win64" ..
msbuild vnpy_binding.sln /p:Configuration=Release /p:Platform=x64