<div dir="ltr"><div>I have compiled VTK 5.10.1 with:</div><div> </div><div>VTK_DEBUG_LEAKS: ON </div><div><font color="#000000" face="Book Antiqua">CMAKE_COMPILER_TYPE: Debug</font><font color="#000000" size="3" face="Times New Roman">
</font></div><div> </div><div>however it doesnt produce any output in python (not tested in c++), My test script is:</div><div> </div><div>#-----------------------------------------------</div><div>import vtk</div><div>DebugLeaks=vtk.vtkDebugLeaks()</div>
<div>Reader=vtk.vtkXMLMultiBlockDataReader()</div><div>Reader.SetFileName("input.vtm")</div><div>Reader.Update()</div><div> </div><div>#Just to make extra sure:</div><div>Reader.Register(None)</div><div> </div><div>
DebugLeaks.PrintCurrentLeaks()</div><div><div>#-----------------------------------------------</div><div> </div><div>Runing the same code with VTK6-RC1 with VTK_DEBUG_LEAKS</div><div><font face="Arial"></font> </div><div>
Produces lots of output:</div><div>vtkDebugLeaks has detected Leaks!</div><div>class .... etc etc</div><div> </div><div>Does anybody know any tricks to get this to work in 5.10.1</div></div><div> </div></div>