----- Original Message ----- From: "chm"

I looked at the proj_api.h and projects.h files
from proj-4.6.1 (which is the version I have on
this cygwin system) and proj-4.8.0.  It appears
there is the introduction of a new projCtx which
appears to be some sort of per-thread context.

Yes - but that only comes into play if projects.h is included - which is the very reason we need to *not* include projects.h.

The projCtx stuff is defined in the 4.8.0 projects.h file, but that file is now for *internal* (private) use only and doesn't get installed. So any attempt that the user makes to "#include <projects.h>" in his code will either fail to find projects.h, or it will find the pre-existing 4.7.0 (or earlier) version of projects.h. And those earlier versions of projects.h do *not* define these symbols - hence errors result.

I don't have time to see when the new API was
introduced but I think fixing PDL::GIS::Proj for
4.8.0 will be more than just a quick band aid fix.

See the "add missing projects.h" thread at:
http://lists.maptools.org/pipermail/proj/2012-March/subject.html

That explains pretty much what is going on - and gives the impression that our task should be fairly trivial.

I'll re-build and re-install 4.7.0 so I can see for myself what's happening re my amendments to Proj.pd.

Cheers,
Rob







_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to