【问题标题】:Boost::Python Windows 7 64 Bit升压::Python Windows 7 64 位
【发布时间】:2010-12-14 19:30:42
【问题描述】:

我似乎无法在我的 Windows 7 64 位机器上正确构建 boost::python。它是 c:\Python26 目录中的香草 32 位 python 2.6.4。

Pastebin 是调试版本的输出:http://pastebin.com/m7d70f13e

干杯,

阿尔

【问题讨论】:

  • 我没有答案,但如果您愿意帮助解决这个问题,请加入 freenode 上的#boost 频道,并在那里 ping 'volodya'。如果你不习惯 IRC,你可以安装名为 Chatzilla 的 Firefox 扩展——它在预配置的网络中有 freenode,所以你只需要启动它,点击网络并加入频道。

标签: python boost windows-7 64-bit


【解决方案1】:

在 IRC 上,我们发现以下程序可以解决问题:

  1. 打开工具/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 问题跟踪器中创建一个问题并对此进行调查。

【讨论】:

  • 这已经成为上游了吗?我刚刚在 boost 1.51 中遇到了这个错误,看到 svn.boost.org/trac/boost/ticket/5023 仍然打开。您在调查方面需要帮助吗?
  • 是的,这也发生在 1.53 中。 @Vladimir,这个错误的状态是什么??
猜你喜欢
  • 2013-09-19
  • 2013-01-12
  • 1970-01-01
  • 2015-02-28
相关资源
最近更新 更多