[gdal-dev] build error from svn

Even Rouault even.rouault at mines-paris.org
Sat Jul 16 10:06:36 EDT 2011


Selon David Burken <dburken at comcast.net>:

Dave,

I presume you build GDAL against external libgeotiff, and not internal
libgeotiff. In any case, it is weird because cpl_serv.h should be installed when
installing libgeotiff (I've just verified it with libgeotiff from svn). So I
presume the include paths in the GDAL compilation line might miss a directory ?
Can you give more elements ?


> 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
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>




More information about the gdal-dev mailing list