Surgical-Simulator-Building-Instructions: Difference between revisions
No edit summary |
No edit summary |
||
Line 48: | Line 48: | ||
Sofa uses the Qt framework for its graphical user interface. You need to download it from the [http://qt-project.org/downloads 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: | Sofa uses the Qt framework for its graphical user interface. You need to download it from the [http://qt-project.org/downloads 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: | ||
<ul> | <ul> | ||
<li>Qt 4.8.3 x64 for Microsoft Visual Studio 2008 : | <li>Qt 4.8.3 x64 for Microsoft Visual Studio 2008 : [https://gforge.inria.fr/frs/download.php/31789/qt4.8.3_msvc2008_x64.7z 7z] [https://gforge.inria.fr/frs/download.php/31788/qt4.8.3_msvc2008_x64.zip zip] archive</li> | ||
<li>Qt 4.8.3 x64 for Microsoft Visual Studio 2010 : | <li>Qt 4.8.3 x64 for Microsoft Visual Studio 2010 : [https://gforge.inria.fr/frs/download.php/31791/qt4.8.3_msvc2010_x64.7z 7z] or [https://gforge.inria.fr/frs/download.php/31790/qt4.8.3_msvc2010_x64.zip zip] archive</li> | ||
</ul> | </ul> | ||
Latest revision as of 14:37, 19 March 2014
__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 |