<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Menlo;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I&#8217;ve fixed the missing semicolon issue, thanks for the report.&nbsp; (Did you turn on LIBLAS_ENDIAN_AWARE explicitly?&nbsp; I&#8217;d have not expected that to be the default.)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I can&#8217;t help you on the gcc error, though, as I&#8217;m not a Mac guy &#8211; sorry.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-mpg<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> liblas-devel-bounces@lists.osgeo.org [mailto:liblas-devel-bounces@lists.osgeo.org] <b>On Behalf Of </b>Stuart Edwards<br><b>Sent:</b> Sunday, February 13, 2011 8:06 AM<br><b>To:</b> liblas-devel@lists.osgeo.org<br><b>Subject:</b> [Liblas-devel] build problem OS X<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Hi ~<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>I'm trying to install libLAS-1.6.0 on OS X 10.6 and have run into a problem during build. &nbsp;First though, congratulations on the amazing install documentation without which I (a non-programmer) would never have got even to this point. &nbsp;Everything has gone according to the instructions so far - I've installed boost, cmake and laszip-1.0.1 (actually not mentioned in the documentation). &nbsp;The configure process has completed successfully for the base and optional libraries, but at build I get seven errors that causes build to fail - I'm trying to build lasinfo, as directed.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>The errors all occur in point.cpp. &nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>1. &nbsp; Four are missing &quot;;&quot; before &quot;}&quot; &nbsp;( at lines 498, 514, 530, and 571) These are all in conjunction with &quot;#endif&quot; statements and adding a seemingly redundant &quot;;&quot; before the &quot;}&quot; makes these errors go away, but may be causing other damage that I'm not aware of.&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>2. &nbsp;Two more are similar to each other - &nbsp;at lines 563, 791,&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><span class=apple-style-span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#74492D'>e.g</span></span><o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><span class=apple-style-span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#74492D'>#ifdef LIBLAS_ENDIAN_AWARE</span></span><o:p></o:p></p></div><div><div><p class=MsoNormal><span style='font-size:8.5pt;font-family:"Menlo","serif"'>&nbsp; &nbsp; <span style='color:#558187'>boost</span>::<span style='color:#7131A8'>uint16_t</span> <span style='color:#558187'>output</span> = <span style='color:#558187'>liblas</span>::detail::bitsToInt&lt;<span style='color:#558187'>boost</span>::<span style='color:#7131A8'>int32_t</span>&gt;(<span style='color:#558187'>output</span>, <span style='color:#558187'>m_data</span>, pos);<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:8.5pt;font-family:"Menlo","serif";color:black'>&nbsp; &nbsp; </span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#B50DA1'>return</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:black'> </span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#558187'>output</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#B50DA1'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#74492D'>#else<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:8.5pt;font-family:"Menlo","serif"'>&nbsp; &nbsp; <span style='color:#558187'>boost</span>::<span style='color:#7131A8'>uint8_t</span>* <span style='color:#558187'>data</span> = <span style='color:#B50DA1'>const_cast</span>&lt;<span style='color:#558187'>boost</span>::<span style='color:#7131A8'>uint8_t</span>*&gt;(&amp;<span style='color:#558187'>m_data</span>[<span style='color:#3A00D6'>0</span>] + pos);<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:8.5pt;font-family:"Menlo","serif";color:black'>&nbsp; &nbsp; </span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#558187'>boost</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:black'>::</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#7131A8'>uint16_t</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:black'>* </span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#558187'>output</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:black'> = </span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#B50DA1'>reinterpret_cast</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:black'>&lt;</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#558187'>boost</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:black'>::</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#7131A8'>uint16_t</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:black'>*&gt;(</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#558187'>data</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:black'>);</span><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#558187'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:8.5pt;font-family:"Menlo","serif"'>&nbsp; &nbsp; <span style='color:#B50DA1'>return</span> *<span style='color:#558187'>output</span>;<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:8.5pt;font-family:"Menlo","serif";color:#74492D'>#endif<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:8.5pt;font-family:"Menlo","serif"'>; &nbsp;//(note -- my &quot;;&quot; see 1.above)<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:8.5pt;font-family:"Menlo","serif"'>}<o:p></o:p></span></p></div></div><div><p class=MsoNormal>and the error is:<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><div style='margin-left:9.0pt'><p class=MsoNormal style='text-indent:-9.0pt'><span style='font-size:8.5pt;font-family:"Menlo","serif"'>point.cpp:563: error: no matching function for call to 'bitsToInt(uint16_t&amp;, const std::vector&lt;unsigned char, std::allocator&lt;unsigned char&gt; &gt;&amp;, size_t&amp;)'<o:p></o:p></span></p></div><div style='margin-left:9.0pt'><p class=MsoNormal style='text-indent:-9.0pt'><span style='font-size:8.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p></div><div style='margin-left:9.0pt;min-height: 13px'><p class=MsoNormal style='text-indent:-9.0pt'><span style='font-size:8.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p></div><div style='margin-left:9.0pt;min-height: 13px'><p class=MsoNormal style='text-indent:-9.0pt'><span class=apple-style-span><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>3. &nbsp;The last is: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></span><span style='font-size:8.5pt;font-family:"Menlo","serif"'>Command /Developer/usr/bin/g++-4.2 failed with exit code 1<o:p></o:p></span></p></div></div><div style='margin-left:9.0pt;min-height: 13px'><p class=MsoNormal style='text-indent:-9.0pt'><span style='font-size:8.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p></div><div style='margin-left:9.0pt;min-height: 13px'><p class=MsoNormal style='text-indent:-9.0pt'><span class=apple-style-span><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>This one is puzzling since I did set CC=/usr/bin/llvm-gcc, &nbsp; and $CC yields&nbsp;</span></span><span style='font-size:8.5pt;font-family:"Menlo","serif"'><o:p></o:p></span></p></div><div style='margin-left:9.0pt;min-height: 13px'><p class=MsoNormal style='text-indent:-9.0pt'><span style='font-size:8.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p></div><div style='margin-left:9.0pt;min-height: 13px'><p class=MsoNormal style='text-indent:-9.0pt'><span class=apple-style-span><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>i686-apple-darwin10-llvm-gcc-4.2: no input files</span></span><span style='font-size:8.5pt;font-family:"Menlo","serif"'><o:p></o:p></span></p></div><div style='margin-left:9.0pt;min-height: 13px'><p class=MsoNormal style='text-indent:-9.0pt'><span style='font-size:8.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p></div><div style='margin-left:9.0pt;min-height: 13px'><p class=MsoNormal style='text-indent:-9.0pt'><span class=apple-style-span><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Having made it this far I'd like to get this running, so if anyone has any advice it would be much appreciated.</span></span><span style='font-size:8.5pt;font-family:"Menlo","serif"'><o:p></o:p></span></p></div><div style='margin-left:9.0pt;min-height: 13px'><p class=MsoNormal style='text-indent:-9.0pt'><span style='font-size:8.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p></div><div style='margin-left:9.0pt;min-height: 13px'><p class=MsoNormal style='text-indent:-9.0pt'><span class=apple-style-span><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>thx</span></span><span style='font-size:8.5pt;font-family:"Menlo","serif"'><o:p></o:p></span></p></div><div style='margin-left:9.0pt;min-height: 13px'><p class=MsoNormal style='text-indent:-9.0pt'><span style='font-size:8.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p></div><div style='margin-left:9.0pt;min-height: 13px'><p class=MsoNormal style='text-indent:-9.0pt'><span class=apple-style-span><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Stu</span></span><span style='font-size:8.5pt;font-family:"Menlo","serif"'><o:p></o:p></span></p></div><div style='margin-left:9.0pt;min-height: 13px'><div style='margin-left:9.0pt'><p class=MsoNormal style='text-indent:-9.0pt'><span style='font-size:8.5pt;font-family:"Menlo","serif"'><o:p>&nbsp;</o:p></span></p></div></div></div></div></body></html>