[vtkusers] Help with vtkCollisionDetectionFilter

Lenilson de Morais Florencio lenilson.florencio at ig.com.br
Fri Aug 28 09:38:08 EDT 2009


Hi all,

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.
The last error is this:


Linking CXX executable teste.exe
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x16b):vtkOBBTree.cxx:
undefined reference to `vtkCellLocator::CollectRevisions(std::ostream&)'
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x3b1):vtkOBBTree.cxx:
undefined reference to `vtkCellLocator::vtkCellLocator()'
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x443):vtkOBBTree.cxx:
undefined reference to `vtkCellLocator::vtkCellLocator()'
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x537):vtkOBBTree.cxx:
undefined reference to `vtkCellLocator::~vtkCellLocator()'
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x561):vtkOBBTree.cxx:
undefined reference to `vtkCellLocator::~vtkCellLocator()'
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x5ff):vtkOBBTree.cxx:
undefined reference to `vtkCellLocator::~vtkCellLocator()'
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x629):vtkOBBTree.cxx:
undefined reference to `vtkCellLocator::~vtkCellLocator()'
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x6c7):vtkOBBTree.cxx:
undefined reference to `vtkCellLocator::~vtkCellLocator()'
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x6f1):vtkOBBTree.cxx:
more undefined references to `vtkCellLocator::~vtkCellLocator()' follow
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.text+0x6fa7):vtkOBBTree.cxx:
undefined reference to `vtkCellLocator::PrintSelf(std::ostream&, vtkIndent)'
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.rdata$_ZTV10vtkOBBTree[vtable
for vtkOBBTree]+0xe8):vtkOBBTree.cxx: undefined reference to
`vtkCellLocator::GetCells(int)'
C:/VTK45/Bin/bin/libvtkGraphics.a(vtkOBBTree.obj)(.rdata$_ZTV10vtkOBBTree[vtable
for vtkOBBTree]+0xec):vtkOBBTree.cxx: undefined reference to
`vtkCellLocator::GetNumberOfBuckets()'
collect2: ld returned 1 exit status
make[2]: *** [teste.exe] Error 1
make[1]: *** [CMakeFiles/teste.dir/all] Error 2
make: *** [all] Error 2


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.

Thanks in advance
Lenilson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090828/89613c22/attachment.htm>


More information about the vtkusers mailing list