<div dir="ltr"><div>Thanks for fixing this issue.<br><br></div>Stefan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 14, 2014 at 12:37 PM, Stefan Ziegler <span dir="ltr"><<a href="mailto:stefan.ziegler.de@gmail.com" target="_blank">stefan.ziegler.de@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>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<br><br></div>Any ideas what's wrong/missing? <br><br></div>best regards<span class="HOEnZb"><font color="#888888"><br>Stefan <br></font></span></div>
</blockquote></div></div>