[gdal-dev] Java bindings build issue

Stefan Moebius stefan.moebius at actix.com
Wed Jun 17 10:35:42 EDT 2009


Same problem with OGR enabled.

Stefan Moebius wrote:
> Hi,
> 
> I'm trying to build gdal-trunk with Java bindings on rhel-5.
> 
> I succeeded with GDAL itself, but had to disable expat.
> I also disabled OGR, but included PROJ.4.
> 
> Next I configured gdal/swig/java/java.opt and ran make.
> 
> Result is:
> 
> mkdir -p org/gdal/gdal
> mkdir -p org/gdal/gdalconst
> mkdir -p org/gdal/ogr
> mkdir -p org/gdal/osr
> swig -Wall -I../include -I../include/java -I../include/java/docs -outdir 
> "org/gdal/gdal" -package "org.gdal.gdal"  -I/home/devbuild/gdal-1.7
>  -c++ -java -o gdal_wrap.cpp gdal.i
> ../include/cpl.i:EOF: Error: Missing #endif for conditional starting on 
> line 214
> make: *** [gdal_wrap.cpp] Error 1
> 
> Any ideas?
> 
> The swig version is 1.3.29.
> 
> Regards,
> Stefan



More information about the gdal-dev mailing list