Hi all,<br><br>I&#39;m trying to clip a polydata with another to generate a third that&#39;s a diference between the 2 others. After some researches on the web i&#39;ve found  the vtkCollisionDetectionFilter. But i&#39;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&amp;)&#39;<br>
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x3b1):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::vtkCellLocator()&#39;<br>C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x443):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::vtkCellLocator()&#39;<br>
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x537):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::~vtkCellLocator()&#39;<br>C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x561):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::~vtkCellLocator()&#39;<br>
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x5ff):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::~vtkCellLocator()&#39;<br>C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x629):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::~vtkCellLocator()&#39;<br>
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x6c7):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::~vtkCellLocator()&#39;<br>C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x6f1):vtkOBBTree.cxx: more undefined references to `vtkCellLocator::~vtkCellLocator()&#39; follow<br>
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x6fa7):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::PrintSelf(std::ostream&amp;, vtkIndent)&#39;<br>C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.rdata$_ZTV10vtkOBBTree[vtable for vtkOBBTree]+0xe8):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::GetCells(int)&#39;<br>
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.rdata$_ZTV10vtkOBBTree[vtable for vtkOBBTree]+0xec):vtkOBBTree.cxx: undefined reference to `vtkCellLocator::GetNumberOfBuckets()&#39;<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&#39;m compiling with Cmake and MinGW (Msys). If someone has a suggestion or another way to do booleans operations with polydatas i&#39;d be very grateful.<br>
<br>Thanks in advance<br>Lenilson<br><br>