<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Andrew-<div class=""><br class=""></div><div class="">Thanks for the reply.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I game to try compiling from master.  I did run into a different compile error when I tried master earlier today.  I don’t have that error handy, though.  I’ll clone the repo, again, and will compile, if you’re interested in that error.</div><div class=""><br class=""></div><div class="">Let me know if you push the change you mentioned for a work around.</div><div class=""><br class=""></div><div class="">Thanks!</div><div class=""><br class=""></div><div class="">  -Alex</div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Mar 14, 2017, at 5:21 PM, Andrew Bell <<a href="mailto:andrew.bell.ia@gmail.com" class="">andrew.bell.ia@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra">Alex,</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">This indeed seems to be a bug in your compiler: <a href="http://stackoverflow.com/questions/35131734/undefined-reference-when-using-lambda" class="">http://stackoverflow.com/questions/35131734/undefined-reference-when-using-lambda</a></div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">If you're willing to try your compiler with the master branch, I can push a change that should get around the issue.  I think our use of that construct is pretty limited, so this might get things working for you.  If things compile/link I can backport the change to 1.4.</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Mar 14, 2017 at 4:05 PM, Alex Jokela <span dir="ltr" class=""><<a href="mailto:alex@camulus.com" target="_blank" class="">alex@camulus.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Howard-<br class="">
<br class="">
It looks to be version 4.7.2<br class="">
<br class="">
Thanks,<br class="">
<br class="">
  -Alex<br class="">
<div class="gmail-HOEnZb"><div class="gmail-h5"><br class="">
> On Mar 14, 2017, at 4:56 PM, Howard Butler <<a href="mailto:howard@hobu.co" class="">howard@hobu.co</a>> wrote:<br class="">
><br class="">
><br class="">
>> On Mar 14, 2017, at 3:34 PM, Alex Jokela <<a href="mailto:alex@camulus.com" class="">alex@camulus.com</a>> wrote:<br class="">
>><br class="">
>> Hello-<br class="">
>><br class="">
>> I’m trying to compile PDAL 1.4.0, and I’m running into a compile-time error:<br class="">
>><br class="">
>> CMakeFiles/pdal_plugin_<wbr class="">manager_test.dir/<wbr class="">PluginManagerTest.cpp.o: In function `pdal::DummyPlugin::<wbr class="">initPlugin()::{lambda()#1}::<wbr class="">operator int (*)()() const':<br class="">
>> PluginManagerTest.cpp:(.text._<wbr class="">ZZN4pdal11DummyPlugin10initPlu<wbr class="">ginEvENKUlvE_cvPFivEEv[_<wbr class="">ZZN4pdal11DummyPlugin10initPlu<wbr class="">ginEvENKUlvE_cvPFivEEv]+0x9): undefined reference to `pdal::DummyPlugin::<wbr class="">initPlugin()::{lambda()#1}::_<wbr class="">FUN()'<br class="">
>> collect2: error: ld returned 1 exit status<br class="">
>> make[2]: *** [bin/pdal_plugin_manager_test] Error 1<br class="">
>> make[1]: *** [test/unit/CMakeFiles/pdal_<wbr class="">plugin_manager_test.dir/all] Error 2<br class="">
>> make: *** [all] Error 2<br class="">
>><br class="">
>><br class="">
>> I’m wondering if anyone has run into this, if so, is there a work around?<br class="">
><br class="">
> I suspect your compiler is too old. Which compiler are you using and which version?<br class="">
><br class="">
> Howard<br class="">
<br class="">
______________________________<wbr class="">_________________<br class="">
pdal mailing list<br class="">
<a href="mailto:pdal@lists.osgeo.org" class="">pdal@lists.osgeo.org</a><br class="">
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank" class="">https://lists.osgeo.org/<wbr class="">mailman/listinfo/pdal</a></div></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature">Andrew Bell<br class=""><a href="mailto:andrew.bell.ia@gmail.com" target="_blank" class="">andrew.bell.ia@gmail.com</a></div>
</div></div>
</div></blockquote></div><br class=""></body></html>