SUBPAGE MENU



# # #

fsl_build_osx
# #

Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64
10.11.6
16_09_28
#

############################################
# CONTENT
############################################

How to build fsl from source on OS X:

Basic information can be found at:
http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FslInstallation/SourceCode
It is recommended by me that you create directory at your home folder (as described in the link above):
command:

Then move downloaded tar file with the source code into newly created directory and untar it. command:

command:

command:


Set the main FSL environment variables (for version 5.0.6 and above you first need to uncomment the lines related to FSLCONFDIR and FSLMACHTYPE in $FSLDIR/etc/fslconf/fsl.sh):
command:

command:


After the modifications run fsl.sh - FSL's configuration file
command:

Check if the compiler machine has been automatically detected.

If the above directory does not exist (the ls returns an error).
Check your machine/compiler version: command:

Select the closest match from the directories in $FSLDIR/config and do the following (e.g. for apple-darwin13-llvm5.1):
command:

############################################
# TROUBLESHOOTING:
############################################

!!ERROR in BUILD!!
  Could not make the following projects successfully:
    fslsurface film ptx2

SOLUTION:
You have to edit Makefile of the fslsurface. In newer versions of OS X different graphical libraries has to be used: command:

Change (line 10):

to


# #

############################################
# SOFTWARE VERSION INFO:
############################################

command:

output:
################################
example_output
################################

# #



Troubleshooting:


# #


Sources:

example_source_title
example_source_link
# # #