[vtkusers] Linking VTK library to Windows Forms Application directory
Xiaofeng Zhao
Xiaofeng_Zhao at virtualscopics.com
Mon Nov 13 17:16:44 EST 2006
I'm trying to link the vtk library to a Windows Forms Application (with
Common Language Runtime Support) directly (Visual Studio 2005
Professional Edition). I was able to build the application without
error but was not able to start the application. It seems that the
problem is due to the declaration of a static variable:
static vtkDebugLeaksManager vtkDebugLeaksManagerInstance;
in the header file "vtkDebugLeaksManager.h".
This is not a vtk specified problem since it can be reproduced in the
simplest application, as long as a static library in which a static
global variable is declared. I wonder if any one have seem the problem
and know the cause of it and have a good solution.
Xiaofeng Zhao
VirtualScopics, LLC
350 Linden Oaks
Rochester NY 14625
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061113/92746430/attachment.htm>
More information about the vtkusers
mailing list