[vtkusers] a problem with compiling with vtk libraries

David Doria daviddoria+vtk at gmail.com
Sat Jun 19 07:08:50 EDT 2010


2010/6/18 廖力 <liaoli07 at mails.gucas.ac.cn>:
> Dear vtkusers:
>      I want to compile a c++ source code using vtklibraries,but
> when i compiling, the erros come out like follows:
>
>
>      /usr/local/lib/libvtkIO.a(vtkXMLWriter.o): In function
> `vtkXMLWriter::WriteDataArrayFooter(std::basic_ostream<char,
> std::char_traits<char> >&, vtkIndent)':
> vtkXMLWriter.cxx:(.text+0x1525): undefined reference to
> `vtkErrorCode::GetLastSystemError()'
> /usr/local/lib/libvtkIO.a(vtkXMLWriter.o): In function
> `vtkXMLWriter::WriteStringAttribute(char const*, char const*)':
> vtkXMLWriter.cxx:(.text+0x15d4): undefined reference to
> `vtkErrorCode::GetLastSystemError()'
> /usr/local/lib/libvtkIO.a(vtkXMLWriter.o): In function
> `vtkXMLWriter::WriteDataModeAttribute(char const*)':
> vtkXMLWriter.cxx:(.text+0x16f3): undefined reference to
> `vtkErrorCode::GetLastSystemError()'
> /usr/local/lib/libvtkIO.a(vtkXMLWriter.o): In function
> `vtkXMLWriter::WriteVectorAttribute(char const*, int, double*)':
> vtkXMLWriter.cxx:(.text+0x17b5): undefined reference to
> `vtkErrorCode::GetLastSystemError()'
> /usr/local/lib/libvtkIO.a(vtkXMLWriter.o): In function
> `vtkXMLWriter::CreateCompressionHeader(unsigned long)':
> vtkXMLWriter.cxx:(.text+0x19d7): undefined reference to
> `vtkErrorCode::GetLastSystemError()'
> /usr/local/lib/libvtkIO.a(vtkXMLWriter.o):vtkXMLWriter.cxx:(.text+0x1b1d):
> more undefined references to `vtkErrorCode::GetLastSystemError()' follow
> /usr/local/lib/libvtkIO.a(vtkXMLWriter.o): In function
> `vtkXMLWriter::PerformByteSwap(void*, int, int)':
> vtkXMLWriter.cxx:(.text+0x4940): undefined reference to
> `vtkByteSwap::Swap2BERange(void*, int)'
> vtkXMLWriter.cxx:(.text+0x4951): undefined reference to
> `vtkByteSwap::Swap4BERange(void*, int)'
> vtkXMLWriter.cxx:(.text+0x4962): undefined reference to
> `vtkByteSwap::Swap8BERange(void*, int)'
> vtkXMLWriter.cxx:(.text+0x4acd): undefined reference to
> `vtkByteSwap::Swap2LERange(void*, int)'
> vtkXMLWriter.cxx:(.text+0x4ade): undefined reference to
> `vtkByteSwap::Swap4LERange(void*, int)'
> vtkXMLWriter.cxx:(.text+0x4aef): undefined reference to
> `vtkByteSwap::Swap8LERange(void*, int)'
> /usr/local/lib/libvtkIO.a(vtkXMLWriter.o): In function
> `vtkXMLWriter::WriteCompressionHeader()':
> vtkXMLWriter.cxx:(.text+0x4de9): undefined reference to
> `vtkErrorCode::GetLastSystemError()'
> /usr/local/lib/libvtkIO.a(vtkXMLWriter.o): In function
> `vtkXMLWriter::WriteBinaryDataBlock(unsigned char*, int, int)':
> vtkXMLWriter.cxx:(.text+0x4f7e): undefined reference to
> `vtkErrorCode::GetLastSystemError()'
> vtkXMLWriter.cxx:(.text+0x5022): undefined reference to
> `vtkErrorCode::GetLastSystemError()'
> /usr/local/lib/libvtkIO.a(vtkXMLWriter.o): In function
> `vtkXMLWriter::WriteBinaryData(void*, int, int)':
> vtkXMLWriter.cxx:(.text+0x54f5): undefined reference to
> `vtkErrorCode::GetLastSystemError()'
> /usr/local/lib/libvtkIO.a(vtkXMLWriter.o): In function
> `vtkXMLWriter::WriteCoordinatesInline(vtkDataArray*, vtkDataArray*,
> vtkDataArray*, vtkIndent)':
> vtkXMLWriter.cxx:(.text+0x5af1): undefined reference to
> `vtkErrorCode::GetLastSystemError()'
> /usr/local/lib/libvtkIO.a(vtkXMLWriter.o):vtkXMLWriter.cxx:(.text+0x5bf9):
> more undefined references to `vtkErrorCode::GetLastSystemError()' follow
> /usr/local/lib/libvtkIO.a(vtkXMLWriter.o): In function
> `vtkXMLWriter::OpenFile()':
> vtkXMLWriter.cxx:(.text+0x7573): undefined reference to
> `vtkErrorCode::GetStringFromErrorCode(unsigned long)'
> /usr/local/lib/libvtkIO.a(vtkZLibDataCompressor.o): In function
> `vtkZLibDataCompressor::UncompressBuffer(unsigned char const*, unsigned
> long, unsigned char*, unsigned long)':
> vtkZLibDataCompressor.cxx:(.text+0xf9): undefined reference to
> `vtk_zlib_uncompress'
> /usr/local/lib/libvtkIO.a(vtkZLibDataCompressor.o): In function
> `vtkZLibDataCompressor::CompressBuffer(unsigned char const*, unsigned long,
> unsigned char*, unsigned long)':
> vtkZLibDataCompressor.cxx:(.text+0x435): undefined reference to
> `vtk_zlib_compress2'
> /usr/local/lib/libvtkFiltering.a(vtkAlgorithm.o): In function
> `vtkAlgorithm::PrintSelf(std::basic_ostream<char, std::char_traits<char> >&,
> vtkIndent)':
> vtkAlgorithm.cxx:(.text+0x2e55): undefined reference to
> `vtkErrorCode::GetStringFromErrorCode(unsigned long)'
> /usr/local/lib/libvtkFiltering.a(vtkDemandDrivenPipeline.o): In function
> `__static_initialization_and_destruction_0(int, int)':
> vtkDemandDrivenPipeline.cxx:(.text+0x188): undefined reference to
> `vtkInstantiatorInitialize::vtkInstantiatorInitialize()'
> /usr/local/lib/libvtkFiltering.a(vtkDemandDrivenPipeline.o): In function
> `__tcf_4':
> vtkDemandDrivenPipeline.cxx:(.text+0x398): undefined reference to
> `vtkInstantiatorInitialize::~vtkInstantiatorInitialize()'
> /usr/local/lib/libvtkFiltering.a(vtkDemandDrivenPipeline.o): In function
> `vtkDemandDrivenPipeline::NewDataObject(char const*)':
> vtkDemandDrivenPipeline.cxx:(.text+0xa09): undefined reference to
> `vtkInstantiator::CreateInstance(char const*)'
> /usr/local/lib/libvtkFiltering.a(vtkImageData.o): In function
> `vtkImageData::SetExtent(int*)':
> vtkImageData.cxx:(.text+0x3357): undefined reference to
> `vtkStructuredData::SetExtent(int*, int*)'
> /usr/local/lib/libvtkFiltering.a(vtkImageData.o): In function
> `vtkImageData::GetDataDimension()':
> vtkImageData.cxx:(.text._ZN12vtkImageData16GetDataDimensionEv[vtkImageData::GetDataDimension()]+0x17):
> undefined reference to `vtkStructuredData::GetDataDimension(int)'
> /usr/local/lib/libvtkFiltering.a(vtkImageData.o): In function
> `vtkImageData::GetPointCells(int, vtkIdList*)':
> vtkImageData.cxx:(.text._ZN12vtkImageData13GetPointCellsEiP9vtkIdList[vtkImageData::GetPointCells(int,
> vtkIdList*)]+0x34): undefined reference to
> `vtkStructuredData::GetPointCells(int, vtkIdList*, int*)'
> /usr/local/lib/libvtkFiltering.a(vtkImageData.o): In function
> `vtkImageData::GetCellPoints(int, vtkIdList*)':
> vtkImageData.cxx:(.text._ZN12vtkImageData13GetCellPointsEiP9vtkIdList[vtkImageData::GetCellPoints(int,
> vtkIdList*)]+0x3e): undefined reference to
> `vtkStructuredData::GetCellPoints(int, vtkIdList*, int, int*)'
> /usr/local/lib/libvtkFiltering.a(vtkPixel.o): In function
> `vtkPixel::IntersectWithLine(double*, double*, double, double&, double*,
> double*, int&)':
> vtkPixel.cxx:(.text+0x125a): undefined reference to
> `vtkPlane::IntersectWithLine(double*, double*, double*, double*, double&,
> double*)'
> /usr/local/lib/libvtkFiltering.a(vtkPixel.o): In function
> `vtkPixel::EvaluatePosition(double*, double*, int&, double*, double&,
> double*)':
> vtkPixel.cxx:(.text+0x19c9): undefined reference to
> `vtkPlane::ProjectPoint(double*, double*, double*, double*)'
> /usr/local/lib/libvtkFiltering.a(vtkPolygon.o): In function
> `vtkPolyVertexList::RemoveVertex(int, vtkIdList*, vtkPriorityQueue*)':
> vtkPolygon.cxx:(.text+0x1c38): undefined reference to
> `vtkPriorityQueue::Insert(double, int)'
> vtkPolygon.cxx:(.text+0x1ce4): undefined reference to
> `vtkPriorityQueue::Insert(double, int)'
> /usr/local/lib/libvtkFiltering.a(vtkPolygon.o): In function
> `vtkPolygon::EarCutTriangulation()':
> vtkPolygon.cxx:(.text+0x1d56): undefined reference to
> `vtkPriorityQueue::New()'
> vtkPolygon.cxx:(.text+0x1d6b): undefined reference to
> `vtkPriorityQueue::Allocate(int, int)'
> vtkPolygon.cxx:(.text+0x1dc2): undefined reference to
> `vtkPriorityQueue::Insert(double, int)'
> vtkPolygon.cxx:(.text+0x1df5): undefined reference to
> `vtkPriorityQueue::Pop(int)'
> vtkPolygon.cxx:(.text+0x1e23): undefined reference to
> `vtkPriorityQueue::Pop(int)'
> /usr/local/lib/libvtkFiltering.a(vtkPolygon.o): In function
> `vtkPolygon::IntersectPolygonWithPolygon(int, double*, double*, int,
> double*, double*, double, double*)':
> vtkPolygon.cxx:(.text+0x29c9): undefined reference to
> `vtkBox::IntersectBox(double*, double*, double*, double*, double&)'
> vtkPolygon.cxx:(.text+0x29f9): undefined reference to
> `vtkPlane::IntersectWithLine(double*, double*, double*, double*, double&,
> double*)'
> vtkPolygon.cxx:(.text+0x2ba8): undefined reference to
> `vtkBox::IntersectBox(double*, double*, double*, double*, double&)'
> vtkPolygon.cxx:(.text+0x2bd8): undefined reference to
> `vtkPlane::IntersectWithLine(double*, double*, double*, double*, double&,
> double*)'
> /usr/local/lib/libvtkFiltering.a(vtkPolygon.o): In function
> `vtkPolygon::IntersectWithLine(double*, double*, double, double&, double*,
> double*, int&)':
> vtkPolygon.cxx:(.text+0x381b): undefined reference to
> `vtkPlane::IntersectWithLine(double*, double*, double*, double*, double&,
> double*)'
> /usr/local/lib/libvtkFiltering.a(vtkPolygon.o): In function
> `vtkPolygon::EvaluatePosition(double*, double*, int&, double*, double&,
> double*)':
> vtkPolygon.cxx:(.text+0x506d): undefined reference to
> `vtkPlane::ProjectPoint(double*, double*, double*, double*)'
> /usr/local/lib/libvtkFiltering.a(vtkPolygon.o): In function
> `vtkPriorityQueue::DeleteId(int)':
> vtkPolygon.cxx:(.text._ZN16vtkPriorityQueue8DeleteIdEi[vtkPriorityQueue::DeleteId(int)]+0x69):
> undefined reference to `vtkPriorityQueue::Pop(int, double&)'
> /usr/local/lib/libvtkFiltering.a(vtkQuad.o): In function
> `vtkQuad::EvaluatePosition(double*, double*, int&, double*, double&,
> double*)':
> vtkQuad.cxx:(.text+0x23fa): undefined reference to
> `vtkPlane::ProjectPoint(double*, double*, double*, double*)'
> /usr/local/lib/libvtkFiltering.a(vtkRectilinearGrid.o): In function
> `vtkRectilinearGrid::GetCellNeighbors(int, vtkIdList*, vtkIdList*)':
> vtkRectilinearGrid.cxx:(.text+0x1c7d): undefined reference to
> `vtkStructuredData::GetCellNeighbors(int, vtkIdList*, vtkIdList*, int*)'
> /usr/local/lib/libvtkFiltering.a(vtkRectilinearGrid.o): In function
> `vtkRectilinearGrid::SetExtent(int*)':
> vtkRectilinearGrid.cxx:(.text+0x1d47): undefined reference to
> `vtkStructuredData::SetExtent(int*, int*)'
> /usr/local/lib/libvtkFiltering.a(vtkRectilinearGrid.o): In function
> `vtkRectilinearGrid::GetPointCells(int, vtkIdList*)':
> vtkRectilinearGrid.cxx:(.text._ZN18vtkRectilinearGrid13GetPointCellsEiP9vtkIdList[vtkRectilinearGrid::GetPointCells(int,
> vtkIdList*)]+0x26): undefined reference to
> `vtkStructuredData::GetPointCells(int, vtkIdList*, int*)'
> /usr/local/lib/libvtkFiltering.a(vtkRectilinearGrid.o): In function
> `vtkRectilinearGrid::GetCellPoints(int, vtkIdList*)':
> vtkRectilinearGrid.cxx:(.text._ZN18vtkRectilinearGrid13GetCellPointsEiP9vtkIdList[vtkRectilinearGrid::GetCellPoints(int,
> vtkIdList*)]+0x30): undefined reference to
> `vtkStructuredData::GetCellPoints(int, vtkIdList*, int, int*)'
> /usr/local/lib/libvtkFiltering.a(vtkStreamingDemandDrivenPipeline.o): In
> function
> `vtkStreamingDemandDrivenPipeline::GetExtentTranslator(vtkInformation*)':
> vtkStreamingDemandDrivenPipeline.cxx:(.text+0xab3): undefined reference to
> `vtkExtentTranslator::New()'
> /usr/local/lib/libvtkFiltering.a(vtkStreamingDemandDrivenPipeline.o): In
> function
> `vtkStreamingDemandDrivenPipeline::CopyDefaultInformation(vtkInformation*,
> int, vtkInformationVector**, vtkInformationVector*)':
> vtkStreamingDemandDrivenPipeline.cxx:(.text+0x4777): undefined reference to
> `vtkExtentTranslator::New()'
> /usr/local/lib/libvtkFiltering.a(vtkStructuredGrid.o): In function
> `vtkStructuredGrid::DeepCopy(vtkDataObject*)':
> vtkStructuredGrid.cxx:(.text+0x120e): undefined reference to
> `vtkStructuredVisibilityConstraint::DeepCopy(vtkStructuredVisibilityConstraint*)'
> vtkStructuredGrid.cxx:(.text+0x1229): undefined reference to
> `vtkStructuredVisibilityConstraint::DeepCopy(vtkStructuredVisibilityConstraint*)'
> /usr/local/lib/libvtkFiltering.a(vtkStructuredGrid.o): In function
> `vtkStructuredGrid::ShallowCopy(vtkDataObject*)':
> vtkStructuredGrid.cxx:(.text+0x1284): undefined reference to
> `vtkStructuredVisibilityConstraint::ShallowCopy(vtkStructuredVisibilityConstraint*)'
> vtkStructuredGrid.cxx:(.text+0x129f): undefined reference to
> `vtkStructuredVisibilityConstraint::ShallowCopy(vtkStructuredVisibilityConstraint*)'
> /usr/local/lib/libvtkFiltering.a(vtkStructuredGrid.o): In function
> `vtkStructuredGrid::GetCellNeighbors(int, vtkIdList*, vtkIdList*)':
> vtkStructuredGrid.cxx:(.text+0x1342): undefined reference to
> `vtkStructuredData::GetCellNeighbors(int, vtkIdList*, vtkIdList*, int*)'
> /usr/local/lib/libvtkFiltering.a(vtkStructuredGrid.o): In function
> `vtkStructuredGrid::SetExtent(int*)':
> vtkStructuredGrid.cxx:(.text+0x13e9): undefined reference to
> `vtkStructuredData::SetExtent(int*, int*)'
> /usr/local/lib/libvtkFiltering.a(vtkStructuredGrid.o): In function
> `vtkStructuredGrid::SetCellVisibilityArray(vtkUnsignedCharArray*)':
> vtkStructuredGrid.cxx:(.text+0x4672): undefined reference to
> `vtkStructuredVisibilityConstraint::SetVisibilityById(vtkUnsignedCharArray*)'
> /usr/local/lib/libvtkFiltering.a(vtkStructuredGrid.o): In function
> `vtkStructuredGrid::SetPointVisibilityArray(vtkUnsignedCharArray*)':
> vtkStructuredGrid.cxx:(.text+0x4698): undefined reference to
> `vtkStructuredVisibilityConstraint::SetVisibilityById(vtkUnsignedCharArray*)'
> /usr/local/lib/libvtkFiltering.a(vtkStructuredGrid.o): In function
> `vtkStructuredGrid::Initialize()':
> vtkStructuredGrid.cxx:(.text+0x4fed): undefined reference to
> `vtkStructuredVisibilityConstraint::New()'
> vtkStructuredGrid.cxx:(.text+0x5025): undefined reference to
> `vtkStructuredVisibilityConstraint::New()'
> /usr/local/lib/libvtkFiltering.a(vtkStructuredGrid.o): In function
> `vtkStructuredGrid::CopyStructure(vtkDataSet*)':
> vtkStructuredGrid.cxx:(.text+0x5113): undefined reference to
> `vtkStructuredVisibilityConstraint::New()'
> vtkStructuredGrid.cxx:(.text+0x513c): undefined reference to
> `vtkStructuredVisibilityConstraint::ShallowCopy(vtkStructuredVisibilityConstraint*)'
> vtkStructuredGrid.cxx:(.text+0x5166): undefined reference to
> `vtkStructuredVisibilityConstraint::New()'
> vtkStructuredGrid.cxx:(.text+0x518f): undefined reference to
> `vtkStructuredVisibilityConstraint::ShallowCopy(vtkStructuredVisibilityConstraint*)'
> /usr/local/lib/libvtkFiltering.a(vtkStructuredGrid.o): In function
> `vtkStructuredGrid::vtkStructuredGrid()':
> vtkStructuredGrid.cxx:(.text+0x56b8): undefined reference to
> `vtkStructuredVisibilityConstraint::New()'
> vtkStructuredGrid.cxx:(.text+0x56cb): undefined reference to
> `vtkStructuredVisibilityConstraint::New()'
> /usr/local/lib/libvtkFiltering.a(vtkStructuredGrid.o): In function
> `vtkStructuredGrid::vtkStructuredGrid()':
> vtkStructuredGrid.cxx:(.text+0x5854): undefined reference to
> `vtkStructuredVisibilityConstraint::New()'
> vtkStructuredGrid.cxx:(.text+0x5867): undefined reference to
> `vtkStructuredVisibilityConstraint::New()'
> /usr/local/lib/libvtkFiltering.a(vtkStructuredGrid.o): In function
> `vtkStructuredGrid::GetPointCells(int, vtkIdList*)':
> vtkStructuredGrid.cxx:(.text._ZN17vtkStructuredGrid13GetPointCellsEiP9vtkIdList[vtkStructuredGrid::GetPointCells(int,
> vtkIdList*)]+0x34): undefined reference to
> `vtkStructuredData::GetPointCells(int, vtkIdList*, int*)'
> /usr/local/lib/libvtkFiltering.a(vtkTriangle.o): In function
> `vtkTriangle::ComputeQuadric(double*, double*, double*, vtkQuadric*)':
> vtkTriangle.cxx:(.text+0xc17): undefined reference to
> `vtkQuadric::SetCoefficients(double, double, double, double, double, double,
> double, double, double, double)'
> /usr/local/lib/libvtkFiltering.a(vtkTriangle.o): In function
> `vtkTriangle::IntersectWithLine(double*, double*, double, double&, double*,
> double*, int&)':
> vtkTriangle.cxx:(.text+0x2373): undefined reference to
> `vtkPlane::IntersectWithLine(double*, double*, double*, double*, double&,
> double*)'
> /usr/local/lib/libvtkFiltering.a(vtkTriangle.o): In function
> `vtkTriangle::EvaluatePosition(double*, double*, int&, double*, double&,
> double*)':
> vtkTriangle.cxx:(.text+0x2b47): undefined reference to
> `vtkPlane::GeneralizedProjectPoint(double*, double*, double*, double*)'
> /usr/local/lib/libvtkFiltering.a(vtkVoxel.o): In function
> `vtkVoxel::IntersectWithLine(double*, double*, double, double&, double*,
> double*, int&)':
> vtkVoxel.cxx:(.text+0x15de): undefined reference to
> `vtkBox::IntersectBox(double*, double*, double*, double*, double&)'
> /usr/local/lib/libvtkFiltering.a(vtkOrderedTriangulator.o): In function
> `vtkOrderedTriangulator::Triangulate()':
> vtkOrderedTriangulator.cxx:(.text+0x3b60): undefined reference to
> `vtkEdgeTable::InitEdgeInsertion(int, int)'
> vtkOrderedTriangulator.cxx:(.text+0x3cc0): undefined reference to
> `vtkEdgeTable::IsEdge(int, int, void*&)'
> vtkOrderedTriangulator.cxx:(.text+0x3cea): undefined reference to
> `vtkEdgeTable::InsertEdge(int, int, void*)'
> /usr/local/lib/libvtkFiltering.a(vtkOrderedTriangulator.o): In function
> `vtkOrderedTriangulator::InitTriangulation(double*, int)':
> vtkOrderedTriangulator.cxx:(.text+0x3eca): undefined reference to
> `vtkHeap::Reset()'
> /usr/local/lib/libvtkFiltering.a(vtkOrderedTriangulator.o): In function
> `vtkOrderedTriangulator::vtkOrderedTriangulator()':
> vtkOrderedTriangulator.cxx:(.text+0x443f): undefined reference to
> `vtkHeap::New()'
> vtkOrderedTriangulator.cxx:(.text+0x4523): undefined reference to
> `vtkHeap::New()'
> /usr/local/lib/libvtkFiltering.a(vtkOrderedTriangulator.o): In function
> `vtkOrderedTriangulator::vtkOrderedTriangulator()':
> vtkOrderedTriangulator.cxx:(.text+0x45a9): undefined reference to
> `vtkHeap::New()'
> vtkOrderedTriangulator.cxx:(.text+0x468d): undefined reference to
> `vtkHeap::New()'
> /usr/local/lib/libvtkFiltering.a(vtkOrderedTriangulator.o): In function
> `OTTetra::operator new(unsigned long, vtkHeap*)':
> vtkOrderedTriangulator.cxx:(.text._ZN7OTTetranwEmP7vtkHeap[OTTetra::operator
> new(unsigned long, vtkHeap*)]+0x19): undefined reference to
> `vtkHeap::AllocateMemory(unsigned long)'
> /usr/local/lib/libvtkFiltering.a(vtkOrderedTriangulator.o): In function
> `OTTemplate::operator new(unsigned long, vtkHeap*)':
> vtkOrderedTriangulator.cxx:(.text._ZN10OTTemplatenwEmP7vtkHeap[OTTemplate::operator
> new(unsigned long, vtkHeap*)]+0x19): undefined reference to
> `vtkHeap::AllocateMemory(unsigned long)'
> /usr/local/lib/libvtkFiltering.a(vtkOrderedTriangulator.o): In function
> `OTTemplate::OTTemplate(int, vtkHeap*)':
> vtkOrderedTriangulator.cxx:(.text._ZN10OTTemplateC1EiP7vtkHeap[OTTemplate::OTTemplate(int,
> vtkHeap*)]+0x2d): undefined reference to `vtkHeap::AllocateMemory(unsigned
> long)'
> /usr/local/lib/libvtkFiltering.a(vtkOrderedTriangulator.o): In function
> `OTFace::operator new(unsigned long, vtkHeap*)':
> vtkOrderedTriangulator.cxx:(.text._ZN6OTFacenwEmP7vtkHeap[OTFace::operator
> new(unsigned long, vtkHeap*)]+0x19): undefined reference to
> `vtkHeap::AllocateMemory(unsigned long)'
> /usr/local/lib/libvtkFiltering.a(vtkOrderedTriangulator.o): In function
> `vtkOTMesh::Reset()':
> vtkOrderedTriangulator.cxx:(.text._ZN9vtkOTMesh5ResetEv[vtkOTMesh::Reset()]+0x65):
> undefined reference to `vtkEdgeTable::Reset()'
> /usr/local/lib/libvtkFiltering.a(vtkOrderedTriangulator.o): In function
> `vtkOTMesh::vtkOTMesh(vtkHeap*)':
> vtkOrderedTriangulator.cxx:(.text._ZN9vtkOTMeshC1EP7vtkHeap[vtkOTMesh::vtkOTMesh(vtkHeap*)]+0xe3):
> undefined reference to `vtkEdgeTable::New()'
> collect2: ld 返回 1
> make: *** [mesh2vtu] 错误 1
>
>    Could you help me to check what is the problem?
>    Thank you very much!
>    Li LIAO

Which libraries are you linking to? I would suggest starting with vtkHybrid.

Thanks,

David



More information about the vtkusers mailing list