Surgical-Simulator-Building-Instructions: Difference between revisions
(Created page with "== System requirements == Here is a non-exhaustive list of platforms Sofa is supported. * Windows ** 32bits or 64bits ** XP, Vista, 7, 8 * Linux ** 64 bits only ** Ubuntu 10.04 ...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTITLE__ | |||
__NOTOC__ | |||
{| border="1" cellpadding="10" cellspacing="0" | |||
| style="background:#efefef;" align="left" valign="top" width="150px" | | |||
'''[[NeuroSurgSim|Home]]''' | |||
*[[NeuroSurgSim/Management|Project Management]] | |||
*[[NeuroSurgSim/TCon-Meetings|TCons/Meetings]] | |||
*[[NeuroSurgSim/Backlog|Backlog]] | |||
*[[NeuroSurgSim/Conferences to Target|Conferences]] | |||
*[[NeuroSurgSim/Sprint Accomplishments|Sprints]] | |||
*[[NeuroSurgSim/Tools|Tools]] | |||
<br> | |||
---- | |||
<br> | |||
'''Instructions''' | |||
* [[Surgical-Simulator-Building-Instructions|Building Sofa]] | |||
* [[Development|Development Workflow]] | |||
<br> | |||
---- | |||
<br> | |||
'''Report Problems''' | |||
* [https://github.com/andinet/SOFA/issues Bugs] | |||
<br> | |||
---- | |||
<br> | |||
'''[[Mailing-List|Contact Us]]''' | |||
| align="left" valign="top"| | |||
== System requirements == | == System requirements == | ||
Here is a non-exhaustive list of platforms Sofa is supported. | Here is a non-exhaustive list of platforms Sofa is supported. | ||
Line 17: | 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> | ||
Line 56: | Line 87: | ||
# Open the solution file generated by CMake with Visual Studio and Build SOFA | # Open the solution file generated by CMake with Visual Studio and Build SOFA | ||
# To run sofa after is built | # To run sofa after is built | ||
$ source config.sh | |||
$ runSofa | |||
|} |
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 |