Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost::MPI Configuration?
From: Yaohua Xiong (xiongyaohua_at_[hidden])
Date: 2009-04-26 20:43:24


Hi Vladimir, thank you for your help, but there is still another noob
question I'd like to ask.

When I linking boost::python the link complain can't link to python's dll file.
then I follow the instruction on "http://sebsauvage.net/python/mingw.html"
to generate a import lib called "libpython25.a" from the python25.dll using
pexports and dlltool., and the linking problem is solved.

I noticed that it's claimed that the recent mingw version could
linking directly to
dll without generate import lib, is it possible to config the build system
link to python25.dll directly?

On Sun, Apr 26, 2009 at 1:32 PM, Vladimir Prus
<vladimir_at_[hidden]> wrote:
> 熊耀华 wrote:
>
>> On Sat, Apr 25, 2009 at 10:03 PM, Vladimir Prus <ghost_at_[hidden]> wrote:
>>> On Saturday 25 April 2009 14:10:03 熊耀华 wrote:
>>>> Hi, everyone.
>>>>
>>>> I'm a newcomer to the boost community and trying to compile boost::mpi
>>>> on winXP with mingw 3.4.5.
>>>> The mpi implementation I use is MPICH2 and it looks like the
>>>> boost::build system can not recognize
>>>> it automatically, the compiler give whole bunch of error complaining
>>>> "Can't found header file ...".
>>>>
>>>> I have read installing instructions in the boost::mpi manual, it say's
>>>> I can add something like this
>>>>
>>>> >>using mpi : : <find-shared-library>lammpio <find-shared-library>lammpi++
>>>> >> <find-shared-library>mpi <find-shared-library>lam
>>>> >> <find-shared-library>dl ;
>>>>
>>>> in the user-config.jam. I tried but it doesn't work and I think these
>>>> options are telling the
>>>> boost::build system where to find the lib file not the header file.
>>>
>>> I imagine you can add
>>>
>>> <include>xxx
>>>
>>> options as well.
>>>
>>> - Volodya
>>>
>>
>> Yes, it works. Thanks Vladimir.
>>
>> Besides, is the "<include>xxx" option universal to all boost packages
>> or specific to the mpi package, can I
>> use it to config other package like boost::python?
>
> It is not -- for other modules the 'using' function may take different
> paramaters.
>
> - Volodya
>
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>

-- 
Yaohua Xiong

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