<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.5700.6" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana><FONT size=2>
<DIV><FONT face=Verdana><FONT size=2>Hi,all.</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Verdana><FONT size=2>I am trying to use VTK and ITK in my Ms.net
project.but </FONT><FONT size=2>getting </FONT><FONT size=2>some
</FONT><FONT size=2>strange errors like below.<BR></FONT><BR><FONT size=2>error
C2802: static member 'operator new' has no </FONT><FONT size=2>formal
parameters<BR></FONT><FONT size=2>error C2091: function returns
function<BR></FONT><FONT size=2>error C2090: function returns
array<BR></FONT><FONT size=2>error C2059: syntax error :
'string'<BR></FONT><FONT size=2>error C2059: syntax error :
'string'</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><BR></FONT><FONT size=2>and it point to the
place int the file </FONT><FONT size=2>itkLightObject.h:<BR></FONT><BR><FONT
size=2>#ifdef _WIN32</FONT><FONT size=2><BR></FONT><FONT size=2> void*
operator new(size_t);<BR></FONT><FONT size=2> void* operator
new[](size_t);<BR></FONT><FONT size=2>void operator
delete(void*);<BR></FONT><FONT size=2>void operator delete[](void*,
size_t);<BR></FONT><FONT size=2>#endif <BR></FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2>I searche Luis's
answer:</FONT></FONT></DIV>
<DIV><FONT face=Verdana><A
href="http://public.kitware.com/pipermail/insight-users/2005-September/014896.html"><FONT
size=2>http://public.kitware.com/pipermail/insight-users/2005-September/014896.html</FONT></A></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I do use cmake ,I do compile the VTK and ITK both
in </FONT><FONT size=3> </FONT></DIV>
<DIV><FONT size=2>Multi-Threading<BR>- Debug<BR></FONT></DIV>
<DIV><FONT size=2>But I still have the problem. what can i do?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thank you very much!</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=3><FONT size=2>Vivian</FONT></FONT></DIV></FONT></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV align=left><FONT size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#c0c0c0><FONT size=2>fyy5581</FONT></DIV>
<DIV><FONT size=2>2007-01-27</FONT></FONT></DIV></FONT></BODY></HTML>