<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Hi,<BR>
&nbsp;<BR>
I am using Visual Studio .NET 2003 and I have added all the header files and everything into the project and I am getting the following errors:<BR>
&nbsp;<BR><FONT color=#00ff00 size=1>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29) : warning C4229: anachronism used : modifiers on data are ignored</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29) : error C2365: 'new' : redefinition; previous definition was a 'member function'</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29) : error C2491: 'new' : definition of dllimport data not allowed</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29) : error C2078: too many initializers</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29) : error C2440: 'initializing' : cannot convert from 'int' to 'void *'</FONT><BR>
<FONT color=#000000>Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29) : error C2143: syntax error : missing ';' before '('</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29) : error C2226: syntax error : unexpected type 'size_t'</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(30) : error C2059: syntax error : ')'</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(33) : warning C4229: anachronism used : modifiers on data are ignored</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(33) : error C2365: 'new' : redefinition; previous definition was a 'member function'</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(33) : error C2491: 'new' : definition of dllimport data not allowed</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(33) : error C2078: too many initializers</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(33) : error C2440: 'initializing' : cannot convert from 'int' to 'void *'</FONT><BR>
<FONT color=#000000>Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(33) : error C2143: syntax error : missing ';' before '['</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(33) : error C3409: empty attribute block is not allowed</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(34) : warning C4091: '' : ignored on left of '__w64 unsigned int' when no variable is declared</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(34) : error C2143: syntax error : missing ';' before ','</FONT><BR>
<FONT color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(34) : error C2059: syntax error : ','</FONT><BR>
<FONT face="" color=#000000>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(34) : fatal error C1004: unexpected end of file found</FONT><BR>
<FONT color=#000000></FONT>&nbsp;<BR>
<FONT color=#000000 size=3></FONT>&nbsp;<BR>
<FONT color=#000000 size=2>Does anyone know what I am doing wrong,&nbsp; the code I entered is as follows:</FONT><BR>
<FONT color=#000000 size=2></FONT>&nbsp;<BR><FONT color=#000000 size=2><FONT color=#00ffff size=1>
<FONT color=#000000>#include</FONT></FONT><FONT face="" size=1><FONT color=#000000> "vtkSphereSource.h"</FONT><BR></FONT><FONT size=1>
<FONT color=#000000>#include</FONT></FONT><FONT face="" size=1><FONT color=#000000> "vtkPolyDataMapper.h"</FONT><BR></FONT><FONT size=1>
<FONT color=#000000>#include</FONT></FONT><FONT face="" size=1><FONT color=#000000> "vtkActor.h"</FONT><BR></FONT><FONT size=1>
<FONT color=#000000>#include</FONT></FONT><FONT face="" size=1><FONT color=#000000> "vtkRenderWindow.h"</FONT><BR></FONT><FONT size=1>
<FONT color=#000000>#include</FONT></FONT><FONT face="" size=1><FONT color=#000000> "vtkRenderer.h"</FONT><BR></FONT><FONT size=1>
<FONT color=#000000>#include</FONT></FONT><FONT face="" size=1><FONT color=#000000> "vtkRenderWindowInteractor.h"</FONT><BR></FONT></FONT>
<FONT color=#000000 size=2></FONT>&nbsp;<BR>
<FONT color=#000000 size=2></FONT>&nbsp;<BR>
<FONT color=#000000 size=2></FONT>&nbsp;<BR>
<FONT color=#000000 size=2></FONT>&nbsp;<BR><FONT color=#00ff00 size=1>
<FONT color=#000000>vtkSphereSource *sphere = vtkSphereSource::New();</FONT><BR>
<FONT color=#000000>sphere-&gt;SetRadius(1.0);</FONT><BR>
<FONT color=#000000>sphere-&gt;SetThetaResolution(18);</FONT><BR>
<FONT color=#000000>sphere-&gt;SetPhiResolution(18);</FONT><BR>
<FONT color=#000000></FONT>&nbsp;<BR>
<FONT color=#000000 size=2>Does anyone know what I am doing incorrectly.</FONT><BR>
<FONT color=#000000 size=2></FONT>&nbsp;<BR>
<FONT color=#000000 size=2>Thanks</FONT><BR>
<FONT color=#000000 size=2></FONT>&nbsp;<BR>
<FONT face="" color=#000000 size=2>Neerav</FONT><BR></FONT></FONT><br /><hr />Explore the seven wonders of the world <a href='http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>