Hi all,<br><br>I'm trying to clip a polydata with another to generate a third that's a diference between the 2 others. After some researches on the web i've found the vtkCollisionDetectionFilter. But i'm having some troubles to generate the exe file.<br>
The last error is this:<br><br><br>Linking CXX executable teste.exe<br>C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x16b):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::CollectRevisions(std::ostream&)'<br>
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x3b1):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::vtkCellLocator()'<br>C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x443):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::vtkCellLocator()'<br>
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x537):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::~vtkCellLocator()'<br>C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x561):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::~vtkCellLocator()'<br>
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x5ff):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::~vtkCellLocator()'<br>C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x629):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::~vtkCellLocator()'<br>
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x6c7):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::~vtkCellLocator()'<br>C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x6f1):vtkOBBTree.cxx: more undefined references to `vtkCellLocator::~vtkCellLocator()' follow<br>
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x6fa7):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::PrintSelf(std::ostream&, vtkIndent)'<br>C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.rdata$_ZTV10vtkOBBTree[vtable for vtkOBBTree]+0xe8):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::GetCells(int)'<br>
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.rdata$_ZTV10vtkOBBTree[vtable for vtkOBBTree]+0xec):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::GetNumberOfBuckets()'<br>collect2: ld returned 1 exit status<br>
make[2]: *** [teste.exe] Error 1<br>make[1]: *** [CMakeFiles/teste.dir/all] Error 2<br>make: *** [all] Error 2<br><br><br>I'm compiling with Cmake and MinGW (Msys). If someone has a suggestion or another way to do booleans operations with polydatas i'd be very grateful.<br>
<br>Thanks in advance<br>Lenilson<br><br>