[vtkusers] Help me please!!

Vincenzo Mormino viciomor at tin.it
Fri Mar 21 08:05:54 EST 2003


Hi,all
  Here is a section code of my programe:
 
vtkMarchingCubes *skin = vtkMarchingCubes::New();
skin->SetInput(v16->GetOutput());
int contourNum=10;
skin->GenerateValues(contourNum,900,1100);
 
I have compiled vtkPented myself and put
vtkPatented.lib of debug version in the lib folder.
Project settings have been set correctly.But when I
complie with this code, a error message popup
 
Linking...
jkl.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
vtkMarchingCubes::GenerateValues(int,float,float)"
(__imp_?GenerateValues at vtkMarchingCubes@@QAEXHMM at Z)
jkl.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static class
vtkMarchingCubes * __cdecl
vtkMarchingCubes::New(void)"
(__imp_?New at vtkMarchingCubes@@SAPAV1 at XZ)
Debug/jkl.exe : fatal error LNK1120: 2 unresolved
externals.
 
Why this could happen? 
 
Vincenzo Mormino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030321/f9d1b668/attachment.htm>


More information about the vtkusers mailing list