<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi ~<div><br></div><div>I'm trying to install libLAS-1.6.0 on OS X 10.6 and have run into a problem during build. First though, congratulations on the amazing install documentation without which I (a non-programmer) would never have got even to this point. 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). 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.</div><div><br></div><div>The errors all occur in point.cpp. </div><div><br></div><div>1. Four are missing ";" before "}" ( at lines 498, 514, 530, and 571) These are all in conjunction with "#endif" statements and adding a seemingly redundant ";" before the "}" makes these errors go away, but may be causing other damage that I'm not aware of. </div><div><br></div><div>2. Two more are similar to each other - at lines 563, 791, </div><div><span class="Apple-style-span" style="color: rgb(116, 73, 45); font-family: Menlo; font-size: 11px; "><br></span></div><div><span class="Apple-style-span" style="color: rgb(116, 73, 45); font-family: Menlo; font-size: 11px; ">e.g</span></div><div><span class="Apple-style-span" style="color: rgb(116, 73, 45); font-family: Menlo; font-size: 11px; "><br></span></div><div><span class="Apple-style-span" style="color: rgb(116, 73, 45); font-family: Menlo; font-size: 11px; ">#ifdef LIBLAS_ENDIAN_AWARE</span></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "> <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<<span style="color: #558187">boost</span>::<span style="color: #7131a8">int32_t</span>>(<span style="color: #558187">output</span>, <span style="color: #558187">m_data</span>, pos);</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(181, 13, 161); "><span style="color: #000000"> </span>return<span style="color: #000000"> </span><span style="color: #558187">output</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(116, 73, 45); ">#else</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "> <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><<span style="color: #558187">boost</span>::<span style="color: #7131a8">uint8_t</span>*>(&<span style="color: #558187">m_data</span>[<span style="color: #3a00d6">0</span>] + pos);</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(85, 129, 135); "><span style="color: #000000"> </span>boost<span style="color: #000000">::</span><span style="color: #7131a8">uint16_t</span><span style="color: #000000">* </span>output<span style="color: #000000"> = </span><span style="color: #b50da1">reinterpret_cast</span><span style="color: #000000"><</span>boost<span style="color: #000000">::</span><span style="color: #7131a8">uint16_t</span><span style="color: #000000">*>(</span>data<span style="color: #000000">);</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "> <span style="color: #b50da1">return</span> *<span style="color: #558187">output</span>;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(116, 73, 45); ">#endif</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">; //(note -- my ";" see 1.above)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">}</div></div><div>and the error is:</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">point.cpp:563: error: no matching function for call to 'bitsToInt(uint16_t&, const std::vector<unsigned char, std::allocator<unsigned char> >&, size_t&)'</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: medium;">3. The last is: </span></font>Command /Developer/usr/bin/g++-4.2 failed with exit code 1</div></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: medium;">This one is puzzling since I did set CC=/usr/bin/llvm-gcc, and $CC yields </span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: medium;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: medium;">i686-apple-darwin10-llvm-gcc-4.2: no input files</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: medium; "><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: medium;">Having made it this far I'd like to get this running, so if anyone has any advice it would be much appreciated.</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: medium;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: medium;">thx</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: medium;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: medium;">Stu</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: medium;"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "><br></div></span></font></div></body></html>