[mapserver-users] Mapserver 6.2 with proj 4.7

umn-ms at hydrotec.de umn-ms at hydrotec.de
Fri Nov 16 03:28:06 PST 2012


Hi

I tried to compile Mapserver 6.2 with proj 4.7. I'm having a problem with a
function called "pj_clear_initcache"
As far as I can see, this function was introduced in proj 4.8 and is not
part of  proj 4.7.

In Mapserver 6.2 maputil.c has code
#  if PJ_VERSION >= 470
  pj_clear_initcache();
#  endif
  ...
#endif

where Mapserver 6.0 used.
#  if PJ_VERSION >= 480
  pj_clear_initcache();
#  endif
  ...
#endif

I changed the "#  if PJ_VERSION" back to 6.0...

Benedikt

proj_api in 4.7:
http://svn.osgeo.org/metacrs/proj/branches/4.7/proj/src/proj_api.h
proj_api in 4.8:
http://svn.osgeo.org/metacrs/proj/branches/4.8/proj/src/proj_api.h




More information about the mapserver-users mailing list