error during mex compilation.
1 view (last 30 days)
Show older comments
MAC osx vesion 10.10.2
xcode Version 6.2 (6C131e)
matlab version R2015a.
error message:
Error using mex
Undefined symbols for architecture x86_64:
"_mexFunction", referenced from:
-exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Does anyone know how to fix this issue?
Thanks.
1 Comment
Ken Atwell
on 6 Apr 2015
Can you upload the file you are MEX'ing and tell us the command line you are using? Does that file in mexFunction() -- it need to.
Answers (0)
See Also
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!