<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi guys,</p>
<p><br>
</p>
<p>I'm relatively new to PDAL and PCL. What I want to do:</p>
<p>- read arbitrary point clouds e.g. LAS-files</p>
<p>- process them in PCL.</p>
<p><br>
</p>
<p>I used the "Writing with PDAL" tutorial (<a href="https://www.pdal.io/tutorial/writing.html" class="OWAAutoLink" id="LPlnk310889" previewremoved="true">https://www.pdal.io/tutorial/writing.html</a>) to create*.txt, *.ply files from las-files, which works
 fine. However, when write</p>
<br>
<p><span style="font-family: "Courier New", monospace;">Stage *writer = factory.createStage("writers.pcd");</span></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_base_types<pdal::Stage * __ptr64,std::allocator<pdal::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). (I compiled PDAL
 with PCL support following the official documentation). The approriate lib-files (e.g. <span>libpdal_plugin_writer_pcd.lib) exist as well, which I include in the VS2015 solution.</span></span>
<div><br>
</div>
<div>Any hints would be appreciated.</div>
<div><br>
</div>
<div>Thanks!</div>
<div><span style="font-family: Calibri, Helvetica, sans-serif;"><span></span></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif;"><span><br>
</span></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif;"><span>My Configuration:</span></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif;"><span>Windows 10, 64 BIt</span></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif;"><span>PDAL 1.5.0, PCL 1.8.0 compiled with MSVC 14.0</span></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif;"><span><br>
</span></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif;"><span><br>
</span></span></div>
</div>
</body>
</html>