Boost::Python Windows 7 64 Bi

2024-10-01 09:38:40 发布

您现在位置:Python中文网/ 问答频道 /正文

我似乎无法在我的Windows7 64位机器上正确地构建boost::python。它是c:\Python26目录中的香草32位python2.6.4。在

这里是调试生成输出的Pastebin:http://pastebin.com/m7d70f13e

干杯

艾尔


Tags: 目录com机器httpboost香草pastebinpython26
1条回答
网友
1楼 · 发布于 2024-10-01 09:38:40

在IRC上,我们发现以下过程解决了此问题:

  1. 打开tools/build/v2/tools/python.jam版在
  2. 在那里,找到以下代码:

    if [ version.check-jam-version 3 1 17 ] || ( [ os.name ] != NT )
    {
        # Prior to version 3.1.17 Boost Jam's SHELL command did not support
        # quoted commands correctly on Windows. This means that on that
        # platform we do not support using a Python command interpreter
        # executable whose path contains a space character.
        python-cmd = \"$(python-cmd)\" ;
    }
    
  3. 完全移除代码块。

我将在Boost问题跟踪器中创建一个问题并对此进行调查。在

相关问题 更多 >