[pdal] PDAL 1.4 compile error
Alex Jokela
alex at camulus.com
Tue Mar 14 14:35:00 PDT 2017
Andrew-
Thanks for the reply.
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.
Let me know if you push the change you mentioned for a work around.
Thanks!
-Alex
> On Mar 14, 2017, at 5:21 PM, Andrew Bell <andrew.bell.ia at gmail.com> wrote:
>
> Alex,
>
> This indeed seems to be a bug in your compiler: http://stackoverflow.com/questions/35131734/undefined-reference-when-using-lambda <http://stackoverflow.com/questions/35131734/undefined-reference-when-using-lambda>
>
> 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.
>
>
> On Tue, Mar 14, 2017 at 4:05 PM, Alex Jokela <alex at camulus.com <mailto:alex at camulus.com>> wrote:
> Howard-
>
> It looks to be version 4.7.2
>
> Thanks,
>
> -Alex
>
> > On Mar 14, 2017, at 4:56 PM, Howard Butler <howard at hobu.co <mailto:howard at hobu.co>> wrote:
> >
> >
> >> On Mar 14, 2017, at 3:34 PM, Alex Jokela <alex at camulus.com <mailto:alex at camulus.com>> wrote:
> >>
> >> Hello-
> >>
> >> I’m trying to compile PDAL 1.4.0, and I’m running into a compile-time error:
> >>
> >> CMakeFiles/pdal_plugin_manager_test.dir/PluginManagerTest.cpp.o: In function `pdal::DummyPlugin::initPlugin()::{lambda()#1}::operator int (*)()() const':
> >> PluginManagerTest.cpp:(.text._ZZN4pdal11DummyPlugin10initPluginEvENKUlvE_cvPFivEEv[_ZZN4pdal11DummyPlugin10initPluginEvENKUlvE_cvPFivEEv]+0x9): undefined reference to `pdal::DummyPlugin::initPlugin()::{lambda()#1}::_FUN()'
> >> collect2: error: ld returned 1 exit status
> >> make[2]: *** [bin/pdal_plugin_manager_test] Error 1
> >> make[1]: *** [test/unit/CMakeFiles/pdal_plugin_manager_test.dir/all] Error 2
> >> make: *** [all] Error 2
> >>
> >>
> >> I’m wondering if anyone has run into this, if so, is there a work around?
> >
> > I suspect your compiler is too old. Which compiler are you using and which version?
> >
> > Howard
>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org <mailto:pdal at lists.osgeo.org>
> https://lists.osgeo.org/mailman/listinfo/pdal <https://lists.osgeo.org/mailman/listinfo/pdal>
>
>
> --
> Andrew Bell
> andrew.bell.ia at gmail.com <mailto:andrew.bell.ia at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170314/a0672afa/attachment.html>
More information about the pdal
mailing list