<div dir="ltr">I'm not sure about Brad's experience with this, but I think my note to the last person who had a problem with this was incorrect.  I don't think boost needs to be rebuilt.  Instead, I think you need to make sure that PCL is built with C++11.  The problem comes when PCL is built with C++03 and PDAL is built with C++11.  The lanczos initializer is in a header, and if it's built consistently with your libraries, all should be well, I think.<div><br></div><div>Brad?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 8, 2015 at 3:30 PM, Matthew Hanson <span dir="ltr"><<a href="mailto:mhanson@appliedgeosolutions.com" target="_blank">mhanson@appliedgeosolutions.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Unless someone has a better idea, I'm going to go ahead and try to compile boost with c++11 support, as I've just been installing from the Ubuntu repo and I'm not sure the compile flags used.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr">Matthew Hanson<div>Applied GeoSolutions</div><div><a href="tel:%28603%29%20659-3363%20x91" value="+16036593363" target="_blank">(603) 659-3363 x91</a></div><div><a href="http://appliedgeosolutions.com" target="_blank">http://appliedgeosolutions.com</a></div><div><a href="mailto:mhanson@appliedgeosolutions.com" target="_blank">mhanson@appliedgeosolutions.com</a></div><div><br></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jan 8, 2015 at 4:27 PM, Matthew Hanson <span dir="ltr"><<a href="mailto:mhanson@appliedgeosolutions.com" target="_blank">mhanson@appliedgeosolutions.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok so that didn't work.   I'm back to getting a seg fault.   Ran a stack trace on it and:<div><br></div><div>#0  0x00007fb23dd228fc in boost::math::lanczos::lanczos_initializer<boost::math::lanczos::lanczos17m64, long double>::init::init() () from /usr/lib/libpcl_features.so.1.7<br></div><div><br></div><div>Is there a boost version requirement?  I've got 1.54 installed.   The docs on the PCL site only say >=1.46.1</div><div><br></div><div>Excluding the mucking around with the PCL pipleline branch I've tried both binary packages and building PCL myself, on two different machines.  Not sure what I'm not getting right here, this is a standard Ubuntu 14.04 setup, nothing unusual. </div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><span><br clear="all"><div><div><div dir="ltr">Matthew Hanson<div>Applied GeoSolutions</div><div><a href="tel:%28603%29%20659-3363%20x91" value="+16036593363" target="_blank">(603) 659-3363 x91</a></div><div><a href="http://appliedgeosolutions.com" target="_blank">http://appliedgeosolutions.com</a></div><div><a href="mailto:mhanson@appliedgeosolutions.com" target="_blank">mhanson@appliedgeosolutions.com</a></div><div><br></div></div></div></div>
<br></span><div><div><div class="gmail_quote">On Thu, Jan 8, 2015 at 2:27 PM, Matthew Hanson <span dir="ltr"><<a href="mailto:mhanson@appliedgeosolutions.com" target="_blank">mhanson@appliedgeosolutions.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, I've checked through the cmake output and it does find PCL.    I'll set the PCL_DIR, I had not done so.   It does seem like what it's missing, config info about locations of the PCL library.<div><br></div><div>Thanks!</div><div><br></div><div>matt</div></div><div class="gmail_extra"><span><br clear="all"><div><div><div dir="ltr">Matthew Hanson<div>Applied GeoSolutions</div><div><a href="tel:%28603%29%20659-3363%20x91" value="+16036593363" target="_blank">(603) 659-3363 x91</a></div><div><a href="http://appliedgeosolutions.com" target="_blank">http://appliedgeosolutions.com</a></div><div><a href="mailto:mhanson@appliedgeosolutions.com" target="_blank">mhanson@appliedgeosolutions.com</a></div><div><br></div></div></div></div>
<br></span><div><div><div class="gmail_quote">On Thu, Jan 8, 2015 at 2:23 PM, Bradley Chambers <span dir="ltr"><<a href="mailto:brad.chambers@gmail.com" target="_blank">brad.chambers@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Matthew,<div><div class="gmail_extra"><div class="gmail_quote"><span><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div>Is there perhaps a switch I'm missing to cmake?</div></div></blockquote><div><br></div></span><div>When configuring PDAL with CMake, you should only need to provide PCL_DIR, which points to the installed location of PCLConfig.cmake and PCLConfigVersion.cmake, likely something like /usr/share/pcl-1.7.<br><br></div><div>Have you inspected your CMakeCache.txt (or just use ccmake) to verify that PCL 1.7 is in fact detected (and not a stale reference to the old pipeline branch installation).<br><br>Brad<br></div></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com">andrew.bell.ia@gmail.com</a></div>
</div>