Skip to content

Error: assignment to contiguous pointer from non-contiguous target at (1) #35

Answered by jornbr
Julia-Cheng0225 asked this question in Q&A
Discussion options

You must be logged in to vote

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 to OFF 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.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Julia-Cheng0225
Comment options

@jornbr
Comment options

@Julia-Cheng0225
Comment options

Answer selected by jornbr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants