<html style="direction: ltr;">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1255">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="preferred-charset"
bgcolor="#FFFFFF" text="#000000">
I'm trying to compile liblas 1.7.0 on SL 6.3 <br>
Here are the cmake results:<br>
[micha@MS-SL6 build]$ cmake -L -DWITH_GDAL:BOOL=TRUE
-DWITH_LASZIP:BOOL=TRUE -DWITH_GEOTIFF:BOOL=TRUE
-DGEOTIFF_INCLUDE_DIR:PATH=/usr/include/libgeotiff/
-DLASZIP_INCLUDE_DIR:PATH=/usr/local/include ../<br>
-- Setting libLAS build type - Release<br>
-- Searching for Boost 1.38+ - done<br>
-- Searching for LASzip 2.0.1+ library<br>
-- Found LASzip version: 2.1.0<br>
-- Searching for GDAL 1.7.0+ library<br>
-- NOTE: Required version is not checked - to be implemented<br>
-- Searching for GeoTIFF 1.2.5+ library<br>
-- Found GeoTIFF version: 1.3.0<br>
-- Enable libLAS utilities to build - done<br>
-- Enable libLAS unit tests to build - done<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to:
/home/micha/Downloads/LAS/libLAS-1.7.0/build<br>
-- Cache values<br>
CMAKE_BUILD_TYPE:STRING=Release<br>
CMAKE_INSTALL_PREFIX:PATH=/usr/local<br>
ENABLE_CTEST:BOOL=FALSE<br>
GDAL_CONFIG:FILEPATH=/usr/bin/gdal-config<br>
GDAL_VERSION_STRING:STRING=1.8.1<br>
GEOTIFF_INCLUDE_DIR:PATH=/usr/include/libgeotiff<br>
GEOTIFF_LIBRARY:FILEPATH=/usr/lib64/libgeotiff.so<br>
WITH_ENDIANAWARE:BOOL=FALSE<br>
WITH_GDAL:BOOL=TRUE<br>
WITH_GEOTIFF:BOOL=TRUE<br>
WITH_LASZIP:BOOL=TRUE<br>
WITH_PKGCONFIG:BOOL=FALSE<br>
WITH_TESTS:BOOL=TRUE<br>
WITH_UTILITIES:BOOL=TRUE<br>
<br>
But when I try make it errors with:<br>
<br>
[ 45%] Building CXX object src/CMakeFiles/las.dir/tifvsi.cpp.o<br>
make[2]: *** No rule to make target `/libgdal.so', needed by
`bin/Release/liblas.so.2.2.0'. Stop.<br>
make[1]: *** [src/CMakeFiles/las.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
Any tips?<br>
<br>
Thanks,<br>
Micha<br>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
GIS Consultant, Arava Development Co.
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il">http://www.surfaces.co.il</a></pre>
</body>
</html>