Invalid Mex File Error on MAC OS Yosemite

2 views (last 30 days)
Özge
Özge on 12 Dec 2014
Commented: Ken Atwell on 13 Dec 2014
I am receiving Invalid MEX file error. Symbol Not Found.
The operating system is MAC OS X Yosemite and the MATLAB version is R2014a.
Here is the received error:
Invalid MEX-file '/Users/ozge/Documents/BO-project/BSR_mac/grouping/lib/buildW.mexmaci64':
dlopen(/Users/ozge/Documents/BO-project/BSR_mac/grouping/lib/buildW.mexmaci64, 6): Symbol
not found: __ZNKSt5ctypeIcE13_M_widen_initEv
Referenced from: /Users/ozge/Documents/BO-project/BSR_mac/grouping/lib/buildW.mexmaci64
Expected in: /usr/lib/libstdc++.6.dylib
in /Users/ozge/Documents/BO-project/BSR_mac/grouping/lib/buildW.mexmaci64
How can I fix this problem? Thanks in advance.
  1 Comment
Ken Atwell
Ken Atwell on 13 Dec 2014
Did you build buildW.maxi64 yourself, or did you download it from somewhere (I'm guessing the latter)?
I Google searched "__ZNKSt5ctypeIcE13_M_widen_initEv" and there are lots of hits from a variety of software packages. This file might need to be rebuilt using a Xcode/OSX configuration closer to your own.

Sign in to comment.

Answers (0)

Categories

Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!