Error: assignment to contiguous pointer from non-contiguous target at (1) #35
-
[ 86%] Built target fabm_models_au
Error: Assignment to contiguous pointer from non-contiguous target at (1) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi, I encountered an issue while trying to follow the steps outlined in "MinGW-w64: GNU Fortran on Windows" and am unable to resolve it.I would be grateful if someone could offer assistance and help me resolve this issue!! |
Beta Was this translation helpful? Give feedback.
-
I suspect this happens because you are using version 8 of MinGW (gfortran). This version is too strict in its checking of array contiguity. You can work around this issue by switching |
Beta Was this translation helpful? Give feedback.
I suspect this happens because you are using version 8 of MinGW (gfortran). This version is too strict in its checking of array contiguity. You can work around this issue by switching
FABM_USE_CONTIGUOUS
toOFF
in cmake (see also https://github.com/fabm-model/fabm/wiki/Building-and-installing#supported-compilers). And if you are indeed using version 8.x of MinGW, you could also upgrade to a later version instead.