Boost logo

Boost-Build :

Subject: [Boost-build] Building Boost MPI with MSMPI
From: Grischa Jacobs (jacobs_at_[hidden])
Date: 2012-11-07 13:56:10


Hi,

I successfuly builded boost mpi with reference to msmpi. If I try to
compile a simple test program I get linking errors. I tried a lot of
different things without success. Here is how I builded boost mpi:

.\b2 --build-dir=xx --stagedir=xx --build-type=complete --with-mpi
--debug-configuration --link=static -d+2 --runtime-link=static -q

I have set up all the include directories to boost and msmpi and all the
lib directories to boost mpi and msmpi.
The result I get in vs2012:

Error 1 error LNK2019: unresolved external symbol "public: __cdecl
boost::mpi::communicator::communicator(void)"
(??0communicator_at_mpi@boost@@QEAA_at_XZ) referenced in function main
C:\Users\grischa\Desktop\Parallele
Arbeit\PICSimulationBoost\PICSimulationBoost\PICSimulationBoost.obj
PICSimulationBoost
Error 2 error LNK2019: unresolved external symbol "public: int
__cdecl boost::mpi::communicator::rank(void)const "
(?rank_at_communicator@mpi_at_boost@@QEBAHXZ) referenced in function main
C:\Users\grischa\Desktop\Parallele
Arbeit\PICSimulationBoost\PICSimulationBoost\PICSimulationBoost.obj
PICSimulationBoost
Error 3 error LNK2019: unresolved external symbol "public: int
__cdecl boost::mpi::communicator::size(void)const "
(?size_at_communicator@mpi_at_boost@@QEBAHXZ) referenced in function main
C:\Users\grischa\Desktop\Parallele
Arbeit\PICSimulationBoost\PICSimulationBoost\PICSimulationBoost.obj
PICSimulationBoost
Error 4 error LNK1120: 3 unresolved externals
C:\Users\grischa\Desktop\Parallele
Arbeit\PICSimulationBoost\x64\Release\PICSimulationBoost.exe
PICSimulationBoost

thanks for help!

regards,
grischa


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