Dear Tobias, I have updated Xcode but unfortunately this did not solve the problem. I still receive the same error message. Any other suggestions? My colleague also uses MacBook and she doesn't have the problem with SPM. Best, Hamzah On Thu, Oct 10, 2019 at 1:38 PM Heed, Tobias <[log in to unmask]> wrote: > Dear Hamzah, > > did you install the XCode update? I believe this update is separate from > the MacOS update. if files are compiled during installation, this might > solve the problem. > > Tobias > > — > [log in to unmask] > http://www.uni-bielefeld.de/psychologie/abteilung/arbeitseinheiten/14/ > > Prof. Dr. Tobias Heed > Biopsychology & Cognitive Neuroscience (AE14) / Reach & Touch Lab > Faculty of Psychology & Sports Science | Bielefeld University > Postfach 10 01 31 | D-33501 Bielefeld, Germany > Phone: (49) 521 - 106 67 530 | Fax: (49) 521 - 106 15 67 530 > Office: UHG T3-256 > Twitter: @HeedLab <http://www.twitter.com/heedlab> > > On 10. Oct 2019, at 13:29, Hamzah Baagil <[log in to unmask]> wrote: > > I have restarted MATLAB, but received the same error message. This is what > I got for > spm_bsplinc(1,ones(1,6)) > > Invalid MEX-file > '/Users/hamzahbaagil/Documents/MATLAB/spm12/spm_bsplinc.mexmaci64': > dlopen(/Users/hamzahbaagil/Documents/MATLAB/spm12/spm_bsplinc.mexmaci64, > 6): no suitable image found. Did find: > /Users/hamzahbaagil/Documents/MATLAB/spm12/spm_bsplinc.mexmaci64: code > signature in > (/Users/hamzahbaagil/Documents/MATLAB/spm12/spm_bsplinc.mexmaci64) > not valid for use in process using Library > Validation: library load disallowed by system policy > > Best, > Hamzah > > On Thu, Oct 10, 2019 at 1:17 PM Flandin, Guillaume <[log in to unmask]> > wrote: > >> Dear Hamzah, >> >> macOS Catalina was released 2 days ago so I don't have any feedbacks >> about it yet. Apart from a few harmless warnings, it seems that the >> compilation went fine so the fact that SPM is not working afterwards is a >> bit surprising. Have you restarted MATLAB after compilation? What error >> message do you get when running the following? >> >> spm_bsplinc(1,ones(1,6)) >> >> Best regards, >> Guillaume. >> >> ------------------------------ >> *From:* SPM (Statistical Parametric Mapping) <[log in to unmask]> on >> behalf of Hamzah Baagil <[log in to unmask]> >> *Sent:* 10 October 2019 11:18 >> *To:* [log in to unmask] <[log in to unmask]> >> *Subject:* [SPM] SPM installation macOS Catalina >> >> Dear all, >> >> >> I would appreciate any help, since I have a problem using SPM12 on my >> Imac MacOS Catalina. >> I keep getting this error message: >> >> >> Error using spm_check_installation>check_basic (line 152) >> SPM uses a number of MEX files, which are compiled functions. >> These need to be compiled for the various platforms on which SPM >> is run. It seems that the compiled files for your computer platform >> are missing or not compatible. See >> https://www.wikibooks.org/wiki/SPM#Installation >> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.wikibooks.org%2Fwiki%2FSPM%23Installation&data=02%7C01%7C%7C728d58d2b63244f62cb508d74d6b50a8%7C1faf88fea9984c5b93c9210a11d9a5c2%7C0%7C1%7C637062995630882636&sdata=IpwcD7OHByqJrW6m3RquDPu%2BQq%2FL6mTob1I9tWB1hv4%3D&reserved=0> >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/Makefile >> for information about how to compile MEX files for MACI64 >> in MATLAB 9.7.0.1190202 (R2019b). >> >> >> Error in spm_check_installation (line 28) >> check_basic; >> >> >> Error in spm (line 290) >> spm_check_installation('basic'); >> >> >> I have followed the compilation process from the wiki, however I still >> receive the same error message. This is what I got from the terminal: >> >> >> 074-018:src hamzahbaagil$ make distclean >> _____________________________________________________________ >> >> >> Deleting object (.o) files >> _____________________________________________________________ >> >> >> rm -f utils_uchar.mexmaci64.o utils_short.mexmaci64.o >> utils_int.mexmaci64.o utils_schar.mexmaci64.o utils_ushort.mexmaci64.o >> utils_uint.mexmaci64.o utils_float.mexmaci64.o utils_double.mexmaci64.o >> utils_short_s.mexmaci64.o utils_int_s.mexmaci64.o >> utils_ushort_s.mexmaci64.o utils_uint_s.mexmaci64.o >> utils_float_s.mexmaci64.o utils_double_s.mexmaci64.o >> spm_make_lookup.mexmaci64.o spm_getdata.mexmaci64.o >> spm_vol_access.mexmaci64.o spm_mapping.mexmaci64.o >> _____________________________________________________________ >> >> >> Deleting MEX (.mexmaci64) and archive (.a) files >> _____________________________________________________________ >> >> >> rm -f spm_sample_vol.mexmaci64 spm_slice_vol.mexmaci64 >> spm_brainwarp.mexmaci64 spm_add.mexmaci64 spm_conv_vol.mexmaci64 >> spm_render_vol.mexmaci64 spm_global.mexmaci64 spm_resels_vol.mexmaci64 >> spm_bsplinc.mexmaci64 spm_bsplins.mexmaci64 spm_unlink.mexmaci64 >> spm_existfile.mexmaci64 spm_gamrnd.mexmaci64 spm_hist.mexmaci64 >> spm_krutil.mexmaci64 spm_project.mexmaci64 spm_hist2.mexmaci64 >> spm_dilate_erode.mexmaci64 spm_bwlabel.mexmaci64 spm_get_lm.mexmaci64 >> spm_voronoi.mexmaci64 spm_mesh_utils.mexmaci64 spm_mrf.mexmaci64 >> spm_diffeo.mexmaci64 spm_field.mexmaci64 spm_cat.mexmaci64 >> spm_jsonread.mexmaci64 spm_mesh_reduce.mexmaci64 spm_vol_utils.mexmaci64.a >> rm -f file2mat.mexmaci64 mat2file.mexmaci64 init.mexmaci64 >> rm -f zstream.mexmaci64 >> rm -f xml_findstr.mexmaci64 >> rm -f pm_invert_phasemap_dtj.mexmaci64 pm_merge_regions.mexmaci64 >> pm_create_connectogram_dtj.mexmaci64 pm_pad.mexmaci64 >> pm_estimate_ramp.mexmaci64 pm_restore_ramp.mexmaci64 pm_ff_unwrap.mexmaci64 >> >> _____________________________________________________________ >> >> >> Distclean: done >> _____________________________________________________________ >> >> >> 074-018:src hamzahbaagil$ make && make install >> _____________________________________________________________ >> >> >> MacOS compilation (Intel 64 bit) >> _____________________________________________________________ >> >> >> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_UNSIGNED_CHAR >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_utils.o utils_uchar.mexmaci64.o >> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_SIGNED_SHORT >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_utils.o utils_short.mexmaci64.o >> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_SIGNED_INT >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_utils.o utils_int.mexmaci64.o >> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_SIGNED_CHAR >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_utils.o utils_schar.mexmaci64.o >> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_UNSIGNED_SHORT >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_utils.o utils_ushort.mexmaci64.o >> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_UNSIGNED_INT >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_utils.o utils_uint.mexmaci64.o >> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_FLOAT >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_utils.o utils_float.mexmaci64.o >> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_DOUBLE >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_utils.o utils_double.mexmaci64.o >> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_SIGNED_SHORT >> -DSPM_BYTESWAP >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_utils.o utils_short_s.mexmaci64.o >> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_SIGNED_INT -DSPM_BYTESWAP >> >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_utils.o utils_int_s.mexmaci64.o >> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_UNSIGNED_SHORT >> -DSPM_BYTESWAP >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_utils.o utils_ushort_s.mexmaci64.o >> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_UNSIGNED_INT >> -DSPM_BYTESWAP >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_utils.o utils_uint_s.mexmaci64.o >> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_FLOAT -DSPM_BYTESWAP >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_utils.o utils_float_s.mexmaci64.o >> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_DOUBLE -DSPM_BYTESWAP >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_utils.o utils_double_s.mexmaci64.o >> mex -O -largeArrayDims -c spm_make_lookup.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_make_lookup.o spm_make_lookup.mexmaci64.o >> mex -O -largeArrayDims -c spm_getdata.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_getdata.o spm_getdata.mexmaci64.o >> mex -O -largeArrayDims -c spm_vol_access.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f spm_vol_access.o spm_vol_access.mexmaci64.o >> mex -O -largeArrayDims -c spm_mapping.c >> Building with 'Xcode with Clang'. >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:139:30: >> warning: '&&' within '||' [-Wlogical-op-parentheses] >> if (!((pr[0] == 2) && (dtype == SPM_UNSIGNED_CHAR) || >> ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:139:30: >> note: place parentheses around the '&&' expression to silence this warning >> if (!((pr[0] == 2) && (dtype == SPM_UNSIGNED_CHAR) || >> ^ >> ( ) >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:140:30: >> warning: '&&' within '||' [-Wlogical-op-parentheses] >> (pr[0] == 256) && (dtype == SPM_SIGNED_CHAR) || >> ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:140:30: >> note: place parentheses around the '&&' expression to silence this warning >> (pr[0] == 256) && (dtype == SPM_SIGNED_CHAR) || >> ^ >> ( ) >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:141:30: >> warning: '&&' within '||' [-Wlogical-op-parentheses] >> (pr[0] == 4) && (dtype == SPM_SIGNED_SHORT) || >> ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:141:30: >> note: place parentheses around the '&&' expression to silence this warning >> (pr[0] == 4) && (dtype == SPM_SIGNED_SHORT) || >> ^ >> ( ) >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:142:30: >> warning: '&&' within '||' [-Wlogical-op-parentheses] >> (pr[0] == 512) && (dtype == SPM_UNSIGNED_SHORT) || >> ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:142:30: >> note: place parentheses around the '&&' expression to silence this warning >> (pr[0] == 512) && (dtype == SPM_UNSIGNED_SHORT) || >> ^ >> ( ) >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:143:30: >> warning: '&&' within '||' [-Wlogical-op-parentheses] >> (pr[0] == 8) && (dtype == SPM_SIGNED_INT) || >> ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:143:30: >> note: place parentheses around the '&&' expression to silence this warning >> (pr[0] == 8) && (dtype == SPM_SIGNED_INT) || >> ^ >> ( ) >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:144:30: >> warning: '&&' within '||' [-Wlogical-op-parentheses] >> (pr[0] == 768) && (dtype == SPM_UNSIGNED_INT) || >> ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:144:30: >> note: place parentheses around the '&&' expression to silence this warning >> (pr[0] == 768) && (dtype == SPM_UNSIGNED_INT) || >> ^ >> ( ) >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:145:30: >> warning: '&&' within '||' [-Wlogical-op-parentheses] >> (pr[0] == 16) && (dtype == SPM_FLOAT) || >> ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:145:30: >> note: place parentheses around the '&&' expression to silence this warning >> (pr[0] == 16) && (dtype == SPM_FLOAT) || >> ^ >> ( ) >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:146:30: >> warning: '&&' within '||' [-Wlogical-op-parentheses] >> (pr[0] == 64) && (dtype == SPM_DOUBLE))) >> ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/src/spm_mapping.c:146:30: >> note: place parentheses around the '&&' expression to silence this warning >> (pr[0] == 64) && (dtype == SPM_DOUBLE))) >> ^ >> ( ) >> 8 warnings generated. >> >> >> MEX completed successfully. >> mv -f spm_mapping.o spm_mapping.mexmaci64.o >> rm -f spm_vol_utils.mexmaci64.a >> ar rcs spm_vol_utils.mexmaci64.a utils_uchar.mexmaci64.o >> utils_short.mexmaci64.o utils_int.mexmaci64.o utils_schar.mexmaci64.o >> utils_ushort.mexmaci64.o utils_uint.mexmaci64.o utils_float.mexmaci64.o >> utils_double.mexmaci64.o utils_short_s.mexmaci64.o utils_int_s.mexmaci64.o >> utils_ushort_s.mexmaci64.o utils_uint_s.mexmaci64.o >> utils_float_s.mexmaci64.o utils_double_s.mexmaci64.o >> spm_make_lookup.mexmaci64.o spm_getdata.mexmaci64.o >> spm_vol_access.mexmaci64.o spm_mapping.mexmaci64.o >> mex -O -largeArrayDims spm_sample_vol.c spm_vol_utils.mexmaci64.a >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_slice_vol.c spm_vol_utils.mexmaci64.a >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_brainwarp.c spm_vol_utils.mexmaci64.a >> spm_matfuns.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_add.c spm_vol_utils.mexmaci64.a >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_conv_vol.c spm_vol_utils.mexmaci64.a >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_render_vol.c spm_vol_utils.mexmaci64.a >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_global.c spm_vol_utils.mexmaci64.a >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_resels_vol.c spm_vol_utils.mexmaci64.a >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_bsplinc.c bsplines.c spm_vol_utils.mexmaci64.a >> >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_bsplins.c bsplines.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_unlink.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_existfile.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_gamrnd.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_hist.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_krutil.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_project.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_hist2.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_dilate_erode.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_bwlabel.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_get_lm.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_voronoi.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_mesh_utils.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_mrf.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_diffeo.c shoot_diffeo3d.c shoot_optim3d.c >> shoot_multiscale.c shoot_regularisers.c shoot_expm3.c shoot_invdef.c >> shoot_dartel.c shoot_boundary.c shoot_bsplines.c bsplines.c -DIMAGE_SINGLE >> >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_field.c shoot_optimN.c shoot_multiscale.c >> shoot_boundary.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_cat.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_jsonread.c jsmn.c -DJSMN_PARENT_LINKS >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims spm_mesh_reduce.cpp >> Building with 'Xcode Clang++'. >> MEX completed successfully. >> mex -O -largeArrayDims file2mat.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims mat2file.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims init.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims CFLAGS='$CFLAGS -std=c99' zstream.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims xml_findstr.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims pm_invert_phasemap_dtj.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims pm_merge_regions.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims pm_create_connectogram_dtj.c >> Building with 'Xcode with Clang'. >> /Users/hamzahbaagil/Documents/MATLAB/spm12/toolbox/FieldMap/pm_create_connectogram_dtj.c:44:24: >> warning: using the result of an assignment as a condition without >> parentheses [-Wparentheses] >> if (cr = rima[cri = index(r,c,sl,dim)]) >> ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/toolbox/FieldMap/pm_create_connectogram_dtj.c:44:24: >> note: place parentheses around the assignment to silence this warning >> if (cr = rima[cri = index(r,c,sl,dim)]) >> ^ >> ( ) >> /Users/hamzahbaagil/Documents/MATLAB/spm12/toolbox/FieldMap/pm_create_connectogram_dtj.c:44:24: >> note: use '==' to turn this assignment into an equality comparison >> if (cr = rima[cri = index(r,c,sl,dim)]) >> ^ >> == >> 1 warning generated. >> >> >> MEX completed successfully. >> mex -O -largeArrayDims pm_pad.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims pm_estimate_ramp.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims pm_restore_ramp.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims pm_ff_unwrap.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> _____________________________________________________________ >> >> >> Compilation: done >> _____________________________________________________________ >> >> >> _____________________________________________________________ >> >> >> Installing MEX files >> _____________________________________________________________ >> >> >> cp -f spm_sample_vol.mexmaci64 spm_slice_vol.mexmaci64 >> spm_brainwarp.mexmaci64 spm_add.mexmaci64 spm_conv_vol.mexmaci64 >> spm_render_vol.mexmaci64 spm_global.mexmaci64 spm_resels_vol.mexmaci64 >> spm_bsplinc.mexmaci64 spm_bsplins.mexmaci64 spm_unlink.mexmaci64 >> spm_existfile.mexmaci64 spm_gamrnd.mexmaci64 spm_hist.mexmaci64 >> spm_krutil.mexmaci64 spm_project.mexmaci64 spm_hist2.mexmaci64 >> spm_dilate_erode.mexmaci64 spm_bwlabel.mexmaci64 spm_get_lm.mexmaci64 >> spm_voronoi.mexmaci64 spm_mesh_utils.mexmaci64 spm_mrf.mexmaci64 >> spm_diffeo.mexmaci64 spm_field.mexmaci64 spm_cat.mexmaci64 >> spm_jsonread.mexmaci64 spm_mesh_reduce.mexmaci64 .. >> mv -f ../spm_brainwarp.mexmaci64 ../toolbox/OldNorm >> _____________________________________________________________ >> >> >> Installation: done >> _____________________________________________________________ >> >> >> 074-018:src hamzahbaagil$ make external-distclean >> _____________________________________________________________ >> >> >> In external >> _____________________________________________________________ >> >> >> _____________________________________________________________ >> >> >> fieldtrip >> _____________________________________________________________ >> >> >> make[2]: Nothing to be done for `clean'. >> _____________________________________________________________ >> >> >> bemcp >> _____________________________________________________________ >> >> >> make[2]: Nothing to be done for `clean'. >> _____________________________________________________________ >> >> >> fieldtrip >> _____________________________________________________________ >> >> >> rm -f fieldtrip/src/read_24bit.mexmaci64 >> fieldtrip/src/read_16bit.mexmaci64 fieldtrip/src/ft_getopt.mexmaci64 >> fieldtrip/src/nanmean.mexmaci64 fieldtrip/src/nanstd.mexmaci64 >> fieldtrip/src/nansum.mexmaci64 fieldtrip/src/nanvar.mexmaci64 >> fieldtrip/src/meg_leadfield1.mexmaci64 fieldtrip/src/ptriproj.mexmaci64 >> fieldtrip/src/lmoutr.mexmaci64 fieldtrip/src/plgndr.mexmaci64 >> fieldtrip/src/solid_angle.mexmaci64 fieldtrip/src/routlm.mexmaci64 >> fieldtrip/src/ltrisect.mexmaci64 fieldtrip/src/plinproj.mexmaci64 >> fieldtrip/src/splint_gh.mexmaci64 >> _____________________________________________________________ >> >> >> bemcp >> _____________________________________________________________ >> >> >> rm -f bem_Cii_cog.mexmaci64 bem_Cii_cst.mexmaci64 bem_Cii_lin.mexmaci64 >> bem_Cij_cog.mexmaci64 bem_Cij_cst.mexmaci64 bem_Cij_lin.mexmaci64 >> bem_Gi_cog.mexmaci64 bem_Gi_vert.mexmaci64 >> 074-018:src hamzahbaagil$ make external &&b make external-install >> _____________________________________________________________ >> >> >> In external >> _____________________________________________________________ >> >> >> _____________________________________________________________ >> >> >> fieldtrip >> _____________________________________________________________ >> >> >> mex -O -largeArrayDims fieldtrip/src/read_24bit.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f read_24bit.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/read_16bit.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f read_16bit.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/ft_getopt.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f ft_getopt.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/nanmean.c >> Building with 'Xcode with Clang'. >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/nanmean.c:249:41: >> warning: passing 'const mxArray **' (aka 'const struct mxArray_tag **') to >> parameter of type 'mxArray **' (aka 'struct mxArray_tag **') discards >> qualifiers in nested pointer types >> [-Wincompatible-pointer-types-discards-qualifiers] >> mexCallMATLAB(nlhs, plhs, nrhs, prhs, "mean"); >> ^~~~ >> /Applications/MATLAB_R2019b.app/extern/include/mex.h:226:14: note: >> passing argument to parameter 'prhs' here >> mxArray *prhs[], /* pointer array to inputs */ >> ^ >> 1 warning generated. >> >> >> MEX completed successfully. >> mv -f nanmean.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/nanstd.c >> Building with 'Xcode with Clang'. >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/nanstd.c:338:41: >> warning: passing 'const mxArray **' (aka 'const struct mxArray_tag **') to >> parameter of type 'mxArray **' (aka 'struct mxArray_tag **') discards >> qualifiers in nested pointer types >> [-Wincompatible-pointer-types-discards-qualifiers] >> mexCallMATLAB(nlhs, plhs, nrhs, prhs, "std"); >> ^~~~ >> /Applications/MATLAB_R2019b.app/extern/include/mex.h:226:14: note: >> passing argument to parameter 'prhs' here >> mxArray *prhs[], /* pointer array to inputs */ >> ^ >> 1 warning generated. >> >> >> MEX completed successfully. >> mv -f nanstd.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/nansum.c >> Building with 'Xcode with Clang'. >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/nansum.c:223:41: >> warning: passing 'const mxArray **' (aka 'const struct mxArray_tag **') to >> parameter of type 'mxArray **' (aka 'struct mxArray_tag **') discards >> qualifiers in nested pointer types >> [-Wincompatible-pointer-types-discards-qualifiers] >> mexCallMATLAB(nlhs, plhs, nrhs, prhs, "sum"); >> ^~~~ >> /Applications/MATLAB_R2019b.app/extern/include/mex.h:226:14: note: >> passing argument to parameter 'prhs' here >> mxArray *prhs[], /* pointer array to inputs */ >> ^ >> 1 warning generated. >> >> >> MEX completed successfully. >> mv -f nansum.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/nanvar.c >> Building with 'Xcode with Clang'. >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/nanvar.c:338:41: >> warning: passing 'const mxArray **' (aka 'const struct mxArray_tag **') to >> parameter of type 'mxArray **' (aka 'struct mxArray_tag **') discards >> qualifiers in nested pointer types >> [-Wincompatible-pointer-types-discards-qualifiers] >> mexCallMATLAB(nlhs, plhs, nrhs, prhs, "var"); >> ^~~~ >> /Applications/MATLAB_R2019b.app/extern/include/mex.h:226:14: note: >> passing argument to parameter 'prhs' here >> mxArray *prhs[], /* pointer array to inputs */ >> ^ >> 1 warning generated. >> >> >> MEX completed successfully. >> mv -f nanvar.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/meg_leadfield1.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f meg_leadfield1.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/ptriproj.c fieldtrip/src/geometry.c >> Building with 'Xcode with Clang'. >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/geometry.c:176:15: >> warning: implicit declaration of function 'mxGetNaN' is invalid in C99 >> [-Wimplicit-function-declaration] >> proj[0] = mxGetNaN(); >> ^ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/geometry.c:219:11: >> warning: implicit declaration of function 'mxGetNaN' is invalid in C99 >> [-Wimplicit-function-declaration] >> *la = mxGetNaN(); >> ^ >> 2 warnings generated. >> >> >> MEX completed successfully. >> mv -f ptriproj.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/lmoutr.c fieldtrip/src/geometry.c >> Building with 'Xcode with Clang'. >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/geometry.c:176:15: >> warning: implicit declaration of function 'mxGetNaN' is invalid in C99 >> [-Wimplicit-function-declaration] >> proj[0] = mxGetNaN(); >> ^ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/geometry.c:219:11: >> warning: implicit declaration of function 'mxGetNaN' is invalid in C99 >> [-Wimplicit-function-declaration] >> *la = mxGetNaN(); >> ^ >> 2 warnings generated. >> >> >> MEX completed successfully. >> mv -f lmoutr.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/plgndr.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f plgndr.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/solid_angle.c >> fieldtrip/src/geometry.c >> Building with 'Xcode with Clang'. >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/geometry.c:176:15: >> warning: implicit declaration of function 'mxGetNaN' is invalid in C99 >> [-Wimplicit-function-declaration] >> proj[0] = mxGetNaN(); >> ^ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/geometry.c:219:11: >> warning: implicit declaration of function 'mxGetNaN' is invalid in C99 >> [-Wimplicit-function-declaration] >> *la = mxGetNaN(); >> ^ >> 2 warnings generated. >> >> >> MEX completed successfully. >> mv -f solid_angle.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/routlm.c fieldtrip/src/geometry.c >> Building with 'Xcode with Clang'. >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/geometry.c:176:15: >> warning: implicit declaration of function 'mxGetNaN' is invalid in C99 >> [-Wimplicit-function-declaration] >> proj[0] = mxGetNaN(); >> ^ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/geometry.c:219:11: >> warning: implicit declaration of function 'mxGetNaN' is invalid in C99 >> [-Wimplicit-function-declaration] >> *la = mxGetNaN(); >> ^ >> 2 warnings generated. >> >> >> MEX completed successfully. >> mv -f routlm.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/ltrisect.c fieldtrip/src/geometry.c >> Building with 'Xcode with Clang'. >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/geometry.c:176:15: >> warning: implicit declaration of function 'mxGetNaN' is invalid in C99 >> [-Wimplicit-function-declaration] >> proj[0] = mxGetNaN(); >> ^ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/geometry.c:219:11: >> warning: implicit declaration of function 'mxGetNaN' is invalid in C99 >> [-Wimplicit-function-declaration] >> *la = mxGetNaN(); >> ^ >> 2 warnings generated. >> >> >> MEX completed successfully. >> mv -f ltrisect.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/plinproj.c fieldtrip/src/geometry.c >> Building with 'Xcode with Clang'. >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/geometry.c:176:15: >> warning: implicit declaration of function 'mxGetNaN' is invalid in C99 >> [-Wimplicit-function-declaration] >> proj[0] = mxGetNaN(); >> ^ >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/fieldtrip/src/geometry.c:219:11: >> warning: implicit declaration of function 'mxGetNaN' is invalid in C99 >> [-Wimplicit-function-declaration] >> *la = mxGetNaN(); >> ^ >> 2 warnings generated. >> >> >> MEX completed successfully. >> mv -f plinproj.mexmaci64 fieldtrip/src/ >> mex -O -largeArrayDims fieldtrip/src/splint_gh.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mv -f splint_gh.mexmaci64 fieldtrip/src/ >> _____________________________________________________________ >> >> >> bemcp >> _____________________________________________________________ >> >> >> mex -O -largeArrayDims bem_Cii_cog.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims bem_Cii_cst.c >> Building with 'Xcode with Clang'. >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/bemcp/bem_Cii_cst.c:89:5: >> warning: '/*' within block comment [-Wcomment] >> /* Distribution of the SA on the 3 vert >> */ >> ^ >> 1 warning generated. >> >> >> MEX completed successfully. >> mex -O -largeArrayDims bem_Cii_lin.c >> Building with 'Xcode with Clang'. >> /Users/hamzahbaagil/Documents/MATLAB/spm12/external/bemcp/bem_Cii_lin.c:170:5: >> warning: '/*' within block comment [-Wcomment] >> /* Distribution of the SA on the 3 vert >> */ >> ^ >> 1 warning generated. >> >> >> MEX completed successfully. >> mex -O -largeArrayDims bem_Cij_cog.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims bem_Cij_cst.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims bem_Cij_lin.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims bem_Gi_cog.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> mex -O -largeArrayDims bem_Gi_vert.c >> Building with 'Xcode with Clang'. >> MEX completed successfully. >> -bash: b: command not found >> >> >> Thank you for your help and best regards, >> Hamzah Baagil >> >> >> >> >> >> >> >> >> > >