[gdal-dev] build error from svn
Marius Jigmond
mariusjigmond at hotmail.com
Fri Jul 15 21:16:42 EDT 2011
David,
Revision 22725 builds just fine for me. I normally do a make clean
before every build. Maybe something went wrong in your build system.
-marius
On Fri, 2011-07-15 at 15:15 -0400, David Burken wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110715/c4f681d8/attachment.html
More information about the gdal-dev
mailing list