[vtkusers] gcc4.0.2
David Gobbi
dgobbi at atamai.com
Tue Jan 24 15:54:53 EST 2006
Try adding the following line at the top of the file:
using std::endl;
If that works, we can make the change in CVS.
Leila Baghdadi wrote:
>Hi everyone,
>
>I just got a copy of vtk from cvs and am trying to compile it with
>gcc4.0.2. I think my compiler is probably confused with some header
>files but am not sure how to solve this,
>
>any suggestions
>
>Thanks
>
>Building CXX object
>Common/CMakeFiles/vtkCommonPythonD.dir/vtkCharArrayPython.o
>/home/baghdadi/VTK/Common/vtkArrayIteratorTemplate.txx: In member
>function ‘void vtkArrayIteratorTemplate<T>::PrintSelf(std::ostream&,
>vtkIndent)’:
>/home/baghdadi/VTK/Common/vtkArrayIteratorTemplate.txx:129: error:
>‘endl’ was not declared in this scope
>/home/baghdadi/VTK/Common/vtkArrayIteratorTemplate.txx:134: error:
>‘endl’ was not declared in this scope
>make[2]: ***
>[Common/CMakeFiles/vtkCommonPythonD.dir/vtkCharArrayPython.o] Error 1
>make[1]: *** [Common/CMakeFiles/vtkCommonPythonD.dir/all] Error 2
>make: *** [all] Error 2
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
More information about the vtkusers
mailing list