[vtkusers] abot vtk3.2 sample link with lib

c v covkmhk at yahoo.com
Wed Mar 13 08:29:15 EST 2002


I tried to use VC++ in Winodws to link vtk3.2
\Example\sample with the .\bin\Debug\*.lib built from
vtk4.0,
instead of the vtk,dll of vtk3.2.
But there pops error as :
"SampleDoc.obj : error LNK2001: unresolved external
symbol "__declspec(dllimport) public: void __thiscall
vtkTextMapper::SetInput(char const *)"
(__imp_?SetInput at vtkTextMapper@@QAEXPBD at Z)"

I think it is "VTK_EXPORT" defined in vtkwin32header,h
that makes VC treat the vtk fuctions as function in a
DLL.
 how to change it? To  link the static lib with the
Sample?

Thanks

Colin

__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/



More information about the vtkusers mailing list