[vtkusers] Help

liuy ly8221 at 163.com
Mon May 16 08:55:24 EDT 2005


Hi
  I use vtk(official release(4.2)
  When I use the class vtkMarchingCubes ,I always meet a problem.The link and include files have been added rightly.
 The error message is below:(vc++ compiler)
  --------------------Configuration: MC - Win32 Debug--------------------
Compiling...
MC.CPP
Linking...
MC.OBJ : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkMarchingCubes::SetValue(int,float)" (__imp_?SetValue at vtkMarchingCubes@@QAEXHM at Z)
MC.OBJ : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkMarchingCubes * __cdecl vtkMarchingCubes::New(void)" (__imp_?New at vtkMarchingCubes@@SAPAV1 at XZ)
Debug/MC.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
  I don't know what's the matter.
  Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050516/02b5b584/attachment.htm>


More information about the vtkusers mailing list