Mapserver 6.2 with proj 4.7 #4526

Closed
benediktrothe opened this Issue Nov 16, 2012 · 0 comments

Projects

None yet

2 participants

@benediktrothe

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 to

if PJ_VERSION > 470

but didn't test this with proj4.8

@tbonfort tbonfort added a commit that referenced this issue Dec 11, 2012
@tbonfort tbonfort fix proj version check (#4526)
typo in the check for proj's lookup cache existence

closes #4526
b03a914
@tbonfort tbonfort added a commit that closed this issue Dec 11, 2012
@tbonfort tbonfort fix proj version check (#4526)
typo in the check for proj's lookup cache existence

closes #4526
b03a914
@tbonfort tbonfort closed this in b03a914 Dec 11, 2012
@mkofahl mkofahl pushed a commit to faegi/mapserver that referenced this issue Apr 9, 2013
@tbonfort tbonfort fix proj version check (#4526)
typo in the check for proj's lookup cache existence

closes #4526
4bc3b7a
@tbonfort tbonfort was assigned Apr 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment