[pdal] Building PDAL using pramsey-config.sh
Heng Zhi Feng (zheng@hsr.ch)
zheng at hsr.ch
Tue Oct 29 07:14:43 PDT 2013
Hello,
We are having issues building PDAL on Ubuntu 13.10, following the guide on [1].
Initially, PDAL successfully compiles with using the “cmake –G “Unix Makefiles” ../” command. However, when trying to import a sample .LAS file into PostgreSQL 9.1 using the PDAL Pipeline application. The following error occurred “Caught PDAL exception: Unable to create writer for type ‘drivers.pgpointcloud.writer’.”.
Our next approach was to use the script “pramsey-config.sh” from github and was thrown the following errors:
1. In file included from /usr/include/gdal/cpl_conv.h:34:0,
from /home/zheng/Downloads/PDAL/src/drivers/las/GeotiffSupport.hpp:42,
from /home/zheng/Downloads/PDAL/src/drivers/las/GeotiffSupport.cpp:35:
/usr/include/gdal/cpl_port.h:533:89: error: declaration of C function ‘void* gtCPLRealloc(void*, size_t)’ conflicts with
#define CPL_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
/usr/include/gdal/cpl_conv.h:65:44: note: in expansion of macro ‘_WARN_UNUSED_RESULT’
void CPL_DLL *CPLRealloc( void *, size_t ) CPL_WARN_UNUSED_RESULT;
2. In file included from /usr/include/geotiff/geo_simpletags.h:34:0,
from /home/zheng/Downloads/PDAL/src/drivers/las/GeotiffSupport.hpp:41,
from /home/zheng/Downloads/PDAL/src/drivers/las/GeotiffSupport.cpp:35:
/usr/include/geotiff/cpl_serv.h:144:20: error: previous declaration ‘void* gtCPLRealloc(void*, int)’ here
#define CPLRealloc gtCPLRealloc
** We had adapted the path for the dependencies to our system in the script.
Would greatly appreciate if someone could advise on how to proceed.
Thank you.
Regards,
Zhi Feng
[1] http://www.pointcloud.org/compilation/unix.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20131029/579a2002/attachment.html>
More information about the pdal
mailing list