xtp_api_python icon indicating copy to clipboard operation
xtp_api_python copied to clipboard

在 python3.7 下的编译问题

Open Rick1125 opened this issue 5 years ago • 0 comments

source 目录下执行bash build.sh,运行提示错误: CMake Error at /usr/local/Cellar/cmake/3.15.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Boost (missing: python3) (found suitable version "1.70.0", minimum required is "1.66.0")

经查boost 文档,find_package 需要指定 python 版本的前缀,即python3 => python37

此处需要在 CMakeLists.txt 中修改python3为python37,但如何兼容python3.x,没有想好具体方案。

Rick1125 avatar Jul 22 '19 03:07 Rick1125