Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem in building the BGL Python 0.95 on Windows
From: John Reid (j.reid_at_[hidden])
Date: 2013-06-28 05:53:13


On 20/06/13 09:18, lizy10b wrote:
> 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
>
Did you try building one of the boost.python examples (available
somewhere like $BOOST_ROOT/libs/python/examples)? That might be the
simplest way to test your boost.build python configuration.


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