Boost::Python Windows 7 64 Bit
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:
- Open tools/build/v2/tools/python.jam
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)\" ; }
Remove that code block completely.
I'll create an issue in Boost issue tracker and investigate this.
精彩评论