Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在 python3.7 下的编译问题 #1

Open
Rick1125 opened this issue Jul 22, 2019 · 0 comments
Open

在 python3.7 下的编译问题 #1

Rick1125 opened this issue Jul 22, 2019 · 0 comments

Comments

@Rick1125
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant