Thanks Douglas
Now it's ok.

I checked the OSX version. My OSX version was 10.9.5.  

I removed the XQuartz 2.7.7 and installed 2.7.5

I run this command is below

recon-all -all -i /Volumes/yang/S002_AD1118_20090116/NCKU-0003-0000-00001.dcm -s S002_20151005

( remove -sd and -ba_labels)

thank you for your help.

Ting-Jui

On Sat, Oct 3, 2015 at 2:59 AM, Douglas Greve <greve@nmr.mgh.harvard.edu> wrote:
Try removing -ba_labels (it will do that with -all anyway)


On 9/29/15 9:02 PM, 葉丁瑞 wrote:
Dear All,

I ran the following script:

        
recon-all -i /Volumes/yang/S002_AD1118_20090116/NCKU-0003-0000-00001.dcm -s S002_ba -sd /Volumes/yang/S002_AD1118_20090116/ -all -ba_labels

        
and got the error below at the end. Could anybody please let me know how to fix it.
---

SUBJECTS_DIR    /Volumes/yang/S002_AD1118_20090116

FREESURFER_HOME /Applications/freesurfer

Loading source label.

No such file or directory

ERROR reading /Volumes/yang/S002_AD1118_20090116/fsaverage/label/lh.BA1.label

Darwin MRI2deiMac.local 13.4.0 Darwin Kernel Version 13.4.0: Wed Mar 18 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64 x86_64

recon-all -s S002 exited with ERRORS at Sat Sep 26 21:57:00 CST 2015

For more details, see the log file /Volumes/yang/S002_AD1118_20090116/S002/scripts/recon-all.log

To report a problem, see http://surfer.nmr.mgh.harvard.edu/fswiki/BugReporting

---

I follow the below step at freesurfer message board 

        
cd  /Volume/yang

ln -s /Applications/freesurfer/subjects/fsaverage

recon-all -i /Volumes/yang/S002_AD1118_20090116/NCKU-0003-0000-00001.dcm -s S002_ba -sd /Volumes/yang/S002_AD1118_20090116/ -all -ba_labels

        
but the error is not resoled. please see attached file below

        

        

        
my environment for Freesurfer/FS-FAST 

-------- freesurfer-Darwin-lion-stable-pub-v5.3.0 --------

Setting up environment for FreeSurfer/FS-FAST (and FSL)

FREESURFER_HOME   /Applications/freesurfer

FSFAST_HOME       /Applications/freesurfer/fsfast

FSF_OUTPUT_FORMAT nii.gz

SUBJECTS_DIR      /Applications/freesurfer/subjects

MNI_DIR           /Applications/freesurfer/mni

FSL_DIR           /usr/local/fsl

Thank you,

TING-JUI YEH


_______________________________________________
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


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.