<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=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
/* 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.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@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 saw the same issue. What I ended up doing was to add a “#ifdef PDAL_HAVE_LAZPERF” statement on line 128 and a #endif on line 204. This seems to match the
 #ifdef at the top of the file around the #include’s for laz. Just my two cents.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Rob B.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<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""> pdal-bounces@lists.osgeo.org [mailto:pdal-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Stefan Ziegler<br>
<b>Sent:</b> Sunday, December 14, 2014 6:37 AM<br>
<b>To:</b> pdal@lists.osgeo.org<br>
<b>Subject:</b> [pdal] compile error on master<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi <br>
<br>
I get some errors when trying to compile pdal:<br>
<br>
[ 96%] Built target pdalcpp<br>
[ 97%] Building CXX object plugins/pgpointcloud/CMakeFiles/pdal_plugin_reader_pgpointcloud.dir/io/PgReader.cpp.o<br>
In file included from /home/stefan/Develop/src/pdal/plugins/pgpointcloud/io/PgCommon.hpp:43:0,<br>
                 from /home/stefan/Develop/src/pdal/plugins/pgpointcloud/io/PgReader.hpp:42,<br>
                 from /home/stefan/Develop/src/pdal/plugins/pgpointcloud/io/PgReader.cpp:36:<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:160:13: error: ‘laszip’ does not name a type<br>
     typedef laszip::encoders::arithmetic<OutputStream> Encoder;<br>
             ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:161:5: error: ‘Encoder’ does not name a type<br>
     Encoder m_encoder;<br>
     ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:162:22: error: ‘laszip’ has not been declared<br>
     typedef typename laszip::formats::dynamic_field_compressor<Encoder>::ptr<br>
                      ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:162:63: error: expected unqualified-id before ‘<’ token<br>
     typedef typename laszip::formats::dynamic_field_compressor<Encoder>::ptr<br>
                                                               ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:164:5: error: ‘Compressor’ does not name a type<br>
     Compressor m_compressor;<br>
     ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp: In constructor ‘pdal::LazPerfCompressor<OutputStream>::LazPerfCompressor(OutputStream&, const ExtDimTypeList&)’:<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:133:9: error: class ‘pdal::LazPerfCompressor<OutputStream>’ does not have any field named ‘m_encoder’<br>
         m_encoder(output),<br>
         ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:134:9: error: class ‘pdal::LazPerfCompressor<OutputStream>’ does not have any field named ‘m_compressor’<br>
         m_compressor(laszip::formats::make_dynamic_compressor(m_encoder)),<br>
         ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:134:22: error: ‘laszip’ has not been declared<br>
         m_compressor(laszip::formats::make_dynamic_compressor(m_encoder)),<br>
                      ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:134:63: error: ‘m_encoder’ was not declared in this scope<br>
         m_compressor(laszip::formats::make_dynamic_compressor(m_encoder)),<br>
                                                               ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:136:31: error: ‘m_compressor’ was not declared in this scope<br>
     { m_pointSize = addFields(m_compressor, dims); }<br>
                               ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp: In member function ‘pdal::point_count_t pdal::LazPerfCompressor<OutputStream>::compress(char*, size_t)’:<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:150:13: error: ‘m_compressor’ was not declared in this scope<br>
             m_compressor->compress(inbuf);<br>
             ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp: In member function ‘void pdal::LazPerfCompressor<OutputStream>::done()’:<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:157:11: error: ‘m_encoder’ was not declared in this scope<br>
         { m_encoder.done(); }<br>
           ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp: At global scope:<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:195:13: error: ‘laszip’ does not name a type<br>
     typedef laszip::decoders::arithmetic<InputStream> Decoder;<br>
             ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:196:5: error: ‘Decoder’ does not name a type<br>
     Decoder m_decoder;<br>
     ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:197:22: error: ‘laszip’ has not been declared<br>
     typedef typename laszip::formats::dynamic_field_decompressor<Decoder>::ptr<br>
                      ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:197:65: error: expected unqualified-id before ‘<’ token<br>
     typedef typename laszip::formats::dynamic_field_decompressor<Decoder>::ptr<br>
                                                                 ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:199:5: error: ‘Decompressor’ does not name a type<br>
     Decompressor m_decompressor;<br>
     ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp: In constructor ‘pdal::LazPerfDecompressor<InputStream>::LazPerfDecompressor(InputStream&, const ExtDimTypeList&)’:<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:174:9: error: class ‘pdal::LazPerfDecompressor<InputStream>’ does not have any field named ‘m_decoder’<br>
         m_decoder(input),<br>
         ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:175:9: error: class ‘pdal::LazPerfDecompressor<InputStream>’ does not have any field named ‘m_decompressor’<br>
         m_decompressor(laszip::formats::make_dynamic_decompressor(m_decoder))<br>
         ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:175:24: error: ‘laszip’ has not been declared<br>
         m_decompressor(laszip::formats::make_dynamic_decompressor(m_decoder))<br>
                        ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:175:67: error: ‘m_decoder’ was not declared in this scope<br>
         m_decompressor(laszip::formats::make_dynamic_decompressor(m_decoder))<br>
                                                                   ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:176:31: error: ‘m_decompressor’ was not declared in this scope<br>
     { m_pointSize = addFields(m_decompressor, dims); }<br>
                               ^<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp: In member function ‘pdal::point_count_t pdal::LazPerfDecompressor<InputStream>::decompress(char*, size_t)’:<br>
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:187:13: error: ‘m_decompressor’ was not declared in this scope<br>
             m_decompressor->decompress(outbuf);<br>
             ^<br>
make[2]: *** [plugins/pgpointcloud/CMakeFiles/pdal_plugin_reader_pgpointcloud.dir/io/PgReader.cpp.o] Error 1<br>
make[1]: *** [plugins/pgpointcloud/CMakeFiles/pdal_plugin_reader_pgpointcloud.dir/all] Error 2<br>
make: *** [all] Error 2<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Any ideas what's wrong/missing?
<o:p></o:p></p>
</div>
<p class="MsoNormal">best regards<br>
Stefan <o:p></o:p></p>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions
 presented in this e-mail are solely those of the author and do not necessarily represent those of Exelis Inc. The recipient should check this e-mail and any attachments for the presence of viruses. Exelis Inc. accepts no liability for any damage caused by
 any virus transmitted by this e-mail. <br>
</font>
</body>
</html>