Surgical-Simulator-Building-Instructions
__NOTITLE__
|
System requirementsHere is a non-exhaustive list of platforms Sofa is supported.
Building from sourceWindowsSofa uses the Qt framework for its graphical user interface. You need to download it from the QT website. If you want to use the 64bit version, you need the 64bit version of Qt. You won't find a 64bit version of Qt for all Visual Studio versions. Thankfully, the Sofa folks have made them available, just extract in the SOFA source directory:
You will also need the external dependencies: 7z or zip. Download them and extract in the SOFA top level source directory. This is all you need to build SOFA in Windows.
LinuxIf your Linux distribution do not provide the packages for the Qt framework you will need to download it from the QT website and install it in your system.
You also need to install the following dependencies (the package names are for the Ubuntu, other distributions may use other names):
sudo apt-get install build-essential cmake-gui libqt4-dev libqt4-opengl-dev libglew-dev freeglut3-dev libpng-dev libxml2-dev This is all you need to build SOFA in Linux.
MacOSYou need to have the command line tools installed via XCode (make, git, svn, etc). If your Linux distribution do not provide the packages for the Qt framework you will need to download it from the QT website and install it in your system. You also need the dependencies and unzip in SOFA's source directory. This is all you need to build SOFA in Linux.
$ source config.sh $ runSofa |