Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swri_transform_util: incompatible with PROJ >=6 #573

Closed
lopsided98 opened this issue Mar 28, 2020 · 1 comment
Closed

swri_transform_util: incompatible with PROJ >=6 #573

lopsided98 opened this issue Mar 28, 2020 · 1 comment

Comments

@lopsided98
Copy link
Contributor

Attempting to build swri_transform_util with PROJ 6 fails with the following error:

In file included from /build/marti_common-release-release-melodic-swri_transform_util-2.12.0-1/include/swri_transform_util/utm_util.h:38,
                 from /build/marti_common-release-release-melodic-swri_transform_util-2.12.0-1/include/swri_transform_util/utm_transformer.h:42,
                 from /build/marti_common-release-release-melodic-swri_transform_util-2.12.0-1/src/transform_manager.cpp:35:
/nix/store/j7w4f4hylfxijbdqdyxyljvys26fkn7w-proj-dev/include/proj_api.h:37:2: error: #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
   37 | #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
      |  ^~~~~

An obvious temporary solution is just to define that macro, but the recently released PROJ 7 removes the deprecated API altogether. This package would need to be modified to use the new API to support PROJ 7.

@danthony06
Copy link
Contributor

Looks like #581 addressed this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants