[gdal-dev] Compiling gdal with php

James McManus jmpmcmanus at yahoo.com
Fri May 2 11:22:54 EDT 2008


I am trying to compile gdal  -with-php. I am getting an error message (see below) saying "No typemaps are defined. How do I do this?

make[2]: Entering directory `/usr/local/src/gdal-1.5.1/swig/php'
swig -Wall -I../include -I../include/php -I../include/php/docs  -I/usr/local/src/gdal-1.5.1 -c++ -php -o gdal_wrap.cpp gdal.i
../include/Band.i:140: Warning(453): Can't apply (IF_ERROR_RETURN_NONE). No typemaps are defined.
g++ -I../../port -I../../gcore -I../../alg -I../../ogr `php-config --includes` -fpic -c gdal_wrap.cpp
gdal_wrap.cpp:1056: error: ‘zend_property_reference’ was not declared in this scope
gdal_wrap.cpp:1056: error: ‘property_reference’ was not declared in this scope
gdal_wrap.cpp:1056: error: expected primary-expression before ‘*’ token
gdal_wrap.cpp:1056: error: ‘value’ was not declared in this scope

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080502/eb25dd3e/attachment.html


More information about the gdal-dev mailing list