<div dir="auto"><div>Post your program. <br><br><div class="gmail_quote"><div dir="ltr">On Mon, May 28, 2018, 7:08 PM Shrabani Ghosh <<a href="mailto:srbn.ghosh99@gmail.com" target="_blank" rel="noreferrer">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"><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" rel="noreferrer noreferrer" 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="m_6927600631299703003m_-6801828954801101042HOEnZb"><div class="m_6927600631299703003m_-6801828954801101042h5"><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" rel="noreferrer noreferrer" 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/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="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer noreferrer 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 noreferrer noreferrer" 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="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div>
</div></div></blockquote></div><br></div>
</blockquote></div></div></div>