<div dir="ltr"><div class="gmail_extra">Alex,</div><div class="gmail_extra"><br></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">http://stackoverflow.com/questions/35131734/undefined-reference-when-using-lambda</a></div><div class="gmail_extra"><br></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></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 14, 2017 at 4:05 PM, Alex Jokela <span dir="ltr"><<a href="mailto:alex@camulus.com" target="_blank">alex@camulus.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">Howard-<br>
<br>
It looks to be version 4.7.2<br>
<br>
Thanks,<br>
<br>
  -Alex<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
> On Mar 14, 2017, at 4:56 PM, Howard Butler <<a href="mailto:howard@hobu.co">howard@hobu.co</a>> wrote:<br>
><br>
><br>
>> On Mar 14, 2017, at 3:34 PM, Alex Jokela <<a href="mailto:alex@camulus.com">alex@camulus.com</a>> wrote:<br>
>><br>
>> Hello-<br>
>><br>
>> I’m trying to compile PDAL 1.4.0, and I’m running into a compile-time error:<br>
>><br>
>> CMakeFiles/pdal_plugin_<wbr>manager_test.dir/<wbr>PluginManagerTest.cpp.o: In function `pdal::DummyPlugin::<wbr>initPlugin()::{lambda()#1}::<wbr>operator int (*)()() const':<br>
>> PluginManagerTest.cpp:(.text._<wbr>ZZN4pdal11DummyPlugin10initPlu<wbr>ginEvENKUlvE_cvPFivEEv[_<wbr>ZZN4pdal11DummyPlugin10initPlu<wbr>ginEvENKUlvE_cvPFivEEv]+0x9): undefined reference to `pdal::DummyPlugin::<wbr>initPlugin()::{lambda()#1}::_<wbr>FUN()'<br>
>> collect2: error: ld returned 1 exit status<br>
>> make[2]: *** [bin/pdal_plugin_manager_test] Error 1<br>
>> make[1]: *** [test/unit/CMakeFiles/pdal_<wbr>plugin_manager_test.dir/all] Error 2<br>
>> make: *** [all] Error 2<br>
>><br>
>><br>
>> I’m wondering if anyone has run into this, if so, is there a work around?<br>
><br>
> I suspect your compiler is too old. Which compiler are you using and which version?<br>
><br>
> Howard<br>
<br>
______________________________<wbr>_________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/pdal</a></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" target="_blank">andrew.bell.ia@gmail.com</a></div>
</div></div>