Error installing Sedumi on Matlab R2016b, macOS 10.15.2 Catalina

5 visualizaciones (últimos 30 días)
Hello everybody,
I'm facing some problems after upgrading my OS to Catalina (10.15.2). Before I had the sedumi and yalmip working fine. However, after trying for some good time to install the sedumi I decided to come here ask you.
Note that I already had changed some lines on the mexopts folder. More specifically, I added the new version of the SDK which is MacOSX10.15.sdk. After that I was able to run sucessufly the mex -setup line on matlab. But still need a help to fix the sedumi installation.
Thank you a lot. Below the code and error.
install_sedumi
Building SeDuMi binaries...
mex -O -DUNIX -DmwIndex=int -DmwSize=int -DmwSignedIndex=int bwblkslv.c sdmauxFill.c sdmauxRdot.c "-lmwlapack" -lmwblas
Building with 'Xcode with Clang'.
Error using mex
In file included from /Volumes/Macintosh 750HD/Downloads/SeDuMi_1_3 2/bwblkslv.c:44:
In file included from /Applications/MATLAB_R2016b.app/extern/include/mex.h:51:
In file included from /Applications/MATLAB_R2016b.app/extern/include/matrix.h:25:
/Applications/MATLAB_R2016b.app/extern/include/tmwtypes.h:791:13: error: cannot combine with previous 'int'
declaration specifier
typedef int mwSize;
^
<command line>:3:16: note: expanded from here
#define mwSize int
^
In file included from /Volumes/Macintosh 750HD/Downloads/SeDuMi_1_3 2/bwblkslv.c:44:
In file included from /Applications/MATLAB_R2016b.app/extern/include/mex.h:51:
In file included from /Applications/MATLAB_R2016b.app/extern/include/matrix.h:25:
/Applications/MATLAB_R2016b.app/extern/include/tmwtypes.h:791:1: warning: typedef requires a name
[-Wmissing-declarations]
typedef int mwSize;
^~~~~~~~~~~~~~~~~~
/Applications/MATLAB_R2016b.app/extern/include/tmwtypes.h:792:13: error: cannot combine with previous 'int'
declaration specifier
typedef int mwIndex;
^
<command line>:2:17: note: expanded from here
#define mwIndex int
^
In file included from /Volumes/Macintosh 750HD/Downloads/SeDuMi_1_3 2/bwblkslv.c:44:
In file included from /Applications/MATLAB_R2016b.app/extern/include/mex.h:51:
In file included from /Applications/MATLAB_R2016b.app/extern/include/matrix.h:25:
/Applications/MATLAB_R2016b.app/extern/include/tmwtypes.h:792:1: warning: typedef requires a name
[-Wmissing-declarations]
typedef int mwIndex;
^~~~~~~~~~~~~~~~~~~
/Applications/MATLAB_R2016b.app/extern/include/tmwtypes.h:793:13: error: cannot combine with previous 'int'
declaration specifier
typedef int mwSignedIndex;
^
<command line>:4:23: note: expanded from here
#define mwSignedIndex int
^
In file included from /Volumes/Macintosh 750HD/Downloads/SeDuMi_1_3 2/bwblkslv.c:44:
In file included from /Applications/MATLAB_R2016b.app/extern/include/mex.h:51:
In file included from /Applications/MATLAB_R2016b.app/extern/include/matrix.h:25:
/Applications/MATLAB_R2016b.app/extern/include/tmwtypes.h:793:1: warning: typedef requires a name
[-Wmissing-declarations]
typedef int mwSignedIndex;
^~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings and 3 errors generated.
Error in install_sedumi (line 113)
eval( temp );

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by