error during mex compilation.

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 件のコメント

Ken Atwell
Ken Atwell 2015 年 4 月 6 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeWrite C Functions Callable from MATLAB (MEX Files) についてさらに検索

質問済み:

2015 年 4 月 3 日

コメント済み:

2015 年 4 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by