[vtkusers] help
Kou Xinyu (David)
davidkou at hkusua.hku.hk
Thu Jul 11 02:44:47 EDT 2002
Hello, ALL,
I meet a question when using vtkMarchingCubes, the following is my code :
vtkVolume16Reader * aVolume=vtkVolume16Reader::New();
aVolume->SetDataDimensions(512,512);
aVolume->SwapBytesOn();
aVolume->SetFilePrefix("demo");
aVolume->SetImageRange(1,5);
aVolume->SetDataSpacing(3.2,3.2,3.2);
vtkMarchingCubes * cube=vtkMarchingCubes::New();
The compilation was ok, but there jumps " unresolved external symbol '__declspec(dllimport) public: static class vtkMarchingCubes * __cdecl vtkMarchingCubes::New(void)' (__imp_?New at vtkMarchingCubes@@SAPAV1 at XZ) " error
I don't know how to sovle it, although I have included all the *.lib files inside the project.
I guess there is no lib for the vtkMarchingCubes currently, so must we include the vtkMarchingCubes.cxx into the project? did so, but it still does not work.
Hope to get your response.
Best regards.
David
davidkou at hkusua.hku.hk
2002-07-11
More information about the vtkusers
mailing list