<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Doug,</div>
<div><br>
</div>
<div>You can use git over https. That shouldn't be blocked.</div>
<div><br>
</div>
<div>Libgeotiff is needed separately as all the imports from libgeotiff aren't available in gdal.</div>
<div><br>
</div>
<div>Mike</div>
<div><br>
</div>
<div>
<div>
<div>
<div>-- </div>
<div>Michael Smith</div>
</div>
<div>Remote Sensing/GIS Center</div>
<div>US Army Corps of Engineers</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span><<a href="mailto:Doug_Newcomb@fws.gov">Doug_Newcomb@fws.gov</a>><br>
<span style="font-weight:bold">Date: </span>Thu, 16 Aug 2012 09:26:59 -0400<br>
<span style="font-weight:bold">To: </span><<a href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a>><br>
<span style="font-weight:bold">Subject: </span>[pdal] pdal compilation breakage on ubuntu with geotiff<br>
</div>
<div><br>
</div>
<br>
<tt><font size="2">Hi Folks,</font></tt><br>
<tt><font size="2">        Running Ubuntu 11.10 64 bit with the ubuntu-gis unstable ppa.  After reviewing some of the archived postings, I downloaded the zipped file version (my agency blocks git ports) of PDAL-af197b0 and the latest nightly trunk source of
 gdal, gdal-svn-trunk-20120816.zip   .  Gdal trunk  built and installed fine (--with-geotiff=internal) to /usr/local/lib .  I then tried to build pdal and got :</font></tt><br>
<br>
<font size="3">[ 43%] Building CXX object src/CMakeFiles/pdal.dir/drivers/las/GeotiffSupport.cpp.o<br>
In file included from /usr/local/include/cpl_conv.h:35:0,<br>
                 from /home/dnewcomb/Downloads/PDAL-PDAL-af197b0/src/drivers/las/GeotiffSupport.hpp:42,<br>
                 from /home/dnewcomb/Downloads/PDAL-PDAL-af197b0/src/drivers/las/GeotiffSupport.cpp:35:<br>
/usr/local/include/cpl_vsi.h:173:37: error: declaration of C function ‘void* _GTIFcalloc(size_t)’ conflicts with<br>
/usr/local/include/cpl_vsi.h:172:17: error: previous declaration ‘void* _GTIFcalloc(size_t*)’ here<br>
In file included from /usr/local/include/cpl_conv.h:36:0,<br>
                 from /home/dnewcomb/Downloads/PDAL-PDAL-af197b0/src/drivers/las/GeotiffSupport.hpp:42,<br>
                 from /home/dnewcomb/Downloads/PDAL-PDAL-af197b0/src/drivers/las/GeotiffSupport.cpp:35:<br>
/usr/local/include/cpl_error.h:50:15: error: conflicting declaration ‘CE_None’<br>
/usr/local/include/cpl_serv.h:168:5: error: ‘CE_None’ has a previous declaration as ‘CPLErr CE_None’<br>
/usr/local/include/cpl_error.h:52:18: error: conflicting declaration ‘CE_Warning’<br>
/usr/local/include/cpl_serv.h:170:5: error: ‘CE_Warning’ has a previous declaration as ‘CPLErr CE_Warning’<br>
/usr/local/include/cpl_error.h:53:18: error: conflicting declaration ‘CE_Failure’<br>
/usr/local/include/cpl_serv.h:171:5: error: ‘CE_Failure’ has a previous declaration as ‘CPLErr CE_Failure’<br>
/usr/local/include/cpl_error.h:54:16: error: conflicting declaration ‘CE_Fatal’<br>
/usr/local/include/cpl_serv.h:172:5: error: ‘CE_Fatal’ has a previous declaration as ‘CPLErr CE_Fatal’<br>
/usr/local/include/cpl_error.h:55:3: error: conflicting declaration ‘typedef enum CPLErr CPLErr’<br>
/usr/local/include/cpl_serv.h:173:3: error: ‘CPLErr’ has a previous declaration as ‘typedef enum CPLErr CPLErr’<br>
/usr/local/include/cpl_error.h:73:71: error: declaration of C function ‘void (* gtCPLSetErrorHandler(CPLErrorHandler))(CPLErr, int, const char*)’ conflicts with<br>
/usr/local/include/cpl_serv.h:186:14: error: previous declaration ‘void gtCPLSetErrorHandler(void (*)(CPLErr, int, const char*))’ here<br>
In file included from /home/dnewcomb/Downloads/PDAL-PDAL-af197b0/src/drivers/las/GeotiffSupport.hpp:42:0,<br>
                 from /home/dnewcomb/Downloads/PDAL-PDAL-af197b0/src/drivers/las/GeotiffSupport.cpp:35:<br>
/usr/local/include/cpl_conv.h:63:35: error: declaration of C function ‘void* gtCPLMalloc(size_t)’ conflicts with<br>
/usr/local/include/cpl_serv.h:147:15: error: previous declaration ‘void* gtCPLMalloc(int)’ here<br>
/usr/local/include/cpl_conv.h:64:43: error: declaration of C function ‘void* gtCPLCalloc(size_t, size_t)’ conflicts with<br>
/usr/local/include/cpl_serv.h:148:15: error: previous declaration ‘void* gtCPLCalloc(int, int)’ here<br>
/usr/local/include/cpl_conv.h:65:44: error: declaration of C function ‘void* gtCPLRealloc(void*, size_t)’ conflicts with<br>
/usr/local/include/cpl_serv.h:149:15: error: previous declaration ‘void* gtCPLRealloc(void*, int)’ here<br>
make[2]: *** [src/CMakeFiles/pdal.dir/drivers/las/GeotiffSupport.cpp.o] Error 1<br>
make[1]: *** [src/CMakeFiles/pdal.dir/all] Error 2<br>
make: *** [all] Error 2</font><br>
<a href="mailto:micah.wengren@noaa.gov"></a><br>
<tt><font size="2">I freely admit that I am a cmake newbie, and not really a C programmer. Is there something obvious that I am missing?  Do I need to install libgeotiff separately and not use the internal version in gdal trunk?</font></tt><br>
<br>
<tt><font size="2">Doug</font></tt><br>
<br>
<br>
<br>
<font size="2" face="sans-serif">Doug Newcomb             <br>
USFWS<br>
Raleigh, NC<br>
919-856-4520 ext. 14 <a href="mailto:doug_newcomb@fws.gov">doug_newcomb@fws.gov</a><br>
---------------------------------------------------------------------------------------------------------<br>
The opinions I express are my own and are not representative of the official policy of the U.S.Fish and Wildlife Service or Dept. of the Interior.   Life is too short for undocumented, proprietary data formats.</font> _______________________________________________
 pdal mailing list <a href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/pdal">http://lists.osgeo.org/mailman/listinfo/pdal</a>
</span>
</body>
</html>