<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=""><div class="">Connor-</div><div class=""><br class=""></div><div class="">I was able to get beyond this error (below) by basically taking your lead from the last error I had, and adding that same line - <span style="color: rgb(36, 41, 46); font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-variant-ligatures: normal; orphans: 2; white-space: pre; widows: 2; background-color: rgb(234, 255, 234);" class="">#</span><span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93); font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-variant-ligatures: normal; orphans: 2; white-space: pre; widows: 2; background-color: rgb(234, 255, 234);">include</span><span style="color: rgb(36, 41, 46); font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-variant-ligatures: normal; orphans: 2; white-space: pre; widows: 2; background-color: rgb(234, 255, 234);" class=""> </span><span class="pl-s" style="box-sizing: border-box; color: rgb(24, 54, 145); font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-variant-ligatures: normal; orphans: 2; white-space: pre; widows: 2; background-color: rgb(234, 255, 234);"><span class="pl-pds" style="box-sizing: border-box;"><</span>stdexcept<span class="pl-pds" style="box-sizing: border-box;">></span></span> - to  io/GDALGrid.cpp</div><div class=""><br class=""></div><div class="">I made a pull request with this massive one line fix.</div><div class=""><br class=""></div><div class=""> -Alex</div><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 14, 2017, at 7:20 PM, Alex Jokela <<a href="mailto:alex@camulus.com" class="">alex@camulus.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks!<div class=""><br class=""></div><div class="">Made it past that last one, and hit this one:</div><div class=""><br class=""></div><div class=""><div class="">In file included from /home/alex/src/pdal/io/GDALGrid.cpp:35:0:</div><div class="">/home/alex/src/pdal/io/GDALGrid.hpp:54:5: error: expected class-name before ‘{’ token</div><div class="">/home/alex/src/pdal/io/GDALGrid.hpp: In constructor ‘pdal::GDALGrid::error::error(const string&)’:</div><div class="">/home/alex/src/pdal/io/GDALGrid.hpp:55:59: error: expected class-name before ‘(’ token</div><div class="">/home/alex/src/pdal/io/GDALGrid.hpp:55:59: error: expected ‘{’ before ‘(’ token</div><div class="">make[2]: *** [CMakeFiles/pdal_base.dir/io/GDALGrid.cpp.o] Error 1</div><div class="">make[1]: *** [CMakeFiles/pdal_base.dir/all] Error 2</div><div class="">make: *** [all] Error 2</div></div><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 14, 2017, at 6:35 PM, Connor Manning <<a href="mailto:connor@hobu.co" class="">connor@hobu.co</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Just pushed a fix for that error, please re-pull and try again.</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Mar 14, 2017 at 5:19 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Andrew-<br class="">
<br class="">
Here’s the error that I was also running into earlier with master, I just ran into again compiling a fresh pull (with your change):<br class="">
<br class="">
In file included from /home/alex/src/pdal/vendor/<wbr class="">arbiter/arbiter.cpp:43:0:<br class="">
/home/alex/src/pdal/vendor/<wbr class="">arbiter/arbiter.hpp:71:1: error: expected class-name before ‘{’ token<br class="">
/home/alex/src/pdal/vendor/<wbr class="">arbiter/arbiter.hpp: In constructor ‘pdal::arbiter::ArbiterError::<wbr class="">ArbiterError(std::string)’:<br class="">
/home/alex/src/pdal/vendor/<wbr class="">arbiter/arbiter.hpp:73:55: error: expected class-name before ‘(’ token<br class="">
/home/alex/src/pdal/vendor/<wbr class="">arbiter/arbiter.hpp:73:55: error: expected ‘{’ before ‘(’ token<br class="">
make[2]: *** [vendor/arbiter/CMakeFiles/<wbr class="">pdal_arbiter.dir/arbiter.cpp.<wbr class="">o] Error 1<br class="">
make[1]: *** [vendor/arbiter/CMakeFiles/<wbr class="">pdal_arbiter.dir/all] Error 2<br class="">
<span class="im HOEnZb">make: *** [all] Error 2<br class="">
<br class="">
<br class="">
</span><div class="HOEnZb"><div class="h5">> On Mar 14, 2017, at 5:57 PM, Alex Jokela <<a href="mailto:alex@camulus.com" class="">alex@camulus.com</a>> wrote:<br class="">
><br class="">
> Adam-<br class="">
><br class="">
> It’s a pretty old version of Debian (wheezy, maybe).  It looks like backports does have a slightly newer version of gcc (gcc-4.8).  I’m trying the fix that Andrew just pushed to master with my current compiler.  Seeing if that does the trick.<br class="">
><br class="">
>  -Alex<br class="">
><br class="">
>> On Mar 14, 2017, at 5:47 PM, Adam Steer <<a href="mailto:Adam.Steer@anu.edu.au" class="">Adam.Steer@anu.edu.au</a>> wrote:<br class="">
>><br class="">
>> Alex, all<br class="">
>><br class="">
>> What OS are you using? For what it’s worth I went through similar issues building PDAL a while back on centOS 6. I got around it using devtoolset-4, which gave me newer compilers and ccmake3:<br class="">
>><br class="">
>> <a href="https://www.softwarecollections.org/en/scls/rhscl/devtoolset-4/" rel="noreferrer" target="_blank" class="">https://www.<wbr class="">softwarecollections.org/en/<wbr class="">scls/rhscl/devtoolset-4/</a><br class="">
>><br class="">
>> This was a hacky ‘gotta get it going’ solution, but it worked. Migrating to centOS 7 removed the need to use the devtoolset.<br class="">
>><br class="">
>> Adam<br class="">
>><br class="">
>><br class="">
>>> On 15 Mar 2017, at 8:35 am, Alex Jokela <<a href="mailto:alex@camulus.com" class="">alex@camulus.com</a>> wrote:<br class="">
>>><br class="">
>>> Andrew-<br class="">
>>><br class="">
>>> Thanks for the reply.<br class="">
>>><br class="">
>>><br 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.<br class="">
>>><br class="">
>>> Let me know if you push the change you mentioned for a work around.<br class="">
>>><br class="">
>>> Thanks!<br class="">
>>><br class="">
>>> -Alex<br class="">
>>><br 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:<br class="">
>>>><br class="">
>>>> Alex,<br class="">
>>>><br class="">
>>>> This indeed seems to be a bug in your compiler: <a href="http://stackoverflow.com/questions/35131734/undefined-reference-when-using-lambda" rel="noreferrer" target="_blank" class="">http://stackoverflow.com/<wbr class="">questions/35131734/undefined-<wbr class="">reference-when-using-lambda</a><br class="">
>>>><br class="">
>>>> 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.<br class="">
>>>><br class="">
>>>><br class="">
>>>> On Tue, Mar 14, 2017 at 4:05 PM, Alex Jokela <<a href="mailto:alex@camulus.com" class="">alex@camulus.com</a>> wrote:<br class="">
>>>> 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="">
>>>><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><br class="">
>>>><br class="">
>>>><br class="">
>>>><br class="">
>>>> --<br class="">
>>>> Andrew Bell<br class="">
>>>> <a href="mailto:andrew.bell.ia@gmail.com" class="">andrew.bell.ia@gmail.com</a><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><br class="">
>><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><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=""></div>
</div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">pdal mailing list<br class=""><a href="mailto:pdal@lists.osgeo.org" class="">pdal@lists.osgeo.org</a><br class="">https://lists.osgeo.org/mailman/listinfo/pdal</div></blockquote></div><br class=""></body></html>