RSL install fails on Apple silicon #1244
mvanlierwalq
started this conversation in
General
Replies: 1 comment
-
CFLAGS to pass in to get TRMM_RSL to run on the new Apple silicon chips: export CFLAGS="--std=c90 -Wno-implicit-function-declaration" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
RSL code is a bit out-of-date and fails compiling with the modern gcc that ships with Apple silicon computers. I get the following sort of error message:
wsr88d_to_radar.c:456:11: error: implicit declaration of function 'wsr88d_remove_sails_sweep' is invalid in C99 [-Werror,-Wimplicit-function-declaration] wsr88d_remove_sails_sweep(radar); ^ 1 error generated. make[1]: *** [wsr88d_to_radar.lo] Error 1
Fix (thanks Max Grover!) appears to be to set env as follows: export CFLAGS="--std=c90 -Wno-implicit-function-declaration"
Make sure you do make clean before trying again after a fail.
Beta Was this translation helpful? Give feedback.
All reactions