[Liblas-devel] libLAS 1.8.1 RC1 Released

Charles Karney charles.karney at sri.com
Mon Aug 22 14:50:42 PDT 2016


On 08/22/16 16:56, Mateusz Loskot wrote:
> On 08/22/16 15:17, Howard Butler wrote:
>>> * https://github.com/libLAS/libLAS/pull/85 - las2pg and las2col for storing LAS data in
>>> pgpointcloud and MonetDB
>>
>> For some reason these new utilities are not actually built, although
>> CMake treats them the same as lasblock which does get built. I can't
>> seem to find what's going wrong here. Any ideas?
>
> I'm building libLAS master with CMake 3.6 and VS2015
> and CMake configures build for both utilities by default for me.
>
> Best regards,

I'm having problems here...

liblas 1.8.1RC1 with cmake 3.1.1 + Visual Studio 2015 fails with
las2col and las2pg

cmake is called with

[INFO] argument is [-GVisual Studio 14 Win64]
[INFO] argument is [-DBUILD_OSGEO4W=OFF]
[INFO] argument is [-DWITH_GDAL=ON]
[INFO] argument is [-DWITH_GEOTIFF=ON]
[INFO] argument is [-DWITH_LASZIP=ON]
[INFO] argument is [-DWITH_TESTS=OFF]
[INFO] argument is 
[-DCMAKE_PREFIX_PATH=C:/Users/ckarney/.m2/repository/com/sri/vt/3rdparty/boost/1.60.0-001/win7-vc2015-64;C:/Users/ckarney/.m2/repository/com/sri/vt/3rdparty/gdal/1.11.5-SNAPSHOT/win7-vc2015-64;C:/Users/ckarney/.m2/repository/com/sri/vt/3rdparty/proj4/4.9.3-RC2-SNAPSHOT/win7-vc2015-64;C:/Users/ckarney/.m2/repository/com/sri/vt/3rdparty/expat/2.1.0-008/win7-vc2015-64;C:/Users/ckarney/.m2/repository/com/sri/vt/3rdparty/xercesc/3.1.1-006/win7-vc2015-64;C:/Users/ckarney/.m2/repository/com/sri/vt/3rdparty/geotiff/1.4.2-RC4-SNAPSHOT/win7-vc2015-64;C:/Users/ckarney/.m2/repository/com/sri/vt/3rdparty/tiff/4.0.6-003/win7-vc2015-64;C:/Users/ckarney/.m2/repository/com/sri/vt/3rdparty/jpeg/9.2.0-001/win7-vc2015-64;C:/Users/ckarney/.m2/repository/com/sri/vt/3rdparty/zlib/1.2.9-005/win7-vc2015-64;C:/Users/ckarney/.m2/repository/com/sri/vt/3rdparty/LASzip/2.2.0-008/win7-vc2015-64]

The configuration reports (amongst other stuff)

-- Looking for include file pthread.h
-- Looking for include file pthread.h - not found
-- Found Threads: TRUE

The build of las2col reports:

u:\git\buckeye\libLAS\apps\las2col.c(19): fatal error C1083: Cannot open 
include file: 'pthread.h': No such file or directory 
[V:\data\build\com.sri.vt.3rdparty\libLAS\win7-vc2015-64\apps\las2col.vcxproj]

Surely las2col shouldn't attempt to include pthread.h, given that
cmake failed to find it?

The build of las2pg reports:

u:\git\buckeye\libLAS\apps\las2pg.c(19): fatal error C1083: Cannot open 
include file: 'netinet/in.h': No such file or directory 
[V:\data\build\com.sri.vt.3rdparty\libLAS\win7-vc2015-64\apps\las2pg.vcxproj]

(Isn't netinet/in.h a Unix-specific file?)

   --Charles


More information about the Liblas-devel mailing list