[Insight-users] (no subject)

marcellus walace marcelluswalace at hotmail . com
Wed, 20 Aug 2003 19:29:51 +0200


HI all,

I've this vtk class declaration in my code; the other class don't have this 
problem. And   vtkLookupTable
is a class of vtk library not mine...

  // create a hue lookup table
  vtkLookupTable *hueLut = vtkLookupTable::New();
    hueLut->SetTableRange (0, 2000);
    hueLut->SetHueRange (0, 1);
    hueLut->SetSaturationRange (1, 1);
    hueLut->SetValueRange (1, 1);
        hueLut->Build();

But I've a linkage error :

DicomImageViewer.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) public: static class vtkLookupTable * __cdecl 
vtkLookupTable::New(void)" (__imp_?New at vtkLookupTable@@SAPAV1 at XZ)
Debug/DicomImageViewer.exe : fatal error LNK1120: 1 unresolved externals

Can someone help please!

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join . msn . com/?page=features/featuredemail