<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#c0dcc0>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Dear all: </FONT></DIV>
<DIV><FONT face=Arial size=2> I have a
program which was written with vtk32. and when the program compiles in
window98,</FONT></DIV>
<DIV><FONT face=Arial size=2>with the library which compile with the use Ansi
c++ checked, there will be this kind of error:</FONT></DIV>
<DIV><FONT face=Arial size=2>--------------------Configuration: regist - Win32
Debug--------------------<BR>Compiling...<BR>nonrigid2.cpp<BR>C:\Program
Files\Microsoft Visual Studio\VC98\INCLUDE\ios.h(104) : error C2371: 'ostream' :
redefinition; different basic
types<BR> C:\Program Files\Microsoft
Visual Studio\VC98\INCLUDE\iosfwd(257) : see declaration of
'ostream'<BR>C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ios.h(106) :
error C2371: 'ios' : redefinition; different basic
types<BR> C:\Program Files\Microsoft
Visual Studio\VC98\INCLUDE\iosfwd(254) : see declaration of 'ios'<BR>C:\Program
Files\Microsoft Visual Studio\VC98\INCLUDE\istream.h(64) : error C2371:
'istream' : redefinition; different basic
types<BR> C:\Program Files\Microsoft
Visual Studio\VC98\INCLUDE\iosfwd(256) : see declaration of
'istream'<BR></FONT><FONT face=Arial size=2>......... </FONT></DIV>
<DIV><FONT face=Arial size=2>and when I compile the library with the ansi c++
unchecked, the code will be compiled ok,</FONT></DIV>
<DIV><FONT face=Arial size=2>but In an win2000 machine, both cases have this
kind of errors, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>is there solutions for this?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>zhang
zhijun</FONT></DIV></FONT></DIV></BODY></HTML>