开发者

Boost::Python Windows 7 64 Bit

开发者 https://www.devze.com 2022-12-10 19:20 出处:网络
I can\'t seem to build boost::python correctly on my Windows 7 64Bit machine.It\'s vanilla 32bit python 2.6.4 in the c:\\Python26 directory.

I can't seem to build boost::python correctly on my Windows 7 64Bit machine. It's vanilla 32bit python 2.6.4 in the c:\Python26 directory.

Pastebin is here of the deb开发者_如何学Goug build output : http://pastebin.com/m7d70f13e

Cheers,

Al


On IRC, we have found the following procedure fixes the problem:

  1. Open tools/build/v2/tools/python.jam
  2. There, locate the following code:

    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. Remove that code block completely.

I'll create an issue in Boost issue tracker and investigate this.

0

精彩评论

暂无评论...
验证码 换一张
取 消