[pdal] compile error on master

Stefan Ziegler stefan.ziegler.de at gmail.com
Sun Dec 14 03:37:21 PST 2014


Hi

I get some errors when trying to compile pdal:

[ 96%] Built target pdalcpp
[ 97%] Building CXX object
plugins/pgpointcloud/CMakeFiles/pdal_plugin_reader_pgpointcloud.dir/io/PgReader.cpp.o
In file included from
/home/stefan/Develop/src/pdal/plugins/pgpointcloud/io/PgCommon.hpp:43:0,
                 from
/home/stefan/Develop/src/pdal/plugins/pgpointcloud/io/PgReader.hpp:42,
                 from
/home/stefan/Develop/src/pdal/plugins/pgpointcloud/io/PgReader.cpp:36:
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:160:13: error:
‘laszip’ does not name a type
     typedef laszip::encoders::arithmetic<OutputStream> Encoder;
             ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:161:5: error:
‘Encoder’ does not name a type
     Encoder m_encoder;
     ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:162:22: error:
‘laszip’ has not been declared
     typedef typename
laszip::formats::dynamic_field_compressor<Encoder>::ptr
                      ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:162:63: error:
expected unqualified-id before ‘<’ token
     typedef typename
laszip::formats::dynamic_field_compressor<Encoder>::ptr
                                                               ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:164:5: error:
‘Compressor’ does not name a type
     Compressor m_compressor;
     ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp: In constructor
‘pdal::LazPerfCompressor<OutputStream>::LazPerfCompressor(OutputStream&,
const ExtDimTypeList&)’:
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:133:9: error:
class ‘pdal::LazPerfCompressor<OutputStream>’ does not have any field named
‘m_encoder’
         m_encoder(output),
         ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:134:9: error:
class ‘pdal::LazPerfCompressor<OutputStream>’ does not have any field named
‘m_compressor’
         m_compressor(laszip::formats::make_dynamic_compressor(m_encoder)),
         ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:134:22: error:
‘laszip’ has not been declared
         m_compressor(laszip::formats::make_dynamic_compressor(m_encoder)),
                      ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:134:63: error:
‘m_encoder’ was not declared in this scope
         m_compressor(laszip::formats::make_dynamic_compressor(m_encoder)),
                                                               ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:136:31: error:
‘m_compressor’ was not declared in this scope
     { m_pointSize = addFields(m_compressor, dims); }
                               ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp: In member
function ‘pdal::point_count_t
pdal::LazPerfCompressor<OutputStream>::compress(char*, size_t)’:
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:150:13: error:
‘m_compressor’ was not declared in this scope
             m_compressor->compress(inbuf);
             ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp: In member
function ‘void pdal::LazPerfCompressor<OutputStream>::done()’:
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:157:11: error:
‘m_encoder’ was not declared in this scope
         { m_encoder.done(); }
           ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp: At global scope:
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:195:13: error:
‘laszip’ does not name a type
     typedef laszip::decoders::arithmetic<InputStream> Decoder;
             ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:196:5: error:
‘Decoder’ does not name a type
     Decoder m_decoder;
     ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:197:22: error:
‘laszip’ has not been declared
     typedef typename
laszip::formats::dynamic_field_decompressor<Decoder>::ptr
                      ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:197:65: error:
expected unqualified-id before ‘<’ token
     typedef typename
laszip::formats::dynamic_field_decompressor<Decoder>::ptr
                                                                 ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:199:5: error:
‘Decompressor’ does not name a type
     Decompressor m_decompressor;
     ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp: In constructor
‘pdal::LazPerfDecompressor<InputStream>::LazPerfDecompressor(InputStream&,
const ExtDimTypeList&)’:
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:174:9: error:
class ‘pdal::LazPerfDecompressor<InputStream>’ does not have any field
named ‘m_decoder’
         m_decoder(input),
         ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:175:9: error:
class ‘pdal::LazPerfDecompressor<InputStream>’ does not have any field
named ‘m_decompressor’

m_decompressor(laszip::formats::make_dynamic_decompressor(m_decoder))
         ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:175:24: error:
‘laszip’ has not been declared

m_decompressor(laszip::formats::make_dynamic_decompressor(m_decoder))
                        ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:175:67: error:
‘m_decoder’ was not declared in this scope

m_decompressor(laszip::formats::make_dynamic_decompressor(m_decoder))
                                                                   ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:176:31: error:
‘m_decompressor’ was not declared in this scope
     { m_pointSize = addFields(m_decompressor, dims); }
                               ^
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp: In member
function ‘pdal::point_count_t
pdal::LazPerfDecompressor<InputStream>::decompress(char*, size_t)’:
/home/stefan/Develop/src/pdal/include/pdal/Compression.hpp:187:13: error:
‘m_decompressor’ was not declared in this scope
             m_decompressor->decompress(outbuf);
             ^
make[2]: ***
[plugins/pgpointcloud/CMakeFiles/pdal_plugin_reader_pgpointcloud.dir/io/PgReader.cpp.o]
Error 1
make[1]: ***
[plugins/pgpointcloud/CMakeFiles/pdal_plugin_reader_pgpointcloud.dir/all]
Error 2
make: *** [all] Error 2

Any ideas what's wrong/missing?

best regards
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20141214/47bcc48f/attachment.html>


More information about the pdal mailing list