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-25 16:53:10



> 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
>>>
> http://www.boost.org/doc/libs/1_60_0/libs/graph_parallel/example/dijkstra_sh
>>> ortest_paths.cpp,
>>
>> This works for me with the head of the develop branch.
>>
>> gcc.compile.c++ ../bin.v2/libs/graph_parallel/example/gcc-
> 4.9.1/debug/threading-multi/dijkstra_shortest_paths.o
>>
>> "g++" -ftemplate-depth-128 -std=c++11 -O0 -fno-inline -Wall -g -fPIC
> -m64 -DBOOST_ALL_NO_LIB=1
>> -DBOOST_SYSTEM_DYN_LINK=1 -I".." -I"mpi/openmpi/1.6.4-gcc-4.9.1-
> RHEL6/include" -c -o
>> "../bin.v2/libs/graph_parallel/example/gcc-4.9.1/debug/threading-
> multi/dijkstra_shortest_paths.o"
> "../libs/graph_parallel/example/dijkstra_shortest_paths.cpp”
>>
>> Can you send just the compile line, rather than the link line, for this
> one target?
>>
>> — Noel
>
> Thank you for your reply, but
> mpicxx -std=c++11 -Ipath/to/boost_1.60.0 -c dijkstra_shortest_paths.cpp
> emits the same error.

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.

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