[vtkusers] /vtkDelaunay3D.cxx:533: undefined reference to `vtkEdgeTable::New()

Shrabani Ghosh srbn.ghosh99 at gmail.com
Mon May 28 22:08:48 EDT 2018


Yep see these all are vtk files. I didn't do anything with these files. And
I checked the header files are included.

On Mon, May 28, 2018 at 9:17 PM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:

> Are you including in your code the #includes for the missing objects?./
>
> On Mon, May 28, 2018, 5:51 PM Shrabani Ghosh <srbn.ghosh99 at gmail.com>
> wrote:
>
>> I am getting a lot of error similar like this. I have added include
>> directory
>> and library directories in the project properties, Why am I getting this
>> errors.
>>
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolyData.cxx:72: undefined
>> reference
>> to `vtkSimpleCriticalSection::Lock()'
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolyData.cxx:83: undefined
>> reference
>> to `vtkSimpleCriticalSection::Unlock()'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkPolyData.cxx.o):
>> In function `vtkPolyData::~vtkPolyData()':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolyData.cxx:96: undefined
>> reference
>> to `vtkSimpleCriticalSection::Lock()'
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolyData.cxx:106: undefined
>> reference
>> to `vtkSimpleCriticalSection::Unlock()'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkPolyData.cxx.o):
>> In function `__static_initialization_and_destruction_0(int, int)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolyData.cxx:45: undefined
>> reference
>> to `vtkSimpleCriticalSection::~vtkSimpleCriticalSection()'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkPolyData.cxx.o):
>> In function `vtkSimpleCriticalSection::vtkSimpleCriticalSection()':
>> /home/sghos003/vtk-5.10.1/Common/vtkCriticalSection.h:69: undefined
>> reference to `vtable for vtkSimpleCriticalSection'
>> /home/sghos003/vtk-5.10.1/Common/vtkCriticalSection.h:70: undefined
>> reference to `vtkSimpleCriticalSection::Init()'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkPolygon.cxx.o):
>> In function `vtkPolygon::EvaluatePosition(double*, double*, int&,
>> double*,
>> double&, double*)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:279: undefined
>> reference
>> to `vtkPlane::ProjectPoint(double*, double*, double*, double*)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkPolygon.cxx.o):
>> In function `vtkPolyVertexList::RemoveVertex(int, vtkIdList*,
>> vtkPriorityQueue*)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1084: undefined
>> reference
>> to `vtkPriorityQueue::Insert(double, long long)'
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1089: undefined
>> reference
>> to `vtkPriorityQueue::Insert(double, long long)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkPolygon.cxx.o):
>> In function `vtkPolygon::EarCutTriangulation()':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1256: undefined
>> reference
>> to `vtkPriorityQueue::New()'
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1257: undefined
>> reference
>> to `vtkPriorityQueue::Allocate(long long, long long)'
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1263: undefined
>> reference
>> to `vtkPriorityQueue::Insert(double, long long)'
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1280: undefined
>> reference
>> to `vtkPriorityQueue::Pop(long long)'
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1285: undefined
>> reference
>> to `vtkPriorityQueue::Pop(long long)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkPolygon.cxx.o):
>> In function `vtkPolygon::IntersectWithLine(double*, double*, double,
>> double&, double*, double*, int&)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1475: undefined
>> reference
>> to `vtkPlane::IntersectWithLine(double*, double*, double*, double*,
>> double&,
>> double*)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkPolygon.cxx.o):
>> In function `vtkPolygon::IntersectPolygonWithPolygon(int, double*,
>> double*,
>> int, double*, double*, double, double*)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1713: undefined
>> reference
>> to `vtkBox::IntersectBox(double*, double*, double*, double*, double&)'
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1718: undefined
>> reference
>> to `vtkPlane::IntersectWithLine(double*, double*, double*, double*,
>> double&,
>> double*)'
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1749: undefined
>> reference
>> to `vtkBox::IntersectBox(double*, double*, double*, double*, double&)'
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1754: undefined
>> reference
>> to `vtkPlane::IntersectWithLine(double*, double*, double*, double*,
>> double&,
>> double*)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkPolygon.cxx.o):
>> In function `vtkPriorityQueue::DeleteId(long long)':
>> /home/sghos003/vtk-5.10.1/Common/vtkPriorityQueue.h:139: undefined
>> reference
>> to `vtkPriorityQueue::Pop(long long, double&)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkQuad.cxx.o):
>> In
>> function `vtkQuad::EvaluatePosition(double*, double*, int&, double*,
>> double&, double*)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkQuad.cxx:100: undefined reference
>> to
>> `vtkPlane::ProjectPoint(double*, double*, double*, double*)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkStreamingDemandDrivenPipeline.cxx.o):
>> In function
>> `vtkStreamingDemandDrivenPipeline::CopyDefaultInformation(
>> vtkInformation*,
>> int, vtkInformationVector**, vtkInformationVector*)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkStreamingDemandDrivenPipeli
>> ne.cxx:494:
>> undefined reference to `vtkExtentTranslator::New()'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkStreamingDemandDrivenPipeline.cxx.o):
>> In function
>> `vtkStreamingDemandDrivenPipeline::GetExtentTranslator(vtkInformation*)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkStreamingDemandDrivenPipeli
>> ne.cxx:2033:
>> undefined reference to `vtkExtentTranslator::New()'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkTriangle.cxx.o):
>> In function `vtkTriangle::EvaluatePosition(double*, double*, int&,
>> double*,
>> double&, double*)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkTriangle.cxx:96: undefined
>> reference
>> to `vtkPlane::GeneralizedProjectPoint(double*, double*, double*,
>> double*)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkTriangle.cxx.o):
>> In function `vtkTriangle::IntersectWithLine(double*, double*, double,
>> double&, double*, double*, int&)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkTriangle.cxx:507: undefined
>> reference
>> to `vtkPlane::IntersectWithLine(double*, double*, double*, double*,
>> double&,
>> double*)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkTriangle.cxx.o):
>> In function `vtkTriangle::ComputeQuadric(double*, double*, double*,
>> vtkQuadric*)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkTriangle.cxx:1100: undefined
>> reference to `vtkQuadric::SetCoefficients(double, double, double, double,
>> double, double, double, double, double, double)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkAlgorithm.cxx.o):
>> In function `vtkAlgorithm::PrintSelf(std::ostream&, vtkIndent)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkAlgorithm.cxx:588: undefined
>> reference to `vtkErrorCode::GetStringFromErrorCode(unsigned long)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkDemandDrivenPipeline.cxx.o):
>> In function `__static_initialization_and_destruction_0(int, int)':
>> /home/sghos003/vtk-5.10.1/Common/vtkInstantiator.h:130: undefined
>> reference
>> to `vtkInstantiatorInitialize::vtkInstantiatorInitialize()'
>> /home/sghos003/vtk-5.10.1/Common/vtkInstantiator.h:130: undefined
>> reference
>> to `vtkInstantiatorInitialize::~vtkInstantiatorInitialize()'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPixel.cxx.o):
>> In
>> function `vtkPixel::EvaluatePosition(double*, double*, int&, double*,
>> double&, double*)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPixel.cxx:80: undefined reference
>> to
>> `vtkPlane::ProjectPoint(double*, double*, double*, double*)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPixel.cxx.o):
>> In
>> function `vtkPixel::IntersectWithLine(double*, double*, double, double&,
>> double*, double*, int&)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPixel.cxx:372: undefined
>> reference to
>> `vtkPlane::IntersectWithLine(double*, double*, double*, double*, double&,
>> double*)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkPolyhedron.cxx.o):
>> In function `vtkPolyhedron::vtkPolyhedron()':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:1336: undefined
>> reference to `vtkEdgeTable::New()'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkPolyhedron.cxx.o):
>> In function `vtkPolyhedron::Initialize()':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:1498: undefined
>> reference to `vtkEdgeTable::Reset()'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkPolyhedron.cxx.o):
>> In function `vtkPolyhedron::GenerateEdges()':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:1583: undefined
>> reference to `vtkEdgeTable::InitEdgeInsertion(long long, int)'
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:1591: undefined
>> reference to `vtkEdgeTable::IsEdge(long long, long long)'
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:1593: undefined
>> reference to `vtkEdgeTable::InsertEdge(long long, long long)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkPolyhedron.cxx.o):
>> In function `vtkPolyhedron::InternalContour(double, int,
>> vtkIncrementalPointLocator*, vtkDataArray*, vtkDataArray*, vtkPointData*,
>> vtkPointData*, vtkCellArray*, vtkIdToIdVectorMapType&,
>> vtkIdToIdVectorMapType&, vtkIdToIdMapType&)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:2354: undefined
>> reference to `vtkEdgeTable::InitTraversal()'
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:2355: undefined
>> reference to `vtkEdgeTable::GetNextEdge(long long&, long long&, void*&)'
>> ../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(
>> vtkPolyhedron.cxx.o):
>> In function
>> `vtkPolyhedron::vtkInternal::RemoveDuplicatedPointsFromFace
>> ArrayAndEdgeTable(vtkPoints*,
>> vtkIdTypeArray*&, vtkEdgeTable*&, double*)':
>> /home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:220: undefined
>> reference to `vtkEdgeTable::New()'
>>
>>
>>
>>
>> --
>> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/
>> opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> https://vtk.org/mailman/listinfo/vtkusers
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180528/e5a96d36/attachment.html>


More information about the vtkusers mailing list