[vtkusers] Once Again....because i didnt get reply the first time....how can i solve this problem in VS .Net 2003???

p3rdigao p3rdigao at netcabo.pt
Sat Oct 16 19:36:21 EDT 2004


The Progran in VS .Net 2003
 
#include "vtkDataSetReader.h"

#include "vtkDataSetWriter.h" 

#include "vtkDataSet.h"

void main(int argc, char *argv[]){

vtkDataSetReader* reader = vtkDataSetReader::New(); 

reader->SetFileName("c:\braquial.vtk"); 

reader->GetOutput();

vtkDataSetWriter *writer=NULL;

writer->SetFileName("foo-ascii.vtk");

 

}

 

The errors

 

1) test error LNK2001: unresolved external symbol "public: class vtkDataSet * __thiscall vtkDataSetReader::GetOutput(void)" (?GetOutput at vtkDataSetReader@@$$FQAEPAVvtkDataSet@@XZ)


 

~2) test error LNK2001: unresolved external symbol "public: static class vtkDataSetReader * __cdecl vtkDataSetReader::New(void)" (?New at vtkDataSetReader@@$$FSAPAV1 at XZ)


 

 

 

3) test fatal error LNK1120: 2 unresolved externals



 

 

 

 




More information about the vtkusers mailing list