Dear Daniel
There should be no need to compile, but U would suggest that you use the latest release of SPM now that you are using the latest release of Matlab. The current release is 7487. Try to make a clean install i.e. remove all spm entries from your path using pathtool add the new SPM folder, without subfolders.
Best
Torben
> Den 24. jan. 2019 kl. 18.21 skrev Daniel Callow <[log in to unmask]>:
>
> Do you have any suggestions for uninstalling and reinstalling? I deleted the SPM12 folder. Then I installed it and placed it in the applications folder on my macOS Sierra. Then I use the set path button to set the folder. I did this once already without success.
>
> I have Matlab 2018 but wasn't able to install spm12_r6906_mexmaci64.zip as the link wasn't functioning.
> I also don't think I was able to compile correctly with these inputs
> make distclean
> make && make install
> make external-distclean
> make external && make external-install
>
> hlhp-105:src administrator$ 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
>
> _____________________________________________________________
>
>
>
> hlhp-105:src administrator$ make && make install
>
> _____________________________________________________________
>
>
>
> MacOS compilation (Intel 64 bit)
>
> _____________________________________________________________
>
>
>
> mex -O -largeArrayDims -c spm_vol_utils.c -DSPM_UNSIGNED_CHAR
>
> make: mex: No such file or directory
>
> make: *** [utils_uchar.mexmaci64.o] Error 1
>
> hlhp-105:src administrator$ 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
>
> hlhp-105:src administrator$ make external && make external-instal
>
> _____________________________________________________________
>
>
>
> In external
>
> _____________________________________________________________
>
>
>
> _____________________________________________________________
>
>
>
> fieldtrip
>
> _____________________________________________________________
>
>
>
> mex -O -largeArrayDims fieldtrip/src/read_24bit.c
>
> make[2]: mex: No such file or directory
>
> make[2]: *** [fieldtrip/src/read_24bit.mexmaci64] Error 1
>
> make[1]: *** [fieldtrip-all] Error 2
>
> make: *** [external] Error 2
|