<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">These are linker errors – you’ve defined stuff in your #includes, but it doesn’t know where the implementation is.<o:p></o:p></p>
<p class="MsoNormal">When you #include something in your code you also need to include the appropriate libraries to your project so that the linker can resolve these references.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Jesse<o:p></o:p></p>
<p class="MsoNormal">--<o:p></o:p></p>
<p class="MsoNormal">Jesse Kinross-Smith<o:p></o:p></p>
<p class="MsoNormal">Senior Software Engineer - BSW<o:p></o:p></p>
<p class="MsoNormal">Bentley Systems, Fremantle<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>From:</b> vtkusers [mailto:vtkusers-bounces@vtk.org] <b>On Behalf Of
</b>Shrabani Ghosh<br>
<b>Sent:</b> Tuesday, 29 May 2018 10:09 AM<br>
<b>To:</b> Bill Lorensen <bill.lorensen@gmail.com><br>
<b>Cc:</b> VTK Users <vtkusers@vtk.org><br>
<b>Subject:</b> Re: [vtkusers] /vtkDelaunay3D.cxx:533: undefined reference to `vtkEdgeTable::New()<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Yep see these all are vtk files. I didn't do anything with these files. And I checked the header files are included. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Mon, May 28, 2018 at 9:17 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal">Are you including in your code the #includes for the missing objects?./<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Mon, May 28, 2018, 5:51 PM Shrabani Ghosh <<a href="mailto:srbn.ghosh99@gmail.com" target="_blank">srbn.ghosh99@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">I am getting a lot of error similar like this. I have added include directory<br>
and library directories in the project properties, Why am I getting this<br>
errors.<br>
<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolyData.cxx:72: undefined reference<br>
to `vtkSimpleCriticalSection::Lock()'<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolyData.cxx:83: undefined reference<br>
to `vtkSimpleCriticalSection::Unlock()'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPolyData.cxx.o):<br>
In function `vtkPolyData::~vtkPolyData()':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolyData.cxx:96: undefined reference<br>
to `vtkSimpleCriticalSection::Lock()'<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolyData.cxx:106: undefined reference<br>
to `vtkSimpleCriticalSection::Unlock()'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPolyData.cxx.o):<br>
In function `__static_initialization_and_destruction_0(int, int)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolyData.cxx:45: undefined reference<br>
to `vtkSimpleCriticalSection::~vtkSimpleCriticalSection()'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPolyData.cxx.o):<br>
In function `vtkSimpleCriticalSection::vtkSimpleCriticalSection()':<br>
/home/sghos003/vtk-5.10.1/Common/vtkCriticalSection.h:69: undefined<br>
reference to `vtable for vtkSimpleCriticalSection'<br>
/home/sghos003/vtk-5.10.1/Common/vtkCriticalSection.h:70: undefined<br>
reference to `vtkSimpleCriticalSection::Init()'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPolygon.cxx.o):<br>
In function `vtkPolygon::EvaluatePosition(double*, double*, int&, double*,<br>
double&, double*)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:279: undefined reference<br>
to `vtkPlane::ProjectPoint(double*, double*, double*, double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPolygon.cxx.o):<br>
In function `vtkPolyVertexList::RemoveVertex(int, vtkIdList*,<br>
vtkPriorityQueue*)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1084: undefined reference<br>
to `vtkPriorityQueue::Insert(double, long long)'<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1089: undefined reference<br>
to `vtkPriorityQueue::Insert(double, long long)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPolygon.cxx.o):<br>
In function `vtkPolygon::EarCutTriangulation()':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1256: undefined reference<br>
to `vtkPriorityQueue::New()'<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1257: undefined reference<br>
to `vtkPriorityQueue::Allocate(long long, long long)'<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1263: undefined reference<br>
to `vtkPriorityQueue::Insert(double, long long)'<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1280: undefined reference<br>
to `vtkPriorityQueue::Pop(long long)'<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1285: undefined reference<br>
to `vtkPriorityQueue::Pop(long long)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPolygon.cxx.o):<br>
In function `vtkPolygon::IntersectWithLine(double*, double*, double,<br>
double&, double*, double*, int&)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1475: undefined reference<br>
to `vtkPlane::IntersectWithLine(double*, double*, double*, double*, double&,<br>
double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPolygon.cxx.o):<br>
In function `vtkPolygon::IntersectPolygonWithPolygon(int, double*, double*,<br>
int, double*, double*, double, double*)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1713: undefined reference<br>
to `vtkBox::IntersectBox(double*, double*, double*, double*, double&)'<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1718: undefined reference<br>
to `vtkPlane::IntersectWithLine(double*, double*, double*, double*, double&,<br>
double*)'<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1749: undefined reference<br>
to `vtkBox::IntersectBox(double*, double*, double*, double*, double&)'<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolygon.cxx:1754: undefined reference<br>
to `vtkPlane::IntersectWithLine(double*, double*, double*, double*, double&,<br>
double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPolygon.cxx.o):<br>
In function `vtkPriorityQueue::DeleteId(long long)':<br>
/home/sghos003/vtk-5.10.1/Common/vtkPriorityQueue.h:139: undefined reference<br>
to `vtkPriorityQueue::Pop(long long, double&)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkQuad.cxx.o): In<br>
function `vtkQuad::EvaluatePosition(double*, double*, int&, double*,<br>
double&, double*)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkQuad.cxx:100: undefined reference to<br>
`vtkPlane::ProjectPoint(double*, double*, double*, double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkStreamingDemandDrivenPipeline.cxx.o):<br>
In function<br>
`vtkStreamingDemandDrivenPipeline::CopyDefaultInformation(vtkInformation*,<br>
int, vtkInformationVector**, vtkInformationVector*)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkStreamingDemandDrivenPipeline.cxx:494:<br>
undefined reference to `vtkExtentTranslator::New()'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkStreamingDemandDrivenPipeline.cxx.o):<br>
In function<br>
`vtkStreamingDemandDrivenPipeline::GetExtentTranslator(vtkInformation*)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkStreamingDemandDrivenPipeline.cxx:2033:<br>
undefined reference to `vtkExtentTranslator::New()'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkTriangle.cxx.o):<br>
In function `vtkTriangle::EvaluatePosition(double*, double*, int&, double*,<br>
double&, double*)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkTriangle.cxx:96: undefined reference<br>
to `vtkPlane::GeneralizedProjectPoint(double*, double*, double*, double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkTriangle.cxx.o):<br>
In function `vtkTriangle::IntersectWithLine(double*, double*, double,<br>
double&, double*, double*, int&)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkTriangle.cxx:507: undefined reference<br>
to `vtkPlane::IntersectWithLine(double*, double*, double*, double*, double&,<br>
double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkTriangle.cxx.o):<br>
In function `vtkTriangle::ComputeQuadric(double*, double*, double*,<br>
vtkQuadric*)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkTriangle.cxx:1100: undefined<br>
reference to `vtkQuadric::SetCoefficients(double, double, double, double,<br>
double, double, double, double, double, double)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkAlgorithm.cxx.o):<br>
In function `vtkAlgorithm::PrintSelf(std::ostream&, vtkIndent)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkAlgorithm.cxx:588: undefined<br>
reference to `vtkErrorCode::GetStringFromErrorCode(unsigned long)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkDemandDrivenPipeline.cxx.o):<br>
In function `__static_initialization_and_destruction_0(int, int)':<br>
/home/sghos003/vtk-5.10.1/Common/vtkInstantiator.h:130: undefined reference<br>
to `vtkInstantiatorInitialize::vtkInstantiatorInitialize()'<br>
/home/sghos003/vtk-5.10.1/Common/vtkInstantiator.h:130: undefined reference<br>
to `vtkInstantiatorInitialize::~vtkInstantiatorInitialize()'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPixel.cxx.o): In<br>
function `vtkPixel::EvaluatePosition(double*, double*, int&, double*,<br>
double&, double*)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPixel.cxx:80: undefined reference to<br>
`vtkPlane::ProjectPoint(double*, double*, double*, double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPixel.cxx.o): In<br>
function `vtkPixel::IntersectWithLine(double*, double*, double, double&,<br>
double*, double*, int&)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPixel.cxx:372: undefined reference to<br>
`vtkPlane::IntersectWithLine(double*, double*, double*, double*, double&,<br>
double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPolyhedron.cxx.o):<br>
In function `vtkPolyhedron::vtkPolyhedron()':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:1336: undefined<br>
reference to `vtkEdgeTable::New()'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPolyhedron.cxx.o):<br>
In function `vtkPolyhedron::Initialize()':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:1498: undefined<br>
reference to `vtkEdgeTable::Reset()'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPolyhedron.cxx.o):<br>
In function `vtkPolyhedron::GenerateEdges()':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:1583: undefined<br>
reference to `vtkEdgeTable::InitEdgeInsertion(long long, int)'<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:1591: undefined<br>
reference to `vtkEdgeTable::IsEdge(long long, long long)'<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:1593: undefined<br>
reference to `vtkEdgeTable::InsertEdge(long long, long long)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPolyhedron.cxx.o):<br>
In function `vtkPolyhedron::InternalContour(double, int,<br>
vtkIncrementalPointLocator*, vtkDataArray*, vtkDataArray*, vtkPointData*,<br>
vtkPointData*, vtkCellArray*, vtkIdToIdVectorMapType&,<br>
vtkIdToIdVectorMapType&, vtkIdToIdMapType&)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:2354: undefined<br>
reference to `vtkEdgeTable::InitTraversal()'<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:2355: undefined<br>
reference to `vtkEdgeTable::GetNextEdge(long long&, long long&, void*&)'<br>
../../vtk-5.10.1/vtk-5.10/lib/vtk-5.10/libvtkFiltering.a(vtkPolyhedron.cxx.o):<br>
In function<br>
`vtkPolyhedron::vtkInternal::RemoveDuplicatedPointsFromFaceArrayAndEdgeTable(vtkPoints*,<br>
vtkIdTypeArray*&, vtkEdgeTable*&, double*)':<br>
/home/sghos003/vtk-5.10.1/Filtering/vtkPolyhedron.cxx:220: undefined<br>
reference to `vtkEdgeTable::New()'<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__vtk.1045678.n5.nabble.com_VTK-2DUsers-2Df1224199.html&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=QPUyrnKdkaGJHD0OTha3x09u1N6qkcvUsRW8n2fg59E&m=VfyJ1Rm6IyL-6lVMuXtY_ZgyDdMGRP0Y2H05P8Lqbl0&s=VD920jmIbWFt-vOlcgThtxQSbD_1FSYLokd0hFr2VGU&e=" target="_blank">
http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html</a><br>
_______________________________________________<br>
Powered by <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=QPUyrnKdkaGJHD0OTha3x09u1N6qkcvUsRW8n2fg59E&m=VfyJ1Rm6IyL-6lVMuXtY_ZgyDdMGRP0Y2H05P8Lqbl0&s=x3HuTyz9dZZY5UjGYX0ncJQzzXuTiGapVmuO0ARGDzk&e=" target="_blank">
www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=QPUyrnKdkaGJHD0OTha3x09u1N6qkcvUsRW8n2fg59E&m=VfyJ1Rm6IyL-6lVMuXtY_ZgyDdMGRP0Y2H05P8Lqbl0&s=Uzgvg0Bf03ae36ZwT1DfJfD-A4WdGTNavhbclwXIjME&e=" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.vtk.org_Wiki_VTK-5FFAQ&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=QPUyrnKdkaGJHD0OTha3x09u1N6qkcvUsRW8n2fg59E&m=VfyJ1Rm6IyL-6lVMuXtY_ZgyDdMGRP0Y2H05P8Lqbl0&s=rKNQZcQhgJanGFH47agy5JbvssAJgg4p-awgcPrelWY&e=" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3Dvtkusers&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=QPUyrnKdkaGJHD0OTha3x09u1N6qkcvUsRW8n2fg59E&m=VfyJ1Rm6IyL-6lVMuXtY_ZgyDdMGRP0Y2H05P8Lqbl0&s=S1wJCgCzBKad-j2lnVZ7fTtOUGYzJEFd-YpE1BIA9fM&e=" target="_blank">
http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__vtk.org_mailman_listinfo_vtkusers&d=DwMFaQ&c=hmGTLOph1qd_VnCqj81HzEWkDaxmYdIWRBdoFggzhj8&r=QPUyrnKdkaGJHD0OTha3x09u1N6qkcvUsRW8n2fg59E&m=VfyJ1Rm6IyL-6lVMuXtY_ZgyDdMGRP0Y2H05P8Lqbl0&s=-lIepCST5LY7EBP3rF7Uxi2pYqic5HCtEND0_zRpaw8&e=" target="_blank">https://vtk.org/mailman/listinfo/vtkusers</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>