<div dir="ltr">Yep see these all are vtk files. I didn't do anything with these files. And I checked the header files are included. </div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 28, 2018 at 9:17 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Are you including in your code the #includes for the missing objects?./</div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">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:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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/<wbr>Filtering/vtkPolyData.cxx:72: undefined reference<br>
to `vtkSimpleCriticalSection::<wbr>Lock()'<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolyData.cxx:83: undefined reference<br>
to `vtkSimpleCriticalSection::<wbr>Unlock()'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPolyData.cxx.o):<br>
In function `vtkPolyData::~vtkPolyData()':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolyData.cxx:96: undefined reference<br>
to `vtkSimpleCriticalSection::<wbr>Lock()'<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolyData.cxx:106: undefined reference<br>
to `vtkSimpleCriticalSection::<wbr>Unlock()'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPolyData.cxx.o):<br>
In function `__static_initialization_and_<wbr>destruction_0(int, int)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolyData.cxx:45: undefined reference<br>
to `vtkSimpleCriticalSection::~<wbr>vtkSimpleCriticalSection()'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPolyData.cxx.o):<br>
In function `vtkSimpleCriticalSection::<wbr>vtkSimpleCriticalSection()':<br>
/home/sghos003/vtk-5.10.1/<wbr>Common/vtkCriticalSection.h:<wbr>69: undefined<br>
reference to `vtable for vtkSimpleCriticalSection'<br>
/home/sghos003/vtk-5.10.1/<wbr>Common/vtkCriticalSection.h:<wbr>70: undefined<br>
reference to `vtkSimpleCriticalSection::<wbr>Init()'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPolygon.cxx.o):<br>
In function `vtkPolygon::EvaluatePosition(<wbr>double*, double*, int&, double*,<br>
double&, double*)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolygon.cxx:279: undefined reference<br>
to `vtkPlane::ProjectPoint(<wbr>double*, double*, double*, double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPolygon.cxx.o):<br>
In function `vtkPolyVertexList::<wbr>RemoveVertex(int, vtkIdList*,<br>
vtkPriorityQueue*)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolygon.cxx:1084: undefined reference<br>
to `vtkPriorityQueue::Insert(<wbr>double, long long)'<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolygon.cxx:1089: undefined reference<br>
to `vtkPriorityQueue::Insert(<wbr>double, long long)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPolygon.cxx.o):<br>
In function `vtkPolygon::<wbr>EarCutTriangulation()':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolygon.cxx:1256: undefined reference<br>
to `vtkPriorityQueue::New()'<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolygon.cxx:1257: undefined reference<br>
to `vtkPriorityQueue::Allocate(<wbr>long long, long long)'<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolygon.cxx:1263: undefined reference<br>
to `vtkPriorityQueue::Insert(<wbr>double, long long)'<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolygon.cxx:1280: undefined reference<br>
to `vtkPriorityQueue::Pop(long long)'<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolygon.cxx:1285: undefined reference<br>
to `vtkPriorityQueue::Pop(long long)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPolygon.cxx.o):<br>
In function `vtkPolygon::<wbr>IntersectWithLine(double*, double*, double,<br>
double&, double*, double*, int&)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolygon.cxx:1475: undefined reference<br>
to `vtkPlane::IntersectWithLine(<wbr>double*, double*, double*, double*, double&,<br>
double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPolygon.cxx.o):<br>
In function `vtkPolygon::<wbr>IntersectPolygonWithPolygon(<wbr>int, double*, double*,<br>
int, double*, double*, double, double*)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolygon.cxx:1713: undefined reference<br>
to `vtkBox::IntersectBox(double*, double*, double*, double*, double&)'<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolygon.cxx:1718: undefined reference<br>
to `vtkPlane::IntersectWithLine(<wbr>double*, double*, double*, double*, double&,<br>
double*)'<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolygon.cxx:1749: undefined reference<br>
to `vtkBox::IntersectBox(double*, double*, double*, double*, double&)'<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolygon.cxx:1754: undefined reference<br>
to `vtkPlane::IntersectWithLine(<wbr>double*, double*, double*, double*, double&,<br>
double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPolygon.cxx.o):<br>
In function `vtkPriorityQueue::DeleteId(<wbr>long long)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Common/vtkPriorityQueue.h:139: undefined reference<br>
to `vtkPriorityQueue::Pop(long long, double&)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkQuad.cxx.o): In<br>
function `vtkQuad::EvaluatePosition(<wbr>double*, double*, int&, double*,<br>
double&, double*)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkQuad.cxx:100: undefined reference to<br>
`vtkPlane::ProjectPoint(<wbr>double*, double*, double*, double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkStreamingDemandDrivenPipeli<wbr>ne.cxx.o):<br>
In function<br>
`<wbr>vtkStreamingDemandDrivenPipeli<wbr>ne::CopyDefaultInformation(<wbr>vtkInformation*,<br>
int, vtkInformationVector**, vtkInformationVector*)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/<wbr>vtkStreamingDemandDrivenPipeli<wbr>ne.cxx:494:<br>
undefined reference to `vtkExtentTranslator::New()'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkStreamingDemandDrivenPipeli<wbr>ne.cxx.o):<br>
In function<br>
`<wbr>vtkStreamingDemandDrivenPipeli<wbr>ne::GetExtentTranslator(<wbr>vtkInformation*)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/<wbr>vtkStreamingDemandDrivenPipeli<wbr>ne.cxx:2033:<br>
undefined reference to `vtkExtentTranslator::New()'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkTriangle.cxx.o):<br>
In function `vtkTriangle::<wbr>EvaluatePosition(double*, double*, int&, double*,<br>
double&, double*)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkTriangle.cxx:96: undefined reference<br>
to `vtkPlane::<wbr>GeneralizedProjectPoint(<wbr>double*, double*, double*, double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkTriangle.cxx.o):<br>
In function `vtkTriangle::<wbr>IntersectWithLine(double*, double*, double,<br>
double&, double*, double*, int&)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkTriangle.cxx:507: undefined reference<br>
to `vtkPlane::IntersectWithLine(<wbr>double*, double*, double*, double*, double&,<br>
double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkTriangle.cxx.o):<br>
In function `vtkTriangle::ComputeQuadric(<wbr>double*, double*, double*,<br>
vtkQuadric*)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkTriangle.cxx:<wbr>1100: undefined<br>
reference to `vtkQuadric::SetCoefficients(<wbr>double, double, double, double,<br>
double, double, double, double, double, double)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkAlgorithm.cxx.o):<br>
In function `vtkAlgorithm::PrintSelf(std::<wbr>ostream&, vtkIndent)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkAlgorithm.cxx:<wbr>588: undefined<br>
reference to `vtkErrorCode::<wbr>GetStringFromErrorCode(<wbr>unsigned long)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkDemandDrivenPipeline.cxx.o)<wbr>:<br>
In function `__static_initialization_and_<wbr>destruction_0(int, int)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Common/vtkInstantiator.h:130: undefined reference<br>
to `vtkInstantiatorInitialize::<wbr>vtkInstantiatorInitialize()'<br>
/home/sghos003/vtk-5.10.1/<wbr>Common/vtkInstantiator.h:130: undefined reference<br>
to `vtkInstantiatorInitialize::~<wbr>vtkInstantiatorInitialize()'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPixel.cxx.o): In<br>
function `vtkPixel::EvaluatePosition(<wbr>double*, double*, int&, double*,<br>
double&, double*)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPixel.cxx:80: undefined reference to<br>
`vtkPlane::ProjectPoint(<wbr>double*, double*, double*, double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPixel.cxx.o): In<br>
function `vtkPixel::IntersectWithLine(<wbr>double*, double*, double, double&,<br>
double*, double*, int&)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPixel.cxx:372: undefined reference to<br>
`vtkPlane::IntersectWithLine(<wbr>double*, double*, double*, double*, double&,<br>
double*)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPolyhedron.cxx.o):<br>
In function `vtkPolyhedron::vtkPolyhedron(<wbr>)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolyhedron.cxx:<wbr>1336: undefined<br>
reference to `vtkEdgeTable::New()'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPolyhedron.cxx.o):<br>
In function `vtkPolyhedron::Initialize()':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolyhedron.cxx:<wbr>1498: undefined<br>
reference to `vtkEdgeTable::Reset()'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPolyhedron.cxx.o):<br>
In function `vtkPolyhedron::GenerateEdges(<wbr>)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolyhedron.cxx:<wbr>1583: undefined<br>
reference to `vtkEdgeTable::<wbr>InitEdgeInsertion(long long, int)'<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolyhedron.cxx:<wbr>1591: undefined<br>
reference to `vtkEdgeTable::IsEdge(long long, long long)'<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolyhedron.cxx:<wbr>1593: undefined<br>
reference to `vtkEdgeTable::InsertEdge(long long, long long)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPolyhedron.cxx.o):<br>
In function `vtkPolyhedron::<wbr>InternalContour(double, int,<br>
vtkIncrementalPointLocator*, vtkDataArray*, vtkDataArray*, vtkPointData*,<br>
vtkPointData*, vtkCellArray*, vtkIdToIdVectorMapType&,<br>
vtkIdToIdVectorMapType&, vtkIdToIdMapType&)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolyhedron.cxx:<wbr>2354: undefined<br>
reference to `vtkEdgeTable::InitTraversal()<wbr>'<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolyhedron.cxx:<wbr>2355: undefined<br>
reference to `vtkEdgeTable::GetNextEdge(<wbr>long long&, long long&, void*&)'<br>
../../vtk-5.10.1/vtk-5.10/lib/<wbr>vtk-5.10/libvtkFiltering.a(<wbr>vtkPolyhedron.cxx.o):<br>
In function<br>
`vtkPolyhedron::vtkInternal::<wbr>RemoveDuplicatedPointsFromFace<wbr>ArrayAndEdgeTable(vtkPoints*,<br>
vtkIdTypeArray*&, vtkEdgeTable*&, double*)':<br>
/home/sghos003/vtk-5.10.1/<wbr>Filtering/vtkPolyhedron.cxx:<wbr>220: undefined<br>
reference to `vtkEdgeTable::New()'<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="noreferrer noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/VTK-Users-f1224199.html</a><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" rel="noreferrer noreferrer" target="_blank">https://vtk.org/mailman/<wbr>listinfo/vtkusers</a><br>
</blockquote></div>
</div></div></blockquote></div><br></div>