PROJ API
Oliver Madge
oghm2 at srcf.ucam.org
Tue Sep 7 08:48:42 BST 2021
I’m trying to build Survex and ran into the following error:
commands.c:38:10: fatal error: proj_api.h: No such file or directory
38 | #include <proj_api.h>
| ^~~~~~~~~~~~
compilation terminated.
This is because Survex uses the (now very old) PROJ 4 API. I can see that
Survex defines ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
which allowed use of the old API until PROJ 7 but this has now been
completely removed in PROJ 8 in favour of the PROJ 6 API.
Are there plans to migrate Survex to use the PROJ 6 API?
Thanks,
Olly
More information about the Survex
mailing list