Talk:SPM/Installation on 64bit Mac OS (Intel)

I AM CREATING MEX FILES FOR SPM8. EVERYTHING SEEMS TO GO WELL UNTIL THE COMMAND:

$ make external && make external-install

I get the following message:

Undefined symbols for architecture x86_64: "_mxErrMsgTxt", referenced from: _mexFunction in ft_getopt.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[1]: *** [fieldtrip/src/ft_getopt.mexmaci64] Error 255 make: *** [external] Error 2

ANY SUGGESTION?

THANK YOU!

compiling SPM
Hi, I am trying to install spm12 on my mac.There seems to be a problem with mexfiles.Although I use the command that was provided for macos catalina,I still get errors.I appreciate if someone can help me with that.here is the error i get: xattr: ./external/eeprobe/read_eep_trg.mexmaci64: No such xattr: com.apple.quarantine xattr: ./external/eeprobe/write_eep_cnt.mexmaci64: No such xattr: com.apple.quarantine xattr: ./external/eeprobe/write_eep_avr.mexmaci64: No such xattr: com.apple.quarantine xattr: ./external/eeprobe/read_eep_avr.mexmaci64: No such xattr: com.apple.quarantine xattr: ./external/eeprobe/read_eep_cnt.mexmaci64: No such xattr: com.apple.quarantine xattr: ./external/fieldtrip/inverse/private/solid_angle.mexmaci64: No such xattr: com.apple.quarantine