Hi,
I hope this thread is talking about Solution Number: 25176 (
When trying "mbuild mymain.c test.c", I got following error:
======================================
cc: acomp failed for mymain.c
mbuild: compile of 'mymain.c' failed.
========================================
in addition to a long list of warnings
========================================
"/opt/matlabr13/extern/include/libmwsglm.h", line 1091: warning: parameter has incomplete type: prhs
"/opt/matlabr13/extern/include/libmwsglm.h", line 1094: warning: parameter has incomplete type: plhs
"/opt/matlabr13/extern/include/libmwsglm.h", line 1096: warning: parameter has incomplete type: prhs
"/opt/matlabr13/extern/include/libmwsglm.h", line 1112: warning: parameter has incomplete type: plhs
============================================
since the warning is too long, I can't see if there is any error messages during the compiling.
I had no error on 'mcc -mc test.m' to generate all the .c .h files.
The setup of mcc, mbuild, mex seems ok, testing with the provided files from MatLab (yprime.c, hello.m, ex1.c) all worked as described (at
Thanks in advance for your help.