wschwanghart / topotoolbox

A MATLAB software for the analysis of digital elevation models -
https://topotoolbox.wordpress.com/
153 stars 89 forks source link

Error in FLOWobj/flowacc (line 144) A = flowacc_mex(FD.ix,FD.ixc,FD.size); #25

Closed xhkong80158 closed 1 year ago

xhkong80158 commented 2 years ago

I am getting error when using flowacc

invalid MEX-file '/Users/kong/Downloads/topotoolbox-2.4/ttlem/hylands/flowacc_mex.mexmaci64' : dlopen(/Users/kong/Downloads/topotoolbox-2.4/ttlem/hylands/flowacc_mex.mexmaci64, 6): Symbol not found: _mexErrMsgTxt_800 Referenced from: /Users/kong/Downloads/topotoolbox-2.4/ttlem/hylands/flowacc_mex.mexmaci64 Expected in: /Applications/MATLAB_R2017b.app/bin/maci64/libmex.dylib in /Users/kong/Downloads/topotoolbox-2.4/ttlem/hylands/flowacc_mex.mexmaci64。

error in FLOWobj/flowacc (line 144) A = flowacc_mex(FD.ix,FD.ixc,FD.size);

How can I solve this problem?

wschwanghart commented 1 year ago

Hi, see issue #19 (https://github.com/wschwanghart/topotoolbox/issues/19) to resolve this problem.