hed icon indicating copy to clipboard operation
hed copied to clipboard

Invalid MEX file: correspondPixels.mexmaci64

Open Brainkite opened this issue 4 years ago • 2 comments

Hello,

I'm trying to use your evaluation code on MATLAB (r2019b) on mac os x but I get this error: Error using edgesEvalImg (line 70) Invalid MEX-file '/Users/antoninsumner/Documents/GitHub/EdgeDetection_ModelsComparison/eval/edges/private2/correspondPixels.mexmaci64': dlopen(/Users/antoninsumner/Documents/GitHub/EdgeDetection_ModelsComparison/eval/edges/private2/correspondPixels.mexmaci64, 6): Library not loaded: @loader_path/libmex.dylib Referenced from: /Users/antoninsumner/Documents/GitHub/EdgeDetection_ModelsComparison/eval/edges/private2/correspondPixels.mexmaci64

Apparently this is due to the use of @loader_path/libmex.dylib @loader_path seems to be depreciated and @rpath should be used instead. https://stackoverflow.com/a/48473295/6752124

Do you think you can re-compile the correspondPixels.mexmaci64 file with @rpath or maybe provide the original MATLAB code?

Thank you

Brainkite avatar Jul 02 '20 10:07 Brainkite

Hi Brainkite, the source code for correspondPixels.mexmaci64 from this link. I remember some code should be modified but I cannot re-build it since my MacBook is under maintenance. You can try to build it first.

xwjabc avatar Jul 03 '20 16:07 xwjabc

Thank you, I'll do this.

Brainkite avatar Jul 06 '20 13:07 Brainkite