[vtkusers] COMPILER: collect2: ld returned 1 exit status

Christos Panagiotou cpanagio at cs.ucl.ac.uk
Tue Jul 1 19:45:59 EDT 2003


hi
i am getting an error in the following line of code:

  vtkQuad *firstQuad;
  firstQuad->GetPointIds()->SetId(0,0);
  firstQuad->GetPointIds()->SetId(1,1);
  firstQuad->GetPointIds()->SetId(2,2);
  firstQuad->GetPointIds()->SetId(3,3);

  vtkUnstructuredGrid *quadGrid;
  quadGrid->Allocate(1,1);
  
quadGrid->InsertNextCell(firstQuad->GetPointIds(),firstQuad->GetPointIds());   

Compiler:
/home/christos/VIVE02/project/asm_3d/asm_3d/main.cpp:57: undefined 
reference to `vtkUnstructuredGrid::InsertNextCell(int, vtkIdList*)'
collect2: ld returned 1 exit status

I cant understand what is the collect2:Id returnded 1 exit status
Any help would be appreciated




More information about the vtkusers mailing list