Hi,

I am trying to learn PBGL. I am using VS2008 on Win 7.
I had built and installed open mpi 1.4.3, HPC Pack 2008 SDK, and Boost library 1.46.1 with "bjam --with-mpi --with-graph_parallel".
I had set include and library directory for the above 3 libraries in VS2008.
The additional dependency set for the project is "libboost_mpi-vc90-mt-gd.lib libboost_serialization-vc90-mt-gd.lib libboost_wserialization-vc90-mt-gd.lib libboost_graph-vc90-mt-gd.lib libboost_graph_parallel-vc90-mt-gd.lib libboost_system-vc90-mt-gd.lib libmpi_cxxd.lib libmpid.lib libopen-pald.lib libopen-rted.lib msmpi.lib"

Here are the major references I had referred which helped to reduce errors significantly:
http://terboven.wordpress.com/2008/09/09/building-and-using-boostmpi-on-windows-hpc-server-2008/
http://lists.boost.org/boost-users/2009/11/54042.php

However, while compiling D:\Development\boost_1_46_1\libs\graph_parallel\example\breadth_first_search.cpp on my machine, I still got the following 4 link errors:

Error 4 error LNK2019: unresolved external symbol "private: struct ompi_datatype_t * __thiscall boost::mpi::detail::mpi_datatype_map::get(class type_info const *)" breadth_first_search.obj

Error 3 error LNK2019: unresolved external symbol "private: void __thiscall boost::mpi::detail::mpi_datatype_map::set(class type_info const *,struct ompi_datatype_t *)" breadth_first_search.obj

Error 2 error LNK2019: unresolved external symbol "public: __thiscall boost::mpi::communicator::operator struct ompi_communicator_t *(void)const " breadth_first_search.obj

Error 1 error LNK2019: unresolved external symbol "void __cdecl boost::detail::bfs_helper<class boost::adjacency_list<struct boost::vecS,struct boost::distributedS<class boost::graph::distributed::mpi_process_group,struct boost::vecS,struct boost::defaultS>......" breadth_first_search.obj

Am I missing something here?

Thanks,
Tao Yu
http://about.me/Tao_Yu