[vtkusers] Error compiling vtkInfovisParallel / vtkPBGLBreadtFirstSearch.cxx (VTK 6.1.0)

David E DeMarle dave.demarle at kitware.com
Fri Jun 13 18:55:41 EDT 2014


I had that compiling with boost 1.48 on one of the dashboard machines a
while back.

The module itself hasn't been maintained in a long while and thus I marked
it as deprecated in master a few months back. If there is interest in it
from the community and someone brings it up to date with current boost and
supply tests for the module, I can undeprecate it before 6.2.




David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Fri, Jun 13, 2014 at 5:51 PM, Martijn Steenwijk <
martijnsteenwijk at gmail.com> wrote:

> Hi all,
>
> I'm trying to compile VTK 6.1.0 on Windows (MSVC 2010) with Boost 1.55.0
> and openmpi 1.6.2. I'm getting an error while compiling vtkInfovisParallel
> / vtkPBGLBreadtFirstSearch.cxx. as listed below. It seems that Boost misses
> some properties. Could this be related to the Boost version (if so, what
> could be used best?)
>
> Any help would be appreciated.
>
> Best,
> Martijn
>
> D:\libs\boost_1_55_0\boost/graph/distributed/breadth_first_search.hpp(111):
> error C2039: 'ref' : is not a member of
> 'boost::detail::error_property_not_found'
> 94>          D:\libs\boost_1_55_0\boost/pending/detail/property.hpp(16) :
> see declaration of 'boost::detail::error_property_not_found'
> 94>          ..\..\..\Infovis\Parallel\vtkPBGLBreadthFirstSearch.cxx(365)
> : see reference to function template instantiation 'void
> boost::detail::parallel_bfs_helper<vtkDirectedGraph*,DistributedColorMap,pbgl_bfs_distance_recorder<DistanceMap>,boost::detail::error_property_not_found,boost::vtkGraphIndexMap>(DistributedGraph
> &,boost::graph_traits<vtkGraph*>::vertex_descriptor,ColorMap,BFSVisitor,BufferRef,VertexIndexMap)'
> being compiled
> 94>          with
> 94>          [
> 94>              DistanceMap=DistributedDistanceMap,
> 94>              DistributedGraph=vtkDirectedGraph *,
> 94>              ColorMap=DistributedColorMap,
> 94>
>  BFSVisitor=pbgl_bfs_distance_recorder<DistributedDistanceMap>,
> 94>              BufferRef=boost::detail::error_property_not_found,
> 94>              VertexIndexMap=boost::vtkGraphIndexMap
> 94>          ]
> 94>D:\libs\boost_1_55_0\boost/graph/distributed/breadth_first_search.hpp(111):
> error C2780: 'void boost::breadth_first_search(const VertexListGraph
> &,graph_traits<G>::vertex_descriptor,const
> boost::bgl_named_params<T,Tag,Base> &)' : expects 3 arguments - 5 provided
> 94>
>  D:\libs\boost_1_55_0\boost/graph/breadth_first_search.hpp(334) : see
> declaration of 'boost::breadth_first_search'
> 94>D:\libs\boost_1_55_0\boost/graph/distributed/breadth_first_search.hpp(111):
> error C2780: 'void boost::breadth_first_search(const VertexListGraph
> &,SourceIterator,SourceIterator,Buffer &,BFSVisitor,ColorMap)' : expects 6
> arguments - 5 provided
> 94>
>  D:\libs\boost_1_55_0\boost/graph/breadth_first_search.hpp(112) : see
> declaration of 'boost::breadth_first_search'
> 94>D:\libs\boost_1_55_0\boost/graph/distributed/breadth_first_search.hpp(111):
> error C2039: 'ref' : is not a member of
> 'boost::detail::error_property_not_found'
> 94>          D:\libs\boost_1_55_0\boost/pending/detail/property.hpp(16) :
> see declaration of 'boost::detail::error_property_not_found'
> 94>          ..\..\..\Infovis\Parallel\vtkPBGLBreadthFirstSearch.cxx(373)
> : see reference to function template instantiation 'void
> boost::detail::parallel_bfs_helper<vtkUndirectedGraph*,DistributedColorMap,pbgl_bfs_distance_recorder<DistanceMap>,boost::detail::error_property_not_found,boost::vtkGraphIndexMap>(DistributedGraph
> &,boost::graph_traits<vtkGraph*>::vertex_descriptor,ColorMap,BFSVisitor,BufferRef,VertexIndexMap)'
> being compiled
> 94>          with
> 94>          [
> 94>              DistanceMap=DistributedDistanceMap,
> 94>              DistributedGraph=vtkUndirectedGraph *,
> 94>              ColorMap=DistributedColorMap,
> 94>
>  BFSVisitor=pbgl_bfs_distance_recorder<DistributedDistanceMap>,
> 94>              BufferRef=boost::detail::error_property_not_found,
> 94>              VertexIndexMap=boost::vtkGraphIndexMap
> 94>          ]
> 94>D:\libs\boost_1_55_0\boost/graph/distributed/breadth_first_search.hpp(111):
> error C2780: 'void boost::breadth_first_search(const VertexListGraph
> &,graph_traits<G>::vertex_descriptor,const
> boost::bgl_named_params<T,Tag,Base> &)' : expects 3 arguments - 5 provided
> 94>
>  D:\libs\boost_1_55_0\boost/graph/breadth_first_search.hpp(334) : see
> declaration of 'boost::breadth_first_search'
> 94>D:\libs\boost_1_55_0\boost/graph/distributed/breadth_first_search.hpp(111):
> error C2780: 'void boost::breadth_first_search(const VertexListGraph
> &,SourceIterator,SourceIterator,Buffer &,BFSVisitor,ColorMap)' : expects 6
> arguments - 5 provided
> 94>
>  D:\libs\boost_1_55_0\boost/graph/breadth_first_search.hpp(112) : see
> declaration of 'boost::breadth_first_search'
> 108>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32
> ------
> 108>  Build all projects
> ========== Build: 105 succeeded, 3 failed, 24 up-to-date, 0 skipped
> ==========
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140613/e3c75963/attachment.html>


More information about the vtkusers mailing list