HI,
I'm trying to generate the mexglx file using the instructions given by Michel.
It does not seem to work on my installation of Linux.
First I had problems with the mxSize type. Then I changed it to int (just to bypass the problem. I had to do this both in SylvParams.cpp and in gensylv.cpp.
I got the following (after apparently compiling some stuff
mex -I../cc -DMATLAB gensylv.cpp ../cc/sylvester.a
gensylv.cpp:100:3: warning: no newline at end of file
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status
mex: link of 'gensylv.mexglx' failed.
make: *** [gensylv.mexglx] Error 1
Could it be possible to have Michel's mexopts.sh file??
Cheers
Gianni