[pdal] PDAL and PCL

Andrew Bell andrew.bell.ia at gmail.com
Tue Aug 8 05:47:05 PDT 2017


On Mon, Aug 7, 2017 at 11:37 AM, Es Kay <fransinn at msn.com> wrote:

> Hi guys,
>
> 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).
>

If the drivers aren't shown with pdal --drivers, they can't be found by the
plugin manager.  My assumption is that createStage() is returning 0.  You
can run pdal --debug to show information about the plugin loading process
and verify which directories are being searched for plugins.  You can also
set the environment variable PDAL_DRIVER_PATH to override the default
locations ( ".", "./lib", "../lib", "./bin", "../bin")

-- 
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170808/5ac002ba/attachment.html>


More information about the pdal mailing list