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")
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,没有想好具体方案。