<br><font size=2 face="sans-serif">Hi Folks,</font>
<br><font size=2 face="sans-serif">Glynn's suggested hack to liblas-config
below to work around the issue in cmake allowed me to compile
grass7 with liblas support over the weekend on Ubuntu 11.04 x64. I
have not read any las files yet to see if it actaully worked :-) , hopefully
tonight I'll get a chance.</font>
<br>
<br><font size=2 face="sans-serif">Doug</font>
<br>
<br><font size=2 face="sans-serif">Doug Newcomb
<br>
USFWS<br>
Raleigh, NC<br>
919-856-4520 ext. 14 doug_newcomb@fws.gov<br>
---------------------------------------------------------------------------------------------------------<br>
The opinions I express are my own and are not representative of the official
policy of the U.S.Fish and Wildlife Service or Dept. of the Interior.
Life is too short for undocumented, proprietary data formats.</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Markus Metz <markus.metz.giswork@googlemail.com></b>
</font>
<br><font size=1 face="sans-serif">Sent by: grass-dev-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">06/01/2011 03:21 AM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Glynn Clements <glynn@gclements.plus.com></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">Martin Landa <landa.martin@gmail.com>,
GRASS developers list <liblas-devel@lists.osgeo.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [GRASS-dev] grass7: problem --with-liblas</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>On Tue, May 31, 2011 at 11:34 PM, Glynn Clements<br>
<glynn@gclements.plus.com> wrote:<br>
><br>
> Markus Metz wrote:<br>
><br>
>> Is this "optimized;" and ";debug;" now a problem
of GRASS or of libLAS?<br>
><br>
> libLAS. Although it / be an issue with CMake's FindBoost module<br>
> (search for "optimized" in FindBoost.cmake).<br>
><br>
<br>
This seems to be a bug in cmake 2.8.4, not present in cmake 2.8.2. I<br>
just updated cmake from 2.8.2 to 2.8.4 and now get the same problem.<br>
Or the syntax in liblas-config.in is wrong.<br>
<br>
I suggest to hack liblas-config and replace the offending line<br>
<br>
LIBS="-L$libdir -llas -llas_c -L/usr/lib<br>
optimized;/usr/lib/libboost_program_options-mt-1_42.so;debug;/usr/lib/libboost_program_options-mt.so"<br>
<br>
with<br>
<br>
LIBS="-L$libdir -llas -llas_c -L/usr/lib<br>
/usr/lib/libboost_program_options-mt.so"<br>
<br>
or<br>
<br>
LIBS="-L$libdir -llas -llas_c -L/usr/lib64<br>
/usr/lib64/libboost_program_options-mt.so"<br>
<br>
<br>
>> BTW, what version of libLAS are you using?<br>
><br>
> I'm using the libLAS-1.6.1 source package:<br>
><br>
> $ ls -l libLAS-*<br>
> -rw-r--r-- 1 glynn root 7817956 May 30
18:49 libLAS-1.6.1.tar.gz<br>
> $ md5sum libLAS-*<br>
> 2ce4f36f267c2f25bfc99c3f00e9cbd3 libLAS-1.6.1.tar.gz<br>
><br>
> --<br>
> Glynn Clements <glynn@gclements.plus.com><br>
><br>
_______________________________________________<br>
grass-dev mailing list<br>
grass-dev@lists.osgeo.org<br>
</font></tt><a href="http://lists.osgeo.org/mailman/listinfo/grass-dev"><tt><font size=2>http://lists.osgeo.org/mailman/listinfo/grass-dev<br>
</font></tt></a>
<br>