Invalid Mex-files using 2018a Xcode 9.2
1 次查看(过去 30 天)
显示 更早的评论
Hi,
While trying to run Matlab 2018a code using "BM3D" downloaded from from http://www.cs.tut.fi/~foi/GCF-BM3D/ (the file is http://www.cs.tut.fi/~foi/GCF-BM3D/BM3D.zip I'm getting this errors.
tried almost every solution suggested on Matlab Answers Community with no success.
I'm using Xcode 9.2.
Invalid MEX-file '/Users/ericelharar/Documents/MATLAB/Eric_Pedro/BM3D/bm3d_thr.mexmaci64': dlopen(/Users/ericelharar/Documents/MATLAB/Eric_Pedro/BM3D/bm3d_thr.mexmaci64,
6): Library not loaded: @loader_path/libmat.dylib
Referenced from: /Users/ericelharar/Documents/MATLAB/Eric_Pedro/BM3D/bm3d_thr.mexmaci64
Reason: image not found.
Error in BM3D (line 342)
y_hat = bm3d_thr(z, hadper_trans_single_den, Nstep, N1, N2, lambda_thr2D,...
8 个评论
Wen Ying
2019-12-5
hi I meet the same problem, and i use matlab2018a and xcode11.2.1 macos 10.14.6.
i did not find the function the solve this issue.
could you send me the beta version for bm3d?
Amal Hafiane Mokadem
2022-5-11
hi please can you send me the beta version for Bm3d if you still have it
回答(1 个)
Walter Roberson
2018-3-28
Sierra and High Sierra ignore DYLD_DYNAMIC_PATH in some cases, for security reasons. It is only intended to apply to some executables, but likely it is interfering.
tl;dr -- put copies of the library in /usr/lib
10 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!