hed
hed copied to clipboard
Invalid MEX file: correspondPixels.mexmaci64
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
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.
Thank you, I'll do this.