[pdal] PDAL and PCL

Es Kay fransinn at msn.com
Mon Aug 7 08:37:40 PDT 2017


Hi guys,


I'm relatively new to PDAL and PCL. What I want to do:

- read arbitrary point clouds e.g. LAS-files

- process them in PCL.


I used the "Writing with PDAL" tutorial (https://www.pdal.io/tutorial/writing.html) to create*.txt, *.ply files from las-files, which works fine. However, when write


Stage *writer = factory.createStage("writers.pcd");


I get a bad alloc when setting the input (writer->setInput(reader);)
std::_Vector_alloc<std::_Vec_base_types<pdal::Stage * __ptr64,std::allocator<pdal::Stage * __ptr64> > >::_Mylast(...) hat 0x78 zurückgegeben


When I type in pdal --drivers, the pcd writers and readers do not appear, although dll-files exist in the bin-folder (the drivers appear when navigated to bin folder in powershell). (I compiled PDAL with PCL support following the official documentation). The approriate lib-files (e.g. libpdal_plugin_writer_pcd.lib) exist as well, which I include in the VS2015 solution.

Any hints would be appreciated.

Thanks!

My Configuration:
Windows 10, 64 BIt
PDAL 1.5.0, PCL 1.8.0 compiled with MSVC 14.0


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170807/1699165e/attachment.html>


More information about the pdal mailing list