Boost logo

Boost Users :

Subject: Re: [Boost-users] [EXTERNAL] [PBGL] compilation of example/dijkstra_shortest_paths.cpp failed
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2016-04-27 13:09:56



> On Apr 25, 2016, at 2:53 PM, Belcourt, Kenneth <kbelco_at_[hidden]> wrote:
>
> On Apr 25, 2016, at 4:52 AM, Eisuke Kawashima <e.kawaschima_at_[hidden]> wrote:
>>
>> Belcourt, Kenneth <kbelco <at> sandia.gov> writes:
>>
>>> On Apr 24, 2016, at 2:57 AM, Eisuke Kawashima <e.kawaschima <at>
>> gmail.com> wrote:
>>>>
>>>> I tried to compile
>>>>
>> libs/1_60_0/libs/graph_parallel/example/dijkstra_shortest_paths.cpp
>
> I can reproduce your failure with release 1.60 so there’s probably an issue in master that we need to address. Thanks for the report.

The graph_parallel example code should compile okay with the forthcoming 1.61 release, but it won’t link due to a missing dependency on Boost MPI. When 1.61 is released, apply this patch to the libs/graph_parallel/example/Jamfile.v2 to fix the linker error.

diff --git a/example/Jamfile.v2 b/example/Jamfile.v2
index 276951e..e887775 100644
--- a/example/Jamfile.v2
+++ b/example/Jamfile.v2
@@ -7,6 +7,7 @@
 
 project : requirements <library>../build//boost_graph_parallel
     <library>../../system/build//boost_system
+ <library>../../mpi/build//boost_mpi
     ;

-— Noel


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