DEPRECATED_PROJ_API
Added by joaquim bento almost 6 years ago
Dears
Recently, I installed proj-6.1.0 and tried to install CDO-1.9.6, but got the following error:
#error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
#error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
It seems proj_api.h will no longer be included as a public header from proj-7 on. They want to be sure users understand the message, and in order to use proj_api.h, users are required to #define a macro "ACCEPT_USE_OF_DEPRECATED_PROJ_API_H". If the macro is not defined, the compile-time error above appears.
My question is
Is there any easy way to overcome this without installing an old version of proj ...?
the very best
Joaquim