<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:314459377;
        mso-list-type:hybrid;
        mso-list-template-ids:-965417434 134676495 134676505 134676507 134676495 134676505 134676507 134676495 134676505 134676507;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE-CH" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We are having issues building PDAL on Ubuntu 13.10, following the guide on
<b><span style="color:red">[1].</span></b><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">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’.”.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Our next approach was to use the script “pramsey-config.sh” from github and was thrown the following errors:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1;text-autospace:none">
<![if !supportLists]><span lang="EN-US"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><![endif]><span lang="EN-US">In file included from /usr/include/gdal/cpl_conv.h:34:0,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:18.0pt;text-autospace:none"><span lang="EN-US">                 from /home/zheng/Downloads/PDAL/src/drivers/las/GeotiffSupport.hpp:42,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:18.0pt;text-autospace:none"><span lang="EN-US">                 from /home/zheng/Downloads/PDAL/src/drivers/las/GeotiffSupport.cpp:35:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:18.0pt;text-autospace:none"><span lang="EN-US">/usr/include/gdal/cpl_port.h:533:89: error: declaration of C function ‘void* gtCPLRealloc(void*, size_t)’ conflicts with<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:18.0pt;text-autospace:none"><span lang="EN-US">#define CPL_WARN_UNUSED_RESULT                        __attribute__((warn_unused_result))<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:18.0pt;text-autospace:none"><span lang="EN-US">                                                                                         ^<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:18.0pt;text-autospace:none"><span lang="EN-US">/usr/include/gdal/cpl_conv.h:65:44: note: in expansion of macro ‘_WARN_UNUSED_RESULT’<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:18.0pt;text-autospace:none"><span lang="EN-US">void CPL_DLL *CPLRealloc( void *, size_t ) CPL_WARN_UNUSED_RESULT;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:18.0pt;text-autospace:none"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1;text-autospace:none">
<![if !supportLists]><span lang="EN-US"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><![endif]><span lang="EN-US">In file included from /usr/include/geotiff/geo_simpletags.h:34:0,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:18.0pt;text-autospace:none"><span lang="EN-US">                 from /home/zheng/Downloads/PDAL/src/drivers/las/GeotiffSupport.hpp:41,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:18.0pt;text-autospace:none"><span lang="EN-US">                 from /home/zheng/Downloads/PDAL/src/drivers/las/GeotiffSupport.cpp:35:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:18.0pt;text-autospace:none"><span lang="EN-US">/usr/include/geotiff/cpl_serv.h:144:20: error: previous declaration ‘void* gtCPLRealloc(void*, int)’ here<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:18.0pt;text-autospace:none"><span lang="EN-US"></span>#define CPLRealloc gtCPLRealloc<o:p></o:p></p>
<p class="MsoListParagraph"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">** We had adapted the path for the dependencies to our system in the script.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Would greatly appreciate if someone could advise on how to proceed.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Zhi Feng<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="color:red">[1]</span></b><span lang="EN-US" style="color:red">
</span><a href="http://www.pointcloud.org/compilation/unix.html"><span lang="EN-US">http://www.pointcloud.org/compilation/unix.html</span></a><span lang="EN-US"><o:p></o:p></span></p>
</div>
</body>
</html>