[vtkusers] Linking VTK library to Windows Forms Application directory
X Z
xf10036 at hotmail.com
Tue Nov 14 12:23:45 EST 2006
After a lot of digging, I found the solution:
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=99693Xiaofeng Zhaohttp://www.xzing.orgerrare humanum est
Date: Mon, 13 Nov 2006 17:16:44 -0500From: Xiaofeng_Zhao at virtualscopics.comTo: vtkusers at vtk.orgSubject: [vtkusers] Linking VTK library to Windows Forms Application directory
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
_________________________________________________________________
All-in-one security and maintenance for your PC. Get a free 90-day trial!
http://www.windowsonecare.com/purchase/trial.aspx?sc_cid=wl_wlmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061114/48e0a8ab/attachment.htm>
More information about the vtkusers
mailing list