<html><head><base href="x-msg://1735/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>No, I wouldn't know how to do that - or even whether it would be a good idea ..... seems it just crops up as part of point.cpp. How would I turn it off?</div><div><br></div><div>gcc may be failing because of the other errors - hopefully.</div><div><br></div><div>Stu</div><br><div><div>On Feb 14, 2011, at 12:13 PM, Michael P. Gerlek wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div lang="EN-US" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">I’ve fixed the missing semicolon issue, thanks for the report. (Did you turn on LIBLAS_ENDIAN_AWARE explicitly? I’d have not expected that to be the default.)<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">I can’t help you on the gcc error, though, as I’m not a Mac guy – sorry.<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">-mpg<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="border-top-style: none; border-right-style: none; border-bottom-style: none; border-width: initial; border-color: initial; border-left-style: solid; border-left-color: blue; border-left-width: 1.5pt; padding-top: 0in; padding-right: 0in; padding-bottom: 0in; padding-left: 4pt; "><div><div style="border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-top-style: solid; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding-top: 3pt; padding-right: 0in; padding-bottom: 0in; padding-left: 0in; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><span class="Apple-converted-space"> </span><a href="mailto:liblas-devel-bounces@lists.osgeo.org" style="color: blue; text-decoration: underline; ">liblas-devel-bounces@lists.osgeo.org</a><span class="Apple-converted-space"> </span>[mailto:liblas-devel-bounces@lists.osgeo.org]<span class="Apple-converted-space"> </span><b>On Behalf Of<span class="Apple-converted-space"> </span></b>Stuart Edwards<br><b>Sent:</b><span class="Apple-converted-space"> </span>Sunday, February 13, 2011 8:06 AM<br><b>To:</b><span class="Apple-converted-space"> </span><a href="mailto:liblas-devel@lists.osgeo.org" style="color: blue; text-decoration: underline; ">liblas-devel@lists.osgeo.org</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>[Liblas-devel] build problem OS X<o:p></o:p></span></div></div></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">Hi ~<o:p></o:p></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">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.<o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">The errors all occur in point.cpp. <o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">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. <o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">2. Two more are similar to each other - at lines 563, 791, <o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span class="apple-style-span"><span style="font-size: 8.5pt; font-family: Menlo, serif; color: rgb(116, 73, 45); ">e.g</span></span><o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span class="apple-style-span"><span style="font-size: 8.5pt; font-family: Menlo, serif; color: rgb(116, 73, 45); ">#ifdef LIBLAS_ENDIAN_AWARE</span></span><o:p></o:p></div></div><div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8.5pt; font-family: Menlo, serif; "> <span class="Apple-converted-space"> </span><span style="color: rgb(85, 129, 135); ">boost</span>::<span style="color: rgb(113, 49, 168); ">uint16_t</span><span class="Apple-converted-space"> </span><span style="color: rgb(85, 129, 135); ">output</span><span class="Apple-converted-space"> </span>=<span class="Apple-converted-space"> </span><span style="color: rgb(85, 129, 135); ">liblas</span>::detail::bitsToInt<<span style="color: rgb(85, 129, 135); ">boost</span>::<span style="color: rgb(113, 49, 168); ">int32_t</span>>(<span style="color: rgb(85, 129, 135); ">output</span>,<span class="Apple-converted-space"> </span><span style="color: rgb(85, 129, 135); ">m_data</span>, pos);<o:p></o:p></span></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8.5pt; font-family: Menlo, serif; color: black; "> <span class="Apple-converted-space"> </span></span><span style="font-size: 8.5pt; font-family: Menlo, serif; color: rgb(181, 13, 161); ">return</span><span style="font-size: 8.5pt; font-family: Menlo, serif; color: black; "><span class="Apple-converted-space"> </span></span><span style="font-size: 8.5pt; font-family: Menlo, serif; color: rgb(85, 129, 135); ">output</span><span style="font-size: 8.5pt; font-family: Menlo, serif; color: rgb(181, 13, 161); "><o:p></o:p></span></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8.5pt; font-family: Menlo, serif; color: rgb(116, 73, 45); ">#else<o:p></o:p></span></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8.5pt; font-family: Menlo, serif; "> <span class="Apple-converted-space"> </span><span style="color: rgb(85, 129, 135); ">boost</span>::<span style="color: rgb(113, 49, 168); ">uint8_t</span>*<span class="Apple-converted-space"> </span><span style="color: rgb(85, 129, 135); ">data</span><span class="Apple-converted-space"> </span>=<span class="Apple-converted-space"> </span><span style="color: rgb(181, 13, 161); ">const_cast</span><<span style="color: rgb(85, 129, 135); ">boost</span>::<span style="color: rgb(113, 49, 168); ">uint8_t</span>*>(&<span style="color: rgb(85, 129, 135); ">m_data</span>[<span style="color: rgb(58, 0, 214); ">0</span>] + pos);<o:p></o:p></span></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8.5pt; font-family: Menlo, serif; color: black; "> <span class="Apple-converted-space"> </span></span><span style="font-size: 8.5pt; font-family: Menlo, serif; color: rgb(85, 129, 135); ">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: rgb(113, 49, 168); ">uint16_t</span><span style="font-size: 8.5pt; font-family: Menlo, serif; color: black; ">*<span class="Apple-converted-space"> </span></span><span style="font-size: 8.5pt; font-family: Menlo, serif; color: rgb(85, 129, 135); ">output</span><span style="font-size: 8.5pt; font-family: Menlo, serif; color: black; "><span class="Apple-converted-space"> </span>=<span class="Apple-converted-space"> </span></span><span style="font-size: 8.5pt; font-family: Menlo, serif; color: rgb(181, 13, 161); ">reinterpret_cast</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: rgb(85, 129, 135); ">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: rgb(113, 49, 168); ">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: rgb(85, 129, 135); ">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: rgb(85, 129, 135); "><o:p></o:p></span></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8.5pt; font-family: Menlo, serif; "> <span class="Apple-converted-space"> </span><span style="color: rgb(181, 13, 161); ">return</span><span class="Apple-converted-space"> </span>*<span style="color: rgb(85, 129, 135); ">output</span>;<o:p></o:p></span></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8.5pt; font-family: Menlo, serif; color: rgb(116, 73, 45); ">#endif<o:p></o:p></span></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8.5pt; font-family: Menlo, serif; ">; //(note -- my ";" see 1.above)<o:p></o:p></span></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 8.5pt; font-family: Menlo, serif; ">}<o:p></o:p></span></div></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; ">and the error is:<o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-left: 9pt; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><span style="font-size: 8.5pt; font-family: Menlo, serif; ">point.cpp:563: error: no matching function for call to 'bitsToInt(uint16_t&, const std::vector<unsigned char, std::allocator<unsigned char> >&, size_t&)'<o:p></o:p></span></div></div><div style="margin-left: 9pt; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><span style="font-size: 8.5pt; font-family: Menlo, serif; "><o:p> </o:p></span></div></div><div style="margin-left: 9pt; min-height: 13px; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><span style="font-size: 8.5pt; font-family: Menlo, serif; "><o:p> </o:p></span></div></div><div style="margin-left: 9pt; min-height: 13px; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><span class="apple-style-span"><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; ">3. The last is: </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></div></div></div><div style="margin-left: 9pt; min-height: 13px; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><span style="font-size: 8.5pt; font-family: Menlo, serif; "><o:p> </o:p></span></div></div><div style="margin-left: 9pt; min-height: 13px; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><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, and $CC yields </span></span><span style="font-size: 8.5pt; font-family: Menlo, serif; "><o:p></o:p></span></div></div><div style="margin-left: 9pt; min-height: 13px; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><span style="font-size: 8.5pt; font-family: Menlo, serif; "><o:p> </o:p></span></div></div><div style="margin-left: 9pt; min-height: 13px; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><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></div></div><div style="margin-left: 9pt; min-height: 13px; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><span style="font-size: 8.5pt; font-family: Menlo, serif; "><o:p> </o:p></span></div></div><div style="margin-left: 9pt; min-height: 13px; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><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></div></div><div style="margin-left: 9pt; min-height: 13px; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><span style="font-size: 8.5pt; font-family: Menlo, serif; "><o:p> </o:p></span></div></div><div style="margin-left: 9pt; min-height: 13px; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><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></div></div><div style="margin-left: 9pt; min-height: 13px; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><span style="font-size: 8.5pt; font-family: Menlo, serif; "><o:p> </o:p></span></div></div><div style="margin-left: 9pt; min-height: 13px; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><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></div></div><div style="margin-left: 9pt; min-height: 13px; "><div style="margin-left: 9pt; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -9pt; "><span style="font-size: 8.5pt; font-family: Menlo, serif; "><o:p> </o:p></span></div></div></div></div></div></div></span></blockquote></div><br></body></html>