[vtkusers] VTK_DEBUG_LEAKS

Marcus D. Hanwell marcus.hanwell at kitware.com
Thu Mar 5 15:28:02 EST 2015


On Thu, Mar 5, 2015 at 3:23 PM, James Labiak
<jim at jslengineeringsoftware.com> wrote:
>
> Hello,
> VTK_DEBUG_LEAKS: once enabled in cmake and VTK is compiled, is there some way to turn this off for the purpose of compiling my Java program, or do I need to recompile VTK with the option off, then compile my program? I have eliminated leaks, but upon Java program exit, there is one (the last) set of references related to the vtkRenderWindowPanel that I use inside of the Java program GUI. From searching and evaluating the Java program during operation, it appears that it might not be released between the time that the VTK_DEBUG_LEAKS runs and my Java program finishes exiting. So, the only problem is that the end user would see the VTK popup window about leaks upon exiting the Java program. Just trying to avoid recompiling VTK repeatedly.

It is a compile time option, you would need to recompile.

Marcus


More information about the vtkusers mailing list