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

Martijn Steenwijk martijnsteenwijk at gmail.com
Fri Jun 13 17:51:16 EDT 2014


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
==========
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140613/eb102516/attachment.html>


More information about the vtkusers mailing list