<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<font size="4" class="">Dear Carlijn, </font>
<div class=""><font size="4" class=""><br class="">
</font>
<div class=""><font size="4" class="">Thanks for getting back at us. I understand that the information on the website can be further improved, please feel free to adjust this. That should not be too difficult.</font></div>
<div class=""><font size="4" class=""><br class="">
</font></div>
<div class=""><font size="4" class="">Best wishes,</font></div>
<div class=""><font size="4" class="">Jan-Mathijs</font></div>
<div class=""><font size="4" class=""> <br class="">
</font>
<div><br class="">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 29 May 2020, at 09:39, Boomen, C. van den (Carlijn) <<a href="mailto:C.vandenBoomen@uu.nl" class="">C.vandenBoomen@uu.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
Hi Andrew,</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
To add to the information on the website, this is what in total solved the problem. I think step 1 and possibly step two aren't necessary, but this total process did the trick for me. </div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: Times; text-indent: -18pt;" class="">
<span lang="EN-GB" class=""><span class="">1.<span style="font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";" class=""> <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-GB" class="">Download
the program Xcode from the Applestore (free of charge)</span></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: Times; text-indent: -18pt;" class="">
<span lang="EN-GB" class=""><span class="">2.<span style="font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";" class=""> <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-GB" class="">Copy
in the Matlab command window the following code: ft_compile_mex</span></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: Times; text-indent: -18pt;" class="">
<span lang="EN-GB" class=""><span class="">3.<span style="font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";" class=""> <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-GB" class="">Open
a terminal and copy the following code (where<span class="Apple-converted-space"> </span></span><span class="">LOCATION_OF_FIELDTRIP is the<span class="Apple-converted-space"> </span></span><span lang="EN-US" class="">direction to</span><span class=""><span class="Apple-converted-space"> </span>FieldTrip</span><span lang="EN-US" class="">)</span><span lang="EN-GB" class="">,
and type your computer password when a password is asked for in the terminal</span></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: Times;" class="">
<span style="font-size: 8.5pt; font-family: "Andale Mono"; color: rgb(32, 31, 30); background-color: white; background-position: initial initial; background-repeat: initial initial;" class="">sudo xattr -r -d com.apple.quarantine<span class="Apple-converted-space"> </span></span><span lang="EN-US" style="font-size: 8.5pt; font-family: "Andale Mono"; color: rgb(32, 31, 30); background-color: white; background-position: initial initial; background-repeat: initial initial;" class="">LOCATION_OF_FIELDTRIP</span> </div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: Times; text-indent: -18pt;" class="">
<span lang="EN-GB" class=""><span class="">4.<span style="font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 7pt; line-height: normal; font-family: "Times New Roman";" class=""> <span class="Apple-converted-space"> </span></span></span></span><span lang="EN-GB" class="">Copy
the following code in the terminal</span></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: Times; background-color: rgb(240, 240, 240);" class="">
<span lang="EN-US" style="font-size: 10pt; font-family: Menlo; color: rgb(33, 37, 41);" class="">sudo<span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: Menlo; color: rgb(33, 37, 41);" class="">find LOCATION_OF_FIELDTRIP<span class="Apple-converted-space"> </span></span><b class=""><span style="font-size: 10pt; font-family: Menlo; color: rgb(6, 40, 115);" class="">-name</span></b><span style="font-size: 10pt; font-family: Menlo; color: rgb(33, 37, 41);" class=""><span class="Apple-converted-space"> </span></span><span lang="EN-US" style="font-size: 10pt; font-family: Menlo; color: rgb(33, 37, 41);" class="">\*</span><span style="font-size: 10pt; font-family: Menlo; color: rgb(33, 37, 41);" class="">.mex</span><span lang="EN-US" style="font-size: 10pt; font-family: Menlo; color: rgb(33, 37, 41);" class="">\*</span><span lang="EN-US" style="font-size: 10pt; font-family: Menlo; color: rgb(33, 37, 41);" class=""><span class="Apple-converted-space"> </span></span><b class=""><span style="font-size: 10pt; font-family: Menlo; color: rgb(6, 40, 115);" class="">-exec</span></b><span style="font-size: 10pt; font-family: Menlo; color: rgb(33, 37, 41);" class=""><span class="Apple-converted-space"> </span>spctl<span class="Apple-converted-space"> </span></span><b class=""><span style="font-size: 10pt; font-family: Menlo; color: rgb(6, 40, 115);" class="">--add</span></b><span style="font-size: 10pt; font-family: Menlo; color: rgb(33, 37, 41);" class=""><span class="Apple-converted-space"> </span></span><span style="font-size: 10pt; font-family: Menlo; color: rgb(102, 102, 102);" class="">{}</span><span style="font-size: 10pt; font-family: Menlo; color: rgb(33, 37, 41);" class=""><span class="Apple-converted-space"> </span></span><b class=""><span style="font-size: 10pt; font-family: Menlo; color: rgb(64, 112, 160);" class="">\;</span></b></div>
<div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: Times;" class="">
<br class="">
</div>
Best,</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
Carlijn</div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div id="Signature" class="">
<div style="font-family: Tahoma; font-size: 13px;" class="">
<div style="font-family: Tahoma; font-size: 13px;" class="">
<div style="font-family: Tahoma; font-size: 13px;" class="">
<div style="font-family: Tahoma; font-size: 13px;" class=""><font size="1" class=""><span style="font-size: 10pt;" class="">Dr. Carlijn van den Boomen | Departments of Developmental and Experimental Psychology | Utrecht University | Langeveld Building - room
H066 | Heidelberglaan 1 | 3584 CS Utrecht | the Netherlands | phone: +31(30) 253 1266 | fax: +31(30) 253 4511</span></font></div>
</div>
</div>
</div>
</div>
</div>
<div id="appendonsend" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
</div>
<hr tabindex="-1" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline-block; width: 1093.671875px;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""></span>
<div id="divRplyFwdMsg" dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>fieldtrip <<a href="mailto:fieldtrip-bounces@science.ru.nl" class="">fieldtrip-bounces@science.ru.nl</a>> on behalf of Andrew
Janke <<a href="mailto:floss@apjanke.net" class="">floss@apjanke.net</a>><br class="">
<b class="">Sent:</b><span class="Apple-converted-space"> </span>29 May 2020 09:30<br class="">
<b class="">To:</b><span class="Apple-converted-space"> </span>FieldTrip discussion list <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>><br class="">
<b class="">Subject:</b><span class="Apple-converted-space"> </span>[FieldTrip] MEX compilation failure under R2020a on macOS 10.14</font>
<div class=""> </div>
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Hi, FieldTrip folks,<br class="">
<br class="">
I'm running FieldTrip under Matlab R2020a on macOS 10.14.6 with Xcode 11.3.1.<br class="">
<br class="">
When I try to recompile all the MEX files, I got some warnings and a compilation error.<br class="">
<br class="">
Any ideas? Maybe this MATRIX_DLL_EXPORT_SYM hack is no longer working under R2020a and recent versions? From src/mxSerialize_cpp.cpp:<span class="Apple-converted-space"> </span><br class="">
<br class="">
<div style="color: rgb(51, 51, 51); background-color: rgb(253, 246, 227); font-family: Menlo, Monaco, "Courier New", monospace; font-weight: normal; font-size: 12px; line-height: 18px; white-space: pre;" class="">
<div class=""><span style="color: rgb(147, 161, 161); font-style: italic;" class="">// MX_API_VER has unfortunately not changed between R2013b and R2014a,</span></div>
<div class=""><span style="color: rgb(147, 161, 161); font-style: italic;" class="">// so we use the new MATRIX_DLL_EXPORT_SYM as an ugly hack instead</span></div>
<div class=""><span style="color: rgb(133, 153, 0);" class="">#if</span><span style="color: rgb(181, 137, 0);" class="">
</span><span style="color: rgb(133, 153, 0);" class="">defined</span><span style="color: rgb(181, 137, 0);" class="">(</span><span style="color: rgb(38, 139, 210);" class="">__cplusplus</span><span style="color: rgb(181, 137, 0);" class="">)
</span><span style="color: rgb(133, 153, 0);" class="">&&</span><span style="color: rgb(181, 137, 0);" class="">
</span><span style="color: rgb(133, 153, 0);" class="">defined</span><span style="color: rgb(181, 137, 0);" class="">(</span><span style="color: rgb(38, 139, 210);" class="">MATRIX_DLL_EXPORT_SYM</span><span style="color: rgb(181, 137, 0);" class="">)</span></div>
<div class=""><span style="color: rgb(181, 137, 0);" class=""></span><span style="color: rgb(133, 153, 0);" class="">#define</span><span style="color: rgb(181, 137, 0);" class="">
</span><span style="color: rgb(38, 139, 210);" class="">EXTERN_C</span><span style="color: rgb(181, 137, 0);" class="">
</span><span style="color: rgb(7, 54, 66); font-weight: bold;" class="">extern</span></div>
<div class=""><span style="color: rgb(51, 51, 51);" class=""></span><span style="color: rgb(7, 54, 66); font-weight: bold;" class="">namespace</span><span style="color: rgb(51, 51, 51);" class="">
</span><span style="color: rgb(38, 139, 210);" class="">matrix</span><span style="color: rgb(51, 51, 51);" class="">{
</span><span style="color: rgb(7, 54, 66); font-weight: bold;" class="">namespace</span><span style="color: rgb(51, 51, 51);" class="">
</span><span style="color: rgb(38, 139, 210);" class="">detail</span><span style="color: rgb(51, 51, 51);" class="">{
</span><span style="color: rgb(7, 54, 66); font-weight: bold;" class="">namespace</span><span style="color: rgb(51, 51, 51);" class="">
</span><span style="color: rgb(38, 139, 210);" class="">noninlined</span><span style="color: rgb(51, 51, 51);" class="">{
</span><span style="color: rgb(7, 54, 66); font-weight: bold;" class="">namespace</span><span style="color: rgb(51, 51, 51);" class="">
</span><span style="color: rgb(38, 139, 210);" class="">mx_array_api</span><span style="color: rgb(51, 51, 51);" class="">{</span></div>
<div class=""><span style="color: rgb(133, 153, 0);" class="">#endif</span></div>
</div>
<br class="">
<br class="">
This is not urgent – I'm not actually using FieldTrip for work; just playing around with it after I saw Carlijn Boomen's compilation problems.<br class="">
<br class="">
Perhaps this is related to the new C++ and interleaved-complex MEX APIs that Matlab introduced recently?<br class="">
<br class="">
Details:<br class="">
<br class="">
>> addpath ~/local/repos/fieldtrip/<br class="">
>> cd ~/local/repos/fieldtrip/utilities<br class="">
>> !git log --oneline | head -10<br class="">
36193a97a updated test scripts, the cfg.sourcemodel should also have a label if it contains a filter. Select only MEG channels for source analysis with pre-computed leadfield.<br class="">
0e3a52de5 fixed bug in selection of optode channels that was intrpduced with the recent #1377<br class="">
6325434a6 automatically synchronized identical files to 0fe5399736d832b3206e778603e6427f7bd829fa<br class="">
0fe539973 fixed multiple regression errors due to PR #1377, mostly related to sloppy data bookkeeping<br class="">
6dac9ac18 automatically synchronized identical files to b79f65a9e7284c0f244f3c52875ba9f7479932fd<br class="">
b79f65a9e improve ft_sourceanalysis flexbility to work with pre-computed leadfields (#1377)<br class="">
b4d569823 Update feature_request.md<br class="">
49b433569 Update bug_report.md<br class="">
606c7d67e Update feature_request.md<br class="">
a48f337db Update bug_report.md<br class="">
>> ft_compile_mex(true)<br class="">
Compiling MEX file compat/matlablt2010b/@uint64/abs ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file compat/matlablt2010b/@uint64/min ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file compat/matlablt2010b/@uint64/max ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file compat/matlablt2010b/@uint64/plus ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file compat/matlablt2010b/@uint64/minus ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file compat/matlablt2010b/@uint64/times ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file compat/matlablt2010b/@uint64/rdivide ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file @config/private/deepcopy ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file @config/private/increment ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file @config/private/setzero ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file realtime/online_mri/ft_omri_smooth_volume ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file realtime/src/acquisition/siemens/src/sap2matlab ...<br class="">
Building with 'Xcode with Clang'.<br class="">
/Users/janke/local/repos/fieldtrip/realtime/src/acquisition/siemens/src/sap2matlab.c:33:10: warning: enumeration value 'SAP_ARRAY_SIZE' not handled in switch [-Wswitch]<br class="">
switch(item->type) {<br class="">
^<br class="">
/Users/janke/local/repos/fieldtrip/realtime/src/acquisition/siemens/src/sap2matlab.c:33:10: note: add missing switch cases<br class="">
switch(item->type) {<br class="">
^<br class="">
1 warning generated.<br class="">
<br class="">
/Users/janke/local/repos/fieldtrip/realtime/src/acquisition/siemens/src/siemensap.c:323:12: warning: enumeration value 'SAP_ARRAY_SIZE' not handled in switch [-Wswitch]<br class="">
switch(typ) {<br class="">
^<br class="">
/Users/janke/local/repos/fieldtrip/realtime/src/acquisition/siemens/src/siemensap.c:323:12: note: add missing switch cases<br class="">
switch(typ) {<br class="">
^<br class="">
/Users/janke/local/repos/fieldtrip/realtime/src/acquisition/siemens/src/siemensap.c:436:20: warning: enumeration value 'SAP_ARRAY_SIZE' not handled in switch [-Wswitch]<br class="">
switch(item->type) {<br class="">
^<br class="">
/Users/janke/local/repos/fieldtrip/realtime/src/acquisition/siemens/src/siemensap.c:436:20: note: add missing switch cases<br class="">
switch(item->type) {<br class="">
^<br class="">
2 warnings generated.<br class="">
<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/ft_getopt ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/read_16bit ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/read_24bit ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/lmoutr ...<br class="">
Building with 'Xcode with Clang'.<br class="">
/Users/janke/local/repos/fieldtrip/src/geometry.c:176:15: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br class="">
proj[0] = mxGetNaN();<br class="">
^<br class="">
/Users/janke/local/repos/fieldtrip/src/geometry.c:219:11: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br class="">
*la = mxGetNaN();<br class="">
^<br class="">
2 warnings generated.<br class="">
<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/ltrisect ...<br class="">
Building with 'Xcode with Clang'.<br class="">
/Users/janke/local/repos/fieldtrip/src/geometry.c:176:15: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br class="">
proj[0] = mxGetNaN();<br class="">
^<br class="">
/Users/janke/local/repos/fieldtrip/src/geometry.c:219:11: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br class="">
*la = mxGetNaN();<br class="">
^<br class="">
2 warnings generated.<br class="">
<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/plinproj ...<br class="">
Building with 'Xcode with Clang'.<br class="">
/Users/janke/local/repos/fieldtrip/src/geometry.c:176:15: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br class="">
proj[0] = mxGetNaN();<br class="">
^<br class="">
/Users/janke/local/repos/fieldtrip/src/geometry.c:219:11: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br class="">
*la = mxGetNaN();<br class="">
^<br class="">
2 warnings generated.<br class="">
<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/ptriproj ...<br class="">
Building with 'Xcode with Clang'.<br class="">
/Users/janke/local/repos/fieldtrip/src/geometry.c:176:15: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br class="">
proj[0] = mxGetNaN();<br class="">
^<br class="">
/Users/janke/local/repos/fieldtrip/src/geometry.c:219:11: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br class="">
*la = mxGetNaN();<br class="">
^<br class="">
2 warnings generated.<br class="">
<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/routlm ...<br class="">
Building with 'Xcode with Clang'.<br class="">
/Users/janke/local/repos/fieldtrip/src/geometry.c:176:15: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br class="">
proj[0] = mxGetNaN();<br class="">
^<br class="">
/Users/janke/local/repos/fieldtrip/src/geometry.c:219:11: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br class="">
*la = mxGetNaN();<br class="">
^<br class="">
2 warnings generated.<br class="">
<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/solid_angle ...<br class="">
Building with 'Xcode with Clang'.<br class="">
/Users/janke/local/repos/fieldtrip/src/geometry.c:176:15: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br class="">
proj[0] = mxGetNaN();<br class="">
^<br class="">
/Users/janke/local/repos/fieldtrip/src/geometry.c:219:11: warning: implicit declaration of function 'mxGetNaN' is invalid in C99 [-Wimplicit-function-declaration]<br class="">
*la = mxGetNaN();<br class="">
^<br class="">
2 warnings generated.<br class="">
<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/rfbevent ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/meg_leadfield1 ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/splint_gh ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/plgndr ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/ft_spike_sub_crossx ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/rename ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/getpid ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/nanmean ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/nanstd ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/nanvar ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/nansum ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/nanstd ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/det2x2 ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/inv2x2 ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/mtimes2x2 ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/sandwich2x2 ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/combineClusters ...<br class="">
Building with 'Xcode Clang++'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file external/fileexchange/CalcMD5 ...<br class="">
Building with 'Xcode with Clang'.<br class="">
MEX completed successfully.<br class="">
Compiling MEX file src/mxSerialize_cpp ...<br class="">
Building with 'Xcode Clang++'.<br class="">
Error using mex<br class="">
/Users/janke/local/repos/fieldtrip/src/mxSerialize_cpp.cpp:10:1: error: unknown type name 'EXTERN_C'<br class="">
EXTERN_C mxArray* mxSerialize(mxArray const *);<br class="">
^<br class="">
/Users/janke/local/repos/fieldtrip/src/mxSerialize_cpp.cpp:10:17: error: expected ';' after top level declarator<br class="">
EXTERN_C mxArray* mxSerialize(mxArray const *);<br class="">
^<br class="">
;<br class="">
/Users/janke/local/repos/fieldtrip/src/mxSerialize_cpp.cpp:11:1: error: unknown type name 'EXTERN_C'<br class="">
EXTERN_C mxArray* mxDeserialize(const void *, size_t);<br class="">
^<br class="">
/Users/janke/local/repos/fieldtrip/src/mxSerialize_cpp.cpp:11:17: error: expected ';' after top level declarator<br class="">
EXTERN_C mxArray* mxDeserialize(const void *, size_t);<br class="">
^<br class="">
;<br class="">
/Users/janke/local/repos/fieldtrip/src/mxSerialize_cpp.cpp:22:31: error: use of undeclared identifier 'mxSerialize'<br class="">
plhs[0] = (mxArray *) mxSerialize(prhs[0]);<br class="">
^<br class="">
5 errors generated.<br class="">
<br class="">
Error in ft_compile_mex>compile_mex_list (line 217)<br class="">
eval(cmd);<br class="">
Error in ft_compile_mex (line 114)<br class="">
compile_mex_list(L, ftpath, force);<span class="Apple-converted-space"> </span><br class="">
>> ver<br class="">
-----------------------------------------------------------------------------------------------------<br class="">
MATLAB Version: 9.8.0.1323502 (R2020a)<br class="">
MATLAB License Number: 973906<br class="">
Operating System: Mac OS X Version: 10.14.6 Build: 18G4032<span class="Apple-converted-space"> </span><br class="">
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode<br class="">
-----------------------------------------------------------------------------------------------------<br class="">
MATLAB Version 9.8 (R2020a) <span class="Apple-converted-space"> </span><br class="">
Database Toolbox Version 9.2.1 (R2020a) <span class="Apple-converted-space"> </span><br class="">
FieldTrip Version unknown <span class="Apple-converted-space"> </span><a class="x_moz-txt-link-abbreviated" href="http://www.fieldtriptoolbox.org/">www.fieldtriptoolbox.org</a><br class="">
Financial Toolbox Version 5.15 (R2020a) <span class="Apple-converted-space"> </span><br class="">
Optimization Toolbox Version 8.5 (R2020a) <span class="Apple-converted-space"> </span><br class="">
Statistics and Machine Learning Toolbox Version 11.7 (R2020a) <span class="Apple-converted-space"> </span><br class="">
>><span class="Apple-converted-space"> </span><br class="">
<br class="">
Cheers,<br class="">
Andrew<br class="">
</div>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">fieldtrip
mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><a href="https://doi.org/10.1371/journal.pcbi.1002202" class="">https://doi.org/10.1371/journal.pcbi.1002202</a></span></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>