[Live-demo] libLAS LiveDVD build - not there yet
Hamish
hamish_b at yahoo.com
Sat Jul 16 21:39:47 EDT 2011
Brian wrote:
> latest Live-DVD build.. two problems..
>
> 1) libboost1.40 is not avilable apparently.. change to
> 1.42, which seems to be there
> (install_gpsdrive.sh also calls out 1.42 explicitly..) ok?
ubu 11.04 (natty) ships boost 1.42, so yes.
http://packages.ubuntu.com/libboost
(fwiw gpsdrive is one of mine)
> 2) build fail - any idea about this error ?? (see bottom)
>
> ---
>
> [ 22%] Building CXX object
> src/CMakeFiles/las.dir/transform.cpp.o
> In file included from
> /usr/include/gdal/ogr_srs_api.h:34:0,
> from
> /usr/include/gdal/ogr_spatialref.h:34,
> from
> /tmp/build_libLAS/libLAS-1.7.0b2/src/transform.cpp:67:
> /usr/include/gdal/ogr_core.h: In member function ‘int
> OGREnvelope::IsInit() const’:
> /usr/include/gdal/ogr_core.h:59:42: warning: comparing
> floating point
> with == or != is unsafe
> /usr/include/gdal/ogr_core.h:59:55: warning: comparing
> floating point
> with == or != is unsafe
> /usr/include/gdal/ogr_core.h:59:68: warning: comparing
> floating point
> with == or != is unsafe
> /usr/include/gdal/ogr_core.h:59:81: warning: comparing
> floating point
> with == or != is unsafe
Since it's a header file I wildly guess that's referring to an embedded
version number? if so, nice that gcc is warming about such things but just
a false positive.
> In file included from
> /tmp/build_libLAS/libLAS-1.7.0b2/src/gt_wkt_srs.h:39:0,
> from
> /tmp/build_libLAS/libLAS-1.7.0b2/src/gt_wkt_srs.cpp:43:
> /usr/include/geotiff/geo_normalize.h: At global scope:
> /usr/include/geotiff/geo_normalize.h:171:79: warning:
> redundant
> redeclaration of ‘void gtSetCSVFilenameHook(const char*
> (*)(const
> char*))’ in same scope
> /usr/include/geotiff/cpl_serv.h:272:14: warning: previous
> declaration
> of ‘void gtSetCSVFilenameHook(const char* (*)(const
> char*))’
?
> [ 45%] Building CXX object
> src/CMakeFiles/las.dir/tifvsi.cpp.o
> make[2]: *** No rule to make target `/lib.so', needed by
> `bin/Release/liblas.so.2.0.0'. Stop.
> make[1]: *** [src/CMakeFiles/las.dir/all] Error 2
> make: *** [all] Error 2
> make[2]: *** No rule to make target `/lib.so', needed by
> `bin/Release/liblas.so.2.0.0'. Stop.
> make[1]: *** [src/CMakeFiles/las.dir/all] Error 2
> make: *** [all] Error 2
it would seem that a variable in CMakeLists.txt is being left empty so
$PATHNAME/lib$LIBNAME.so collapses to ""/lib"".so. Error in cmake control
file or cmake module Find file probably.
Hamish
More information about the Live-demo
mailing list