I've built VTK 5.6.1 with Visual Studio 2005 with no problems. However, running any code is quite strange - when I build in Release, running code in Release works, but in Debug there is a buffer overrun error. The reverse is also a problem, when I've built in Debug, running code in Debug works with no problems, but buffer overrun errors occur in Release. I've noticed that the overrun occurs when a source object is updated (see below). Any ideas? Thanks in advance. <br>
<br>i.e.<br><br>vtkSmartPointer<vtkSphereSource> sphereSource = vtkSmartPointer<vtkSphereSource>::New();<br>sphereSource->SetThetaResolution(30);<br>sphereSource->SetPhiResolution(15);<br><b>sphereSource->Update();</b> //<--------------this line buffer overruns. <br>
<br><br>