[pdal] build error

David Burken dburken at comcast.net
Tue Oct 1 05:56:27 PDT 2013


Hi Oscar,

I hit this yesterday.  If you install flann and flann-devel packages and 
rerun your cmake that should fix you.  There's conditional (on flann) 
code in the .hpp but it's not conditional in the dot.cpp.

Take care,
Dave

On 10/1/13 8:26 AM, Oscar Martinez Rubi wrote:
> Hi,
>
> I am also getting and error when building PDAL (in CentOS 6.4 in my 
> case). The message is:
>
> ...
> [ 48%] Building CXX object src/CMakeFiles/pdal.dir/PipelineWriter.cpp.o
> [ 48%] Building CXX object src/CMakeFiles/pdal.dir/PointBuffer.cpp.o
> /root/geoswdw/PDAL/src/PointBuffer.cpp: In copy constructor 
> 'pdal::IndexedPointBuffer::IndexedPointBuffer(const 
> pdal::IndexedPointBuffer&)':
> /root/geoswdw/PDAL/src/PointBuffer.cpp:643: error: class 
> 'pdal::IndexedPointBuffer' does not have any field named 'm_index'
> /root/geoswdw/PDAL/src/PointBuffer.cpp:643: error: 'const class 
> pdal::IndexedPointBuffer' has no member named 'm_index'
> /root/geoswdw/PDAL/src/PointBuffer.cpp:644: error: class 
> 'pdal::IndexedPointBuffer' does not have any field named 'm_dataset'
> /root/geoswdw/PDAL/src/PointBuffer.cpp:644: error: 'const class 
> pdal::IndexedPointBuffer' has no member named 'm_dataset'
> /root/geoswdw/PDAL/src/PointBuffer.cpp: In member function 'void 
> pdal::IndexedPointBuffer::build()':
> /root/geoswdw/PDAL/src/PointBuffer.cpp:669: error: 'm_dataset' was not 
> declared in this scope
> /root/geoswdw/PDAL/src/PointBuffer.cpp:669: error: expected 
> type-specifier before 'flann'
> /root/geoswdw/PDAL/src/PointBuffer.cpp:669: error: expected ';' before 
> 'flann'
> /root/geoswdw/PDAL/src/PointBuffer.cpp:672: error: 'm_index' was not 
> declared in this scope
> /root/geoswdw/PDAL/src/PointBuffer.cpp:672: error: expected 
> type-specifier before 'flann'
> /root/geoswdw/PDAL/src/PointBuffer.cpp:672: error: expected ';' before 
> 'flann'
> make[2]: *** [src/CMakeFiles/pdal.dir/PointBuffer.cpp.o] Error 1
> make[1]: *** [src/CMakeFiles/pdal.dir/all] Error 2
> make: *** [all] Error 2
>
> Is this an error? Any help please?
>
> Best Regards,
>
> Oscar
>
>
>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pdal

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20131001/d2251fd5/attachment.html>


More information about the pdal mailing list