ITeye博客

如何在编译boost python的时候指定所用python的版本

yoshiyan · 2012-05-30 16:45 · C++ · 编程语言 · Markdown

修改user-config.jam文件

以boost 1.49为例,此文件的路径如下: H:\boost_1_49_0\boost_1_49_0\tools\build\v2\

找到如下的部分,并根据需要进行修改。

---------------------

Python configuration.

---------------------

Configure specific Python version.

using python : 2.7 : C:/Python27 : C:/Python27/include : C:/Python27/libs ;

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。