필터 지우기
필터 지우기

Invalid Mex-files using 2018a Xcode 9.2

조회 수: 5 (최근 30일)
Eric Elharer
Eric Elharer 2018년 3월 28일
댓글: Amal Hafiane Mokadem 2022년 5월 11일
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
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
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
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
Zhihong Pan
Zhihong Pan 2019년 10월 21일
stuck at the same error on MacOS, any updates on this?
Eric Elharer
Eric Elharer 2019년 12월 5일
Hi Send me a gmail address mail and I'll share with u a folder with all the information and software updates that helped me Hope it would work for u 2 Elharar.eric@gmail.com

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by