[vtkusers] gcc4.0.2

David Gobbi dgobbi at atamai.com
Tue Jan 24 16:37:12 EST 2006


No, it shouldn't directly include vtkIOStream.h.  It should probably 
include vtkSystemIncludes.h, but I'm going to look closely at the code 
to be sure.

Leila Baghdadi wrote:

>Hello David,
>
>yes that seems to do the trick! I am still building of course, I will
>e-mail the list if I see any problems.
>
>One thing though, I discovered Common/vtkIOStream.h which also has the
>using declaration for a few functions, was this header meant to be used
>on the vtkArrayIteratorTemplate.txx file or am I mixing up things.
>
>Thanks
>
>On Tue, 2006-24-01 at 15:54 -0500, David Gobbi wrote:
>  
>
>>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
>>>
>>> 
>>>
>>>      
>>>
>
>_______________________________________________
>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