>> mex gridOptim.c -lfftw3 -L/user/xxx/home/Documents/Librairies/Installation/lib -I/user/xxx/home/Documents/Librairies/Installation/include
Warning: You are using gcc version "4.7.2". The version
currently supported with MEX is "4.4.6".
For a list of currently supported compilers see:
http://www.mathworks.com/support/com...rrent_release/
gridOptim.c:19:45: warning: missing terminating ' character [enabled by default]
gridOptim.c:23:29: warning: missing terminating ' character [enabled by default]
gridOptim.c:29:44: warning: missing terminating ' character [enabled by default]
gridOptim.c:42:251: warning: missing terminating ' character [enabled by default]
gridOptim.c:48:119: warning: missing terminating ' character [enabled by default]
gridOptim.c:1:1: error: expected identifier or ‘(’ before ‘/’ token
gridOptim.c:1:4: warning: character constant too long for its type [enabled by default]
gridOptim.c:3:1: error: stray ‘\351’ in program
gridOptim.c:5:1: error: stray ‘@’ in program
gridOptim.c:8:36: error: invalid suffix "D" on integer constant
gridOptim.c:19:44: warning: missing terminating ' character [enabled by default]
gridOptim.c:19:1: error: missing terminating ' character
gridOptim.c:23:29: warning: missing terminating ' character [enabled by default]
gridOptim.c:23:1: error: missing terminating ' character
gridOptim.c:29:44: warning: missing terminating ' character [enabled by default]
gridOptim.c:29:1: error: missing terminating ' character
gridOptim.c:38:177: error: too many decimal points in number
gridOptim.c:41:22: warning: character constant too long for its type [enabled by default]
gridOptim.c:42:251: warning: missing terminating ' character [enabled by default]
gridOptim.c:42:1: error: missing terminating ' character
gridOptim.c:44:22: warning: character constant too long for its type [enabled by default]
gridOptim.c:45:208: error: invalid digit "8" in octal constant
gridOptim.c:47:22: warning: character constant too long for its type [enabled by default]
gridOptim.c:48:119: warning: missing terminating ' character [enabled by default]
gridOptim.c:48:1: error: missing terminating ' character
gridOptim.c:51:70: error: too many decimal points in number
gridOptim.c:57:35: error: unknown type name ‘you’
gridOptim.c:57:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘redistribute’
gridOptim.c:57:43: error: unknown type name ‘redistribute’
gridOptim.c:59:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before numeric constant
gridOptim.c:61:30: error: unknown type name ‘without’
gridOptim.c:61:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘the’
gridOptim.c:61:43: error: unknown type name ‘the’
gridOptim.c:65:37: error: expected identifier or ‘(’ before ‘if’
In file included from /usr/include/stdio.h:75:0,
from /user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:50,
from gridOptim.c:74:
/usr/include/libio.h:334:3: error: unknown type name ‘size_t’
/usr/include/libio.h:338:67: error: ‘size_t’ undeclared here (not in a function)
In file included from /usr/include/stdio.h:75:0,
from /user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:50,
from gridOptim.c:74:
/usr/include/libio.h:366:62: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/libio.h:375:6: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/libio.h:391:1: error: unknown type name ‘__io_read_fn’
/usr/include/libio.h:392:1: error: unknown type name ‘__io_write_fn’
/usr/include/libio.h:399:3: error: unknown type name ‘__io_read_fn’
/usr/include/libio.h:400:3: error: unknown type name ‘__io_write_fn’
In file included from /usr/include/stdio.h:75:0,
from /user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:50,
from gridOptim.c:74:
/usr/include/libio.h:497:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’
In file included from /user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:50:0,
from gridOptim.c:74:
/usr/include/stdio.h:322:35: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:328:47: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:340:20: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:347:10: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:389:44: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:393:45: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:50:0,
from gridOptim.c:74:
/usr/include/stdio.h:665:11: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:668:9: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:678:8: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:708:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’
/usr/include/stdio.h:714:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’
In file included from /user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:50:0,
from gridOptim.c:74:
/usr/include/stdio.h:736:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’
/usr/include/stdio.h:738:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite_unlocked’
In file included from /usr/include/stdio.h:933:0,
from /user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:50,
from gridOptim.c:74:
/usr/include/bits/stdio.h:116:28: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from gridOptim.c:74:0:
/user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:355:7347: error: expected declaration specifiers or ‘...’ before ‘size_t’
/user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:355:7389: error: expected declaration specifiers or ‘...’ before ‘size_t’
/user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:355:7440: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from gridOptim.c:74:0:
/user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:356:7472: error: expected declaration specifiers or ‘...’ before ‘size_t’
/user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:356:7514: error: expected declaration specifiers or ‘...’ before ‘size_t’
/user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:356:7567: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from gridOptim.c:74:0:
/user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:357:7850: error: expected declaration specifiers or ‘...’ before ‘size_t’
/user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:357:7898: error: expected declaration specifiers or ‘...’ before ‘size_t’
/user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:357:7951: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from gridOptim.c:74:0:
/user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:373:7787: error: expected declaration specifiers or ‘...’ before ‘size_t’
/user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:373:7834: error: expected declaration specifiers or ‘...’ before ‘size_t’
/user/mrohe/home/Documents/Librairies/Installation/include/fftw3.h:373:7887: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from gridOptim.c:76:0:
/usr/include/stdlib.h:140:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__ctype_get_mb_cur_max’
In file included from gridOptim.c:76:0:
/usr/include/stdlib.h:337:4: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:367:4: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from gridOptim.c:76:0:
/usr/include/stdlib.h:471:22: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:473:22: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:473:38: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:485:36: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/stdlib.h:497:0,
from gridOptim.c:76:
/usr/include/alloca.h:33:22: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from gridOptim.c:76:0:
/usr/include/stdlib.h:503:22: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:508:45: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:508:65: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from gridOptim.c:76:0:
/usr/include/stdlib.h:756:9: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:756:25: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:761:34: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:761:50: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:764:36: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:764:52: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from gridOptim.c:76:0:
/usr/include/stdlib.h:840:6: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:843:6: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:847:31: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:851:31: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:860:38: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:864:36: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:871:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mbstowcs’
/usr/include/stdlib.h:874:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wcstombs’
In file included from gridOptim.c:76:0:
/usr/include/stdlib.h:937:46: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from gridOptim.c:78:0:
/usr/include/time.h:199:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strftime’
/usr/include/time.h:217:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strftime_l’
In file included from /usr/local/matlab2012b/extern/include/mex.h:58:0,
from gridOptim.c:79:
/usr/local/matlab2012b/extern/include/matrix.h:375:5: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/local/matlab2012b/extern/include/matrix.h:383:5: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/local/matlab2012b/extern/include/matrix.h:384:5: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/local/matlab2012b/extern/include/matrix.h:397:35: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/local/matlab2012b/extern/include/matrix.h:590:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxGetNumberOfElements’
In file included from /usr/local/matlab2012b/extern/include/mex.h:58:0,
from gridOptim.c:79:
/usr/local/matlab2012b/extern/include/matrix.h:688:15: error: expected ‘=’, ‘,’, ���;’, ‘asm’ or ‘__attribute__’ before ‘mxGetM’
/usr/local/matlab2012b/extern/include/matrix.h:700:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxGetN’
/usr/local/matlab2012b/extern/include/matrix.h:750:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mxGetElementSize’
In file included from /usr/local/matlab2012b/extern/include/mex.h:58:0,
from gridOptim.c:79:
/usr/local/matlab2012b/extern/include/matrix.h:1072:38: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/local/matlab2012b/extern/include/matrix.h:1072:48: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from gridOptim.c:79:0:
/usr/local/matlab2012b/extern/include/mex.h:91:3: error: expected specifier-qualifier-list before ‘size_t’
gridOptim.c: In function ‘mexFunction’:
gridOptim.c:191:10: warning: assignment makes pointer from integer without a cast [enabled by default]
gridOptim.c:194:10: warning: assignment makes pointer from integer without a cast [enabled by default]
gridOptim.c:204:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
gridOptim.c:205:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
mex: compile of ' "gridOptim.c"' failed.
Error using mex (line 206)
Unable to complete successfully.