<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 7, 2017 at 11:37 AM, Es Kay <span dir="ltr"><<a href="mailto:fransinn@msn.com" target="_blank">fransinn@msn.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div id="gmail-m_8826042176997270652divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi guys,</p>
<p><span style="font-family:"Courier New",monospace;font-size:12pt">Stage *writer = factory.createStage("writers.</span><wbr style="font-family:"Courier New",monospace;font-size:12pt"><span style="font-family:"Courier New",monospace;font-size:12pt">pcd");</span><br></p>
<p><span><br>
</span></p>
<p><span>I get a bad alloc when setting the input (writer-><span>setInput(reader);</span>)<br>
<span style="font-family:"Courier New",monospace">std::_Vector_alloc<std::_Vec_<wbr>base_types<pdal::Stage * __ptr64,std::allocator<pdal::<wbr>Stage * __ptr64> > >::_Mylast(...) hat 0x78 zurückgegeben</span><br>
</span></p>
<p><span><span style="font-family:"Courier New",monospace"><span style="font-family:Arial,Helvetica,sans-serif"></span><br>
</span></span></p>
<span style="font-family:Calibri,Helvetica,sans-serif">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).</span></div></div></blockquote><div><br></div><div>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")</div><div><span style="font-family:Calibri,Helvetica,sans-serif;color:rgb(0,0,0);font-size:12pt"><br></span></div><div>-- <br></div></div><div class="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
</div></div>