<div dir="ltr">2.0.1 builds fine, generally speaking, on 16.04, so there's something special about your configuration. You'd need to run the build command (make, ninja, whatever) with enough detail so that we can look at the output of the compilation.<div><br></div><div>Do you, perhaps, have a version of google test on your system that's getting found instead of the one packaged with PDAL? If you're using gcc/clang, you can add "-MM" to the build options to get the header file listing.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 5, 2019 at 1:03 PM Jim Klassen <<a href="mailto:klassen.js@gmail.com">klassen.js@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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.<br>
<br>
[ 41%] Linking CXX shared library /src/libgtest.so<br>
/usr/bin/ld: cannot open output file /src/libgtest.so: No such file or directory<br>
collect2: error: ld returned 1 exit status<br>
vendor/gtest/CMakeFiles/gtest.dir/build.make:94: recipe for target '/src/libgtest.so' failed<br>
make[2]: *** [/src/libgtest.so] Error 1<br>
CMakeFiles/Makefile2:1320: recipe for target 'vendor/gtest/CMakeFiles/gtest.dir/all' failed<br>
make[1]: *** [vendor/gtest/CMakeFiles/gtest.dir/all] Error 2<br>
Makefile:160: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
<br>
<br>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>