Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#6045 closed defect (fixed)

GDAL 2.0.0 Python bindings won't compile with SWIG 3.0.6

Reported by: jcrepetto Owned by: hobu
Priority: normal Milestone: 1.11.3
Component: PythonBindings Version: 2.0.0
Severity: normal Keywords: SWIG Python
Cc:

Description

make -C swig/python generate 
make: Entering directory '/home/jcr/gdal/swig/python'
swig -Wall -I../include -I../include/python -I../include/python/docs -outdir "osgeo"   -I/home/jcr/gdal -c++ -python -o extensions/gdal_wrap.cpp ../include/gdal.i
swig -Wall -I../include -I../include/python -I../include/python/docs -outdir "osgeo"   -I/home/jcr/gdal -python -o extensions/gdalconst_wrap.c ../include/gdalconst.i
swig -Wall -I../include -I../include/python -I../include/python/docs -outdir "osgeo"   -I/home/jcr/gdal -c++ -python -o extensions/ogr_wrap.cpp ../include/ogr.i
../include/python/ogr_python.i:115: Error: Line indented less than expected (line 25 of pythoncode)
../include/python/ogr_python.i:115: Error: Line indented less than expected (line 26 of pythoncode)
../include/python/ogr_python.i:115: Error: Line indented less than expected (line 27 of pythoncode)
../include/python/ogr_python.i:194: Error: Line indented less than expected (line 23 of pythoncode)
../include/python/ogr_python.i:194: Error: Line indented less than expected (line 24 of pythoncode)
../SWIGmake.base:15: recipe for target 'ogr_wrap.cpp' failed
make: *** [ogr_wrap.cpp] Error 5
make: Leaving directory '/home/jcr/gdal/swig/python'

Change History (2)

comment:1 by Even Rouault, 9 years ago

Resolution: fixed
Status: newclosed

trunk r29549, branches/2.0 r29550 "Python bindings: fix build with SWIG 3.0.6 (#6045)"

comment:2 by Even Rouault, 9 years ago

Milestone: 2.0.11.11.3

branches/1.11 r30442 "Python bindings: fix build with SWIG 3.0.6 (#6045)"

Note: See TracTickets for help on using tickets.