make command error when building ocssw binaries
Posted: Tue Jun 30, 2020 4:32 am America/New_York
Hi,
I have successfully built the third party libraries (using ./BuildIt.py). However, when building the binaries, I get the error:
In file included from /export/home/l-p/mcanto/ocssw/ocssw-src/oel_hdf4/libnav/get_zenaz.c:3:0:
/export/home/l-p/mcanto/ocssw/opt/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'
#error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
^
make[2]: *** [oel_hdf4/libnav/CMakeFiles/nav.dir/get_zenaz.c.o] Error 1
make[1]: *** [oel_hdf4/libnav/CMakeFiles/nav.dir/all] Error 2
make: *** [all] Error 2
Has someone encountered this problem and knows how to resolve it? Would very much appreciate any ideas! Complete make command log is attached.
Thank you in advance!
Tessattachment 1
I have successfully built the third party libraries (using ./BuildIt.py). However, when building the binaries, I get the error:
In file included from /export/home/l-p/mcanto/ocssw/ocssw-src/oel_hdf4/libnav/get_zenaz.c:3:0:
/export/home/l-p/mcanto/ocssw/opt/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'
#error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
^
make[2]: *** [oel_hdf4/libnav/CMakeFiles/nav.dir/get_zenaz.c.o] Error 1
make[1]: *** [oel_hdf4/libnav/CMakeFiles/nav.dir/all] Error 2
make: *** [all] Error 2
Has someone encountered this problem and knows how to resolve it? Would very much appreciate any ideas! Complete make command log is attached.
Thank you in advance!
Tessattachment 1