[gdal-dev] build error from svn

David Burken dburken at comcast.net
Fri Jul 15 15:15:49 EDT 2011


Hi Frank, all,

Just fyi, getting build error from svn.  Looks like cpl_serv.h is gone 
now.  See below for minor patch.

Take care,
Dave

$ svn update
At revision 22725.

gt_wkt_srs.cpp:33:22: fatal error: cpl_serv.h: No such file or directory
compilation terminated.
make[1]: *** [../o/gt_wkt_srs.lo] Error 1
make[1]: Leaving directory `/home/work/osgeo/gdal/frmts/gtiff'
make: *** [gtiff-install-obj] Error 2

Compilation exited abnormally with code 2 at Fri Jul 15 15:06:55

Patch:

svn diff frmts/gtiff/gt_wkt_srs.cpp
Index: frmts/gtiff/gt_wkt_srs.cpp
===================================================================
--- frmts/gtiff/gt_wkt_srs.cpp    (revision 22725)
+++ frmts/gtiff/gt_wkt_srs.cpp    (working copy)
@@ -30,7 +30,9 @@
   * DEALINGS IN THE SOFTWARE.
   
****************************************************************************/

-#include "cpl_serv.h"
+// #include "cpl_serv.h"
+ #include "cpl_csv.h"
+
  #include "geo_tiffp.h"
  #define CPL_ERROR_H_INCLUDED




More information about the gdal-dev mailing list