<div dir="ltr"><div dir="ltr"><div dir="ltr">Hello All,<div><br></div><div>I am using the osgeo4W64 binaries for pdal and created a simple console applicaiton with the below code.</div><div><div>// ConsoleApplication1.cpp : Defines the entry point for the console application.</div><div>//</div><div><br></div><div>#include "stdafx.h"</div><div>#include <memory></div><div>#include <pdal/PointTable.hpp></div><div>#include <pdal/PointView.hpp></div><div>#include <pdal/io/LasReader.hpp></div><div>#include <pdal/io/LasHeader.hpp></div><div>#include <pdal/Options.hpp></div><div><br></div><div>int main()</div><div>{</div><div><span style="white-space:pre">        </span>pdal::Option las_opt("filename", "D:\\Data\\test_part.las");</div><div><span style="white-space:pre">      </span>pdal::Options las_opts;</div><div><span style="white-space:pre">       </span>las_opts.add(las_opt);</div><div><span style="white-space:pre">        </span>pdal::PointTable table;</div><div><span style="white-space:pre">       </span>pdal::LasReader las_reader;</div><div><span style="white-space:pre">   </span>las_reader.setOptions(las_opts);</div><div><span style="white-space:pre">      </span>las_reader.prepare(table);</div><div><span style="white-space:pre">    </span>pdal::PointViewSet point_view_set = las_reader.execute(table);</div><div><span style="white-space:pre">        </span>//pdal::PointViewPtr point_view = *point_view_set.begin();</div><div><span style="white-space:pre">    </span>//pdal::Dimension::IdList dims = point_view->dims();</div><div><span style="white-space:pre">       </span>//pdal::LasHeader las_header = las_reader.header();</div><div>    return 0;</div><div>}</div></div><div><br></div><div>and I get following errors.</div><div><div>1>ConsoleApplication1.obj : error LNK2019: unresolved external symbol "public: void __cdecl pdal::BOX2D::clear(void)" (?clear@BOX2D@pdal@@QEAAXXZ) referenced in function "public: __cdecl pdal::BOX2D::BOX2D(void)" (??0BOX2D@pdal@@QEAA@XZ)</div><div>1>ConsoleApplication1.obj : error LNK2019: unresolved external symbol "public: void __cdecl pdal::BOX3D::clear(void)" (?clear@BOX3D@pdal@@QEAAXXZ) referenced in function "public: __cdecl pdal::BOX3D::BOX3D(void)" (??0BOX3D@pdal@@QEAA@XZ)</div><div>1>ConsoleApplication1.obj : error LNK2019: unresolved external symbol "public: __cdecl pdal::PointLayout::PointLayout(void)" (??0PointLayout@pdal@@QEAA@XZ) referenced in function "public: __cdecl pdal::PointTable::PointTable(void)" (??0PointTable@pdal@@QEAA@XZ)</div><div>1>ConsoleApplication1.obj : error LNK2019: unresolved external symbol "public: void __cdecl pdal::PointLayout::finalize(void)" (?finalize@PointLayout@pdal@@QEAAXXZ) referenced in function "public: virtual void __cdecl pdal::BasePointTable::finalize(void)" (?finalize@BasePointTable@pdal@@UEAAXXZ)</div><div>1>ConsoleApplication1.obj : error LNK2019: unresolved external symbol "protected: __cdecl pdal::BasePointTable::BasePointTable(class pdal::PointLayout &)" (??0BasePointTable@pdal@@IEAA@AEAVPointLayout@1@@Z) referenced in function "protected: __cdecl pdal::SimplePointTable::SimplePointTable(class pdal::PointLayout &)" (??0SimplePointTable@pdal@@IEAA@AEAVPointLayout@1@@Z)</div><div>1>ConsoleApplication1.obj : error LNK2019: unresolved external symbol "public: virtual __cdecl pdal::BasePointTable::~BasePointTable(void)" (??1BasePointTable@pdal@@UEAA@XZ) referenced in function "public: virtual __cdecl pdal::SimplePointTable::~SimplePointTable(void)" (??1SimplePointTable@pdal@@UEAA@XZ)</div><div>1>ConsoleApplication1.obj : error LNK2001: unresolved external symbol "private: virtual void __cdecl pdal::SimplePointTable::setFieldInternal(enum pdal::Dimension::Id,unsigned __int64,void const *)" (?setFieldInternal@SimplePointTable@pdal@@EEAAXW4Id@Dimension@2@_KPEBX@Z)</div><div>1>ConsoleApplication1.obj : error LNK2001: unresolved external symbol "private: virtual void __cdecl pdal::SimplePointTable::getFieldInternal(enum pdal::Dimension::Id,unsigned __int64,void *)const " (?getFieldInternal@SimplePointTable@pdal@@EEBAXW4Id@Dimension@2@_KPEAX@Z)</div><div>1>ConsoleApplication1.obj : error LNK2019: unresolved external symbol "public: virtual __cdecl pdal::PointTable::~PointTable(void)" (??1PointTable@pdal@@UEAA@XZ) referenced in function "public: virtual void * __cdecl pdal::PointTable::`scalar deleting destructor'(unsigned int)" (??_GPointTable@pdal@@UEAAPEAXI@Z)</div><div>1>ConsoleApplication1.obj : error LNK2001: unresolved external symbol "protected: virtual char * __cdecl pdal::PointTable::getPoint(unsigned __int64)" (?getPoint@PointTable@pdal@@MEAAPEAD_K@Z)</div><div>1>ConsoleApplication1.obj : error LNK2001: unresolved external symbol "private: virtual unsigned __int64 __cdecl pdal::PointTable::addPoint(void)" (?addPoint@PointTable@pdal@@EEAA_KXZ)</div><div>1>ConsoleApplication1.obj : error LNK2019: unresolved external symbol "public: void __cdecl pdal::Options::add(class pdal::Option const &)" (?add@Options@pdal@@QEAAXAEBVOption@2@@Z) referenced in function main</div><div>1>ConsoleApplication1.obj : error LNK2019: unresolved external symbol "public: void __cdecl pdal::Stage::prepare(class pdal::BasePointTable &)" (?prepare@Stage@pdal@@QEAAXAEAVBasePointTable@2@@Z) referenced in function main</div><div>1>ConsoleApplication1.obj : error LNK2019: unresolved external symbol "public: class std::set<class std::shared_ptr<class pdal::PointView>,struct pdal::PointViewLess,class std::allocator<class std::shared_ptr<class pdal::PointView> > > __cdecl pdal::Stage::execute(class pdal::BasePointTable &)" (?execute@Stage@pdal@@QEAA?AV?$set@V?$shared_ptr@VPointView@pdal@@@std@@UPointViewLess@pdal@@V?$allocator@V?$shared_ptr@VPointView@pdal@@@std@@@2@@std@@AEAVBasePointTable@2@@Z) referenced in function main</div><div>1>ConsoleApplication1.obj : error LNK2019: unresolved external symbol "public: __cdecl pdal::LasReader::LasReader(void)" (??0LasReader@pdal@@QEAA@XZ) referenced in function main</div><div>1>ConsoleApplication1.obj : error LNK2019: unresolved external symbol "public: virtual __cdecl pdal::LasReader::~LasReader(void)" (??1LasReader@pdal@@UEAA@XZ) referenced in function "public: void __cdecl pdal::LasReader::`vbase destructor'(void)" (??_DLasReader@pdal@@QEAAXXZ)</div><div>1>D:\Workspace\PDAL.Wrapper-17660216-Cpp-Sharp-002\x64\Debug\ConsoleApplication1.exe : fatal error LNK1120: 16 unresolved externals</div><div>1>Done building project "ConsoleApplication1.vcxproj" -- FAILED.</div></div><div><br></div><div>Any suggestion and help will be appreciated.</div><div><br></div><div>Warm Regards,</div><div>Thejus</div><div><br></div><div><br></div></div></div></div>