External Email - Use Caution        

Hello Phillip,

If you run the following command on that file - which is from the 6.0.0 freesurfer release,

$ file /Applications/freesurfer/tktools/tkregister2.bin

I think you will see that it reports it is a i386 binary - which is 32 bit - and cannot run on Catalina.  That is also why you get bad CPU type,

% file tkregister2.bin
tkregister2.bin: Mach-O executable i386

% ./tkregister2.bin
./tkregister2.bin: Bad CPU type in executable.

The last version of MacOS that can run 32 bit binaries is 10.14, Mojave, but with Mac OS 10.15 (Catalina) none of the old 32 bit binaries will run.   So if you need to be compatible with running the 6.0.0 freesurfer release, then I suggest you look into reverting back to the previous version of the OS you were running before the upgrade, i.e., hopefully you made a backup before upgrading.  Or if you have 10.13 (High Sierra), 10.12 (Sierra), or older, etc., that would work as well.

- R.



On Jan 30, 2020, at 10:50, Philipp Barzyk <philipp.barzyk@uni-konstanz.de> wrote:

       External Email - Use Caution        

Tanks for the quick reply.

what exactly do you mean by all FS executables? It happens for various commands I am using but they all work on my Imac.

I am working from a 2019 macbook air using catalina, and installed it myself. The imac where it works is from 2013 and runs on Mojave.

Greets,
Philipp

On 30.01.20, 16:31, "Bruce Fischl" <freesurfer-bounces@nmr..mgh.harvard.edu on behalf of fischl@nmr.mgh.harvard.edu> wrote:

   Hi Philipp

   does this happen for all the FS executables? What kind of machine are you 
   trying it from and who installed it? Sounds like you are on a mac and 
   maybe trying to use a version installed for a different kind of computer

   cheers
   Bruce
   On Thu, 30 Jan 2020, Philipp Barzyk 
   wrote:


       External Email - Use Caution        

Hello,
I am new to freesurfer and currently analysing and working on fMRI Data for
my master thesis. I’ve come to an issue, that I can’t seem to solve.

The following error occurs and I cannot find a threat or forum entry that
solves it. 

/Applications/freesurfer/tktools/tkregister2.bin: Bad CPU type in
executable.


It would be great if you could help me figure out a solution. 

Thanks in advance,

Philipp Barzyk




_______________________________________________
   Freesurfer mailing list
   Freesurfer@nmr.mgh.harvard.edu
   https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer



_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer