JackDMcGrath / GBIS

COMET GBIS software, as adapted by members of Active Tectonics Group, University of Leeds
5 stars 3 forks source link

GBISrun compatability #6

Open JackDMcGrath opened 1 year ago

thesunsets commented 3 months ago

Hi jack, I am getting a problem when usings "sill" model, do you have any suggestions?

mex disloc_mex.c Building with 'Xcode with Clang'. Error using mex /Users/famelung/code/rsmas_insar/tools/GBIS/GBIS/DeformationSources/disloc/disloc_mex.c:64:11: error: call to undeclared function 'Disloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Disloc(pOutput, pModel, pCoords, nu, NumStat, NumDisl); ^ 1 error generated.

JackDMcGrath commented 3 months ago

What system are you running on?

thesunsets commented 3 months ago

Hi jack. I ran it on windows 10.

JackDMcGrath commented 3 months ago

disloc.c only runs on linux (and maybe mac?) operating system. Adding in windows compatible version (https://au.mathworks.com/matlabcentral/fileexchange/25982-okada-surface-deformation-due-to-a-finite-rectangular-source) is a working progress.