vnpy/binding/Build.Windows.md
2019-01-21 05:48:38 -04:00

929 B
Raw Blame History

Building vnpy.binding on Windows

环境要求

在编译之前,你必须确保已经安装好如下组件:

编译步骤

确保你安装好了Python3CMake还有Visual Studio和C++编译环境之后到vnpy/binding目录下打开控制台执行CMake:

mkdir build
cd build
cmake-gui ..

如果提示找不到Python请自行设置USER_PYTHON_INCLUDE_DIR和USER_PYTHON_LIBRARIY

打开vnpy_binding.sln编译或者在x64 Native Tools Command Prompt for VS 2017中运行以下代码·

msbuild vnpy_binding.sln