[vtkusers] VTK4.0 link problem
Shade
shade_cn at yahoo.com
Thu Mar 21 23:19:28 EST 2002
Hello All,
I have compiled VTK4.0 in static library format. But when I link them in my application. There are so many warnings and errors. It seems only vtkCommon.lib and vtkFiltering.lib have effect on my App, but vtkImaging.lib, vtkGraphics.lib and vtkRendering.lib do nothing for my application.
The link log is as following and I also attach the whole link.log file in this mail. Hope somebody can give me some hints, thanks a lot.
============================================================
LINK : warning LNK4049: locally defined symbol ""public: static void __cdecl vtkObjectFactory::UnRegisterAllFactories(void)" (?UnRegisterAllFactories at vtkObjectFactory@@SAXXZ)" imported
vtkMFCImageView.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkWin32OpenGLImageWindow * __cdecl vtkWin32OpenGLImageWindow::New(void)" (__imp_?New at vtkWin32OpenGLImageWindow@@SAPAV1 at XZ)
===========================================================
Best Regards,
Shade
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020322/661d2e6c/attachment.htm>
More information about the vtkusers
mailing list