[pdal] PDAL 2.0.1 build issue

Jim Klassen klassen.js at gmail.com
Tue Sep 10 13:45:51 PDT 2019


Sorry for the delay.

I was using cmake 3.7.2 (default w/Debain 9I just build with cmake 3.15.3 and got the same results.  Looking at the Dockerfiles, I'm wondering if this might be a ninja vs make thing.

On 9/5/19 12:41 PM, Howard Butler wrote:
> How old is the cmake? Can you install the latest cmake and check if you still have the issue?
>
> Something like https://github.com/PDAL/PDAL/blob/master/scripts/docker/ubuntu/dependencies/Dockerfile#L18 maybe will work on 16.04
>
> Howard
>
>
>
>> On Sep 5, 2019, at 12:03 PM, Jim Klassen <klassen.js at gmail.com <mailto:klassen.js at gmail.com>> wrote:
>>
>> I am having build failures with PDAL on various Ubuntu 16.04 and Debian 9 machines that seems to have started sometime between 1.9 and 2.0.1.  It is looking for '/src/libgtest.so' (note the leading slash) which doesn't exist (there is no /src directory on my systems).  PDAL builds fine if I disable building tests.  I suspect something in cmake land is not right, but I am not sure where to look.  The '/src/libgtest.so' appears in many of the generated makefiles, but I don't see it set in CMakeCache.txt or see where it is calculated.
>>
>> [ 41%] Linking CXX shared library /src/libgtest.so
>> /usr/bin/ld: cannot open output file /src/libgtest.so: No such file or directory
>> collect2: error: ld returned 1 exit status
>> vendor/gtest/CMakeFiles/gtest.dir/build.make:94: recipe for target '/src/libgtest.so' failed
>> make[2]: *** [/src/libgtest.so] Error 1
>> CMakeFiles/Makefile2:1320: recipe for target 'vendor/gtest/CMakeFiles/gtest.dir/all' failed
>> make[1]: *** [vendor/gtest/CMakeFiles/gtest.dir/all] Error 2
>> Makefile:160: recipe for target 'all' failed
>> make: *** [all] Error 2
>>
>>
>> _______________________________________________
>> pdal mailing list
>> pdal at lists.osgeo.org <mailto:pdal at lists.osgeo.org>
>> https://lists.osgeo.org/mailman/listinfo/pdal
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20190910/2d1d8cc6/attachment.html>


More information about the pdal mailing list