liblas 1.6.0b3, Schema class does not have HasColor() [RESOL
Posted: Thu Dec 16, 2010 11:58 pm
I've tried to build CloudCompare using CodeBlocks and minGW, and I
found that it wouldn't build initially, so I tried updating the libLAS
and Boost libraries. When I did the build with libLAS 1.6.0b3, there
was a compilation error in fileIO/LASFilter.cpp, line 166:
||=== qCC, release ===|
C:\svnwork\local_cloud-compare-aam-fork\qCC\fileIO\LASFilter.cpp||In member function 'virtual CC_FILE_ERROR LASFilter::loadFile(const char*, ccHObject&)':|
C:\svnwork\local_cloud-compare-aam-fork\qCC\fileIO\LASFilter.cpp|166|error: 'const class liblas::Schema' has no member named 'HasColor'|
||=== Build finished: 1 errors, 0 warnings ===|
The line in question is:
hasColor = header.GetSchema().HasColor();
Looking at the libLAS source code, it does indeed appear that HasColor
was removed from the class.
I'm not sure if this was done by mistake by the libLAS people (as they
have altered a public interface without any notification), or whether
the CloudCompare needs to be amended in some way.
In the meantime, do you know which is the latest version of libLAS
that can be used to build CloudCompare?
Thanks,
David
found that it wouldn't build initially, so I tried updating the libLAS
and Boost libraries. When I did the build with libLAS 1.6.0b3, there
was a compilation error in fileIO/LASFilter.cpp, line 166:
||=== qCC, release ===|
C:\svnwork\local_cloud-compare-aam-fork\qCC\fileIO\LASFilter.cpp||In member function 'virtual CC_FILE_ERROR LASFilter::loadFile(const char*, ccHObject&)':|
C:\svnwork\local_cloud-compare-aam-fork\qCC\fileIO\LASFilter.cpp|166|error: 'const class liblas::Schema' has no member named 'HasColor'|
||=== Build finished: 1 errors, 0 warnings ===|
The line in question is:
hasColor = header.GetSchema().HasColor();
Looking at the libLAS source code, it does indeed appear that HasColor
was removed from the class.
I'm not sure if this was done by mistake by the libLAS people (as they
have altered a public interface without any notification), or whether
the CloudCompare needs to be amended in some way.
In the meantime, do you know which is the latest version of libLAS
that can be used to build CloudCompare?
Thanks,
David