Boost logo

Boost-Build :

Subject: [Boost-build] Boost Mpi Building Problem on Windows XP
From: 熊耀华 (xiongyaohua_at_[hidden])
Date: 2009-04-05 06:24:37


Hi, everyone.

I'm trying to build boost mpi and here is my developing platform.
Windows XP SP3, Visual C++ 2008, Python 2.5, MPICH2, boost 1.38.0.

First I use user-config.jam file like this

>using msvc ;
>using mpi : : <find-shared-library>cxx
> <find-shared-library>mpi ;

and the building process finished without problem. Then I try to build the
boost mpi python module, so I change user-config.jam file like this

>using msvc ;
>using python ;
>using mpi : : <find-shared-library>cxx
> <find-shared-library>mpi ;

This time the compiler generate a long errors like this

>libs\mpi\src\python\skeleton_and_content.cpp(110) : error C2668: 'boost::python:
>:make_tuple' : ambiguous call to overloaded function
> .\boost/python/detail/make_tuple.hpp(22): could be 'boost::python::tuple
> boost::python::make_tuple<boost::python::api::object,boost::mpi::status>(const
>A0 &,const A1 &)'
> with
> [
> A0=boost::python::api::object,
> A1=boost::mpi::status
> ]
> .\boost/tuple/detail/tuple_basic.hpp(793): or 'boost::tuples::tupl
>e<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9> boost::tuples::make_tuple<boost::python::api::o
>bject,boost::mpi::status>(const T0 &,const T1 &)' [found using argument-dependen
>t lookup]
> with
> [
> T0=boost::python::api::object,
> T1=boost::mpi::status,
> T2=boost::tuples::null_type,
> T3=boost::tuples::null_type,
> T4=boost::tuples::null_type,
> T5=boost::tuples::null_type,
> T6=boost::tuples::null_type,
> T7=boost::tuples::null_type,
> T8=boost::tuples::null_type,
> T9=boost::tuples::null_type
> ]
> while trying to match the argument list '(const boost::python::api::obje
>ct, boost::mpi::status)'
>
> call "D:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 >nu
>l
>cl /Zm800 -nologo @"bin.v2\libs\mpi\build\msvc-9.0\release\threading-multi\pytho
>n\skeleton_and_content.obj.rsp"

What's the problem?Anyone had the mpi python module successfully build
on windows?

--

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk