[mapserver-users] Mapserver 6.2 with proj 4.7

2012-11-16 Thread umn-ms

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


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver 6.2 with proj 4.7

2012-11-16 Thread thomas bonfort
Benedikt,
please open an issue for this.

thanks,
thomas


On Fri, Nov 16, 2012 at 12:28 PM,  wrote:

>
> 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
>
>
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users