[vtk-developers] Compiler errors latest git clone

Jeff Baumes jeff.baumes at kitware.com
Fri Apr 23 15:09:12 EDT 2010


Philippe had this same issue. I'll disable the feature for older boost versions:

--- a/Infovis/vtkBoostBreadthFirstSearchTree.cxx
+++ b/Infovis/vtkBoostBreadthFirstSearchTree.cxx
@@ -249,8 +249,13 @@ int vtkBoostBreadthFirstSearchTree::RequestData(
     vtkDirectedGraph *g = vtkDirectedGraph::SafeDownCast(input);
     if (this->ReverseEdges)
       {
+#if BOOST_VERSION < 104100      // Boost 1.41.x
+      vtkErrorMacro("ReverseEdges requires Boost 1.41.x or higher");
+      return 0;
+#else
       boost::reverse_graph<vtkDirectedGraph*> r(g);
       breadth_first_search(r, this->OriginVertexIndex, q, builder, color);
+#endif
       }
     else
       {

I'll check this in early next week.

Jeff

On Fri, Apr 23, 2010 at 2:32 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> On Fri, Apr 23, 2010 at 12:40 PM, Wylie, Brian <bnwylie at sandia.gov> wrote:
>> Hmm.. not sure... what version of Boost do you have?
>>
>>  Brian Wylie - Org 1424
>
> I was using boost 1.37.0-9.fc11. I installed boost 1.41 from source
> and VTK compiled fine. Strange, but working.
>
> Thanks,
>
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>



-- 
Jeff Baumes, Ph.D.
R&D Engineer, Kitware Inc.
(518) 881-4932
jeff.baumes at kitware.com



More information about the vtk-developers mailing list