[pdal] Compile issue

Scott Lewis scott.lewis at nsidc.org
Mon Mar 28 12:20:32 PDT 2016


In the non-clean list, no, it doesn't show anything.  I ran it again 
after a make clean, and did see a line for

[ 21%] Building CXX object src/CMakeFiles/pdalcpp.dir/PDALUtils.cpp.o

but at least in the output make is showing, nothing indicating that it's 
building the libpdal_util library itself.

I can try building the util lib first, but am not sure what the make 
target for it is (I tried "make util", "make pdal_util", and "make 
libpdal_util" to no avail).

Scott

On 3/28/16 1:08 PM, Andrew Bell wrote:
> The util lib should build before the base lib, as it is a dependency.
> Is there any reference to building libpdal_util in your make output?
>
> On Mon, Mar 28, 2016 at 1:51 PM, Scott Lewis <scott.lewis at nsidc.org
> <mailto:scott.lewis at nsidc.org>> wrote:
>
>     I'm having an issue compiling the latest pull of PDAL.  I'm using a
>     Mac, but am following the Unix instructions (as I was able to
>     compile just fine a few months ago).  I am using a clean clone.
>
>     I run cmake and then make, and it chugs along happily until this point:
>
>     [ 19%] Linking CXX shared library ../lib/libpdalcpp.dylib
>     ld: file not found:
>     /Users/glewis/git/pdal-local/makefiles/lib/libpdal_util.2.dylib
>     clang: error: linker command failed with exit code 1 (use -v to see
>     invocation)
>     make[2]: *** [lib/libpdalcpp.3.0.0.dylib] Error 1
>     make[1]: *** [src/CMakeFiles/pdalcpp.dir/all] Error 2
>     make: *** [all] Error 2
>
>     (in this case, I had run make previously, and the 19% was 27% in
>     that case, but it was the same error).
>
>
>     In the folder specified there doesn't seem to be any libpdal_util
>     files.  I tried it on a clone I had from before, and in that case
>     there was a libpdal_util file, but it was not the file it expected
>     (either libpdal_util.1.dylib or libpdal_util.2.0.0.dylib).
>
>     I've tried to look through the docs to see if there's something I'm
>     missing, but if there is, I'm not seeing it.
>
>     Thanks!
>
>     Scott Lewis
>     NSIDC
>     _______________________________________________
>     pdal mailing list
>     pdal at lists.osgeo.org <mailto:pdal at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/pdal
>
>
>
>
> --
> Andrew Bell
> andrew.bell.ia at gmail.com <mailto:andrew.bell.ia at gmail.com>


More information about the pdal mailing list