[vtkusers] IRIX 6.5 build..

Kalpathi Subramanian krs at uncc.edu
Thu Jul 21 16:07:04 EDT 2005


This is a recent build (from CVS) - I get the following
errors from building my application - I remember from
a while back that this has something to do with ANSI-STDLIB.
Is there a setting on CMake that I have to turn on (or off)
during the vtk lib, so that I dont get these errors?

	-- krs




   CC -g  -I/usr/include/CC -I/graphics/apps/graphics/vtk/include 
-I/graphics/apps/l
anguages/fltk/include  -LANG:std -n32 -woff 1681,1682 -g  -c Main.cpp -o 
Main.o
cc-1101 CC: ERROR File = /usr/include/CC/iostream.h, Line = 51
   "ostream" has already been declared in the current scope.

   class ostream ;
         ^

cc-1101 CC: ERROR File = /usr/include/CC/iostream.h, Line = 54
   "ios" has already been declared in the current scope.

   class ios {
         ^

cc-1101 CC: ERROR File = /usr/include/CC/iostream.h, Line = 363
   "istream" has already been declared in the current scope.

   class istream : virtual public ios {
         ^

cc-1101 CC: ERROR File = /usr/include/CC/iostream.h, Line = 652
   "cin" has already been declared in the current scope.

   extern istream_withassign cin ;



More information about the vtkusers mailing list