Boost logo

Boost Users :

Subject: [Boost-users] Problem in building the BGL Python 0.95 on Windows
From: lizy10b (lizy10b_at_[hidden])
Date: 2013-06-20 04:18:00


Hi there,
  I have got the latest BGL-Python 0.95 from svn (thanks to John), but I can't build it.
My environment:
Windows 7 x64, Python 2.66 x86, MPICH2 1.32 x86, VS2010

I have tried the following steps:

1. The boost 1.53 source code distribution dir (newly extracted from the zip package) is E:\boost_1_53_0,
     the BGL Python 0.95 source code dir is E:\bgl-python_svn_095
2. Add a new environment variable, name: BOOST_ROOT, value: E:\boost_1_53_0
3. Append the boost 1.53 source code distribution dir (E:\boost_1_53_0) to the environment variable "PATH" to expose later built bjam.exe file.
4. Add some lines to the file user-config.jam (E:\boost_1_53_0\tools\build\v2\user-config.jam)
import toolset : using ;
using python : 2.6 : "C:\\Python266" : "C:\\Python266\\include" : "C:\\Python266\\libs" ;
using mpi : :
    <find-static-library>mpi
    <library-path>"D:\\Program Files (x86)\\MPICH2\\lib"
    <include>"D:\\Program Files (x86)\\MPICH2\\include"
  :
    "\"D:\\Program Files (x86)\\MPICH2\\mpiexec\""
;
5. Open the vs2010 commandline window (Visual Studio Command Prompt 2010)
6. Navigate to boost 1.53 source code distribution dir to build the bjam.exe:
type bootstrap.bat
7. Then navigate to the BGL-Python-0.95 source code dir and type
bjam --prefix=E:\boost_1_53_0\release32 stage toolset=msvc-10.0 variant=release link=static address-model=32 architecture=x86 threading=multi runtime-link=shared install

The outputs are:
Jamfile.v2:198: in load-aux
rule python.get-python-interpreter unknown in module Jamfile</E:/bgl-python_svn_
095>
E:/boost_1_53_0/tools/build/v2/build\project.jam:323: in load-jamfile
E:/boost_1_53_0/tools/build/v2/build\project.jam:62: in load
E:/boost_1_53_0/tools/build/v2/build\project.jam:168: in project.find
E:/boost_1_53_0/tools/build/v2\build-system.jam:570: in load
E:\boost_1_53_0\tools\build\v2/kernel\modules.jam:283: in import
E:\boost_1_53_0\tools\build\v2/kernel/bootstrap.jam:142: in boost-build
E:\boost_1_53_0\boost-build.jam:17: in module scope
E:\bgl-python_svn_095>

and the building process stopped.
So what is the problem?
Thanks.
Zhiyu Li



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net