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 comentario

Ken Atwell
Ken Atwell el 6 de Abr. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 3 de Abr. de 2015

Comentada:

el 6 de Abr. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by