[vtk-developers] BandedPolyDataContourFilter failes to compile on Ubuntu 14

Bill Lorensen bill.lorensen at gmail.com
Thu Jan 31 18:14:02 EST 2019


I get the following error:

/home/lorensen/ProjectsGIT/VTKNewModules/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx:
In member function ‘virtual int
vtkBandedPolyDataContourFilter::RequestData(vtkInformation*,
vtkInformationVector**, vtkInformationVector*)’:
/home/lorensen/ProjectsGIT/VTKNewModules/Filters/Modeling/vtkBandedPolyDataContourFilter.cxx:832:58:
error: ‘void it’ has incomplete type
           auto it = std::rotate( index.begin(), r1, l1+1 );

It seems that std::rotate returning an iterator was introduced in c++11.

My gcc is:
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4



-- 
Unpaid intern in BillsParadise at noware dot com


More information about the vtk-developers mailing list