To install medsquare there are some basic steps:
Step 1: Download source code of medsquare.
Use this command to download from sourceforge with git: git clone git://medsquare.git.sourceforge.net/gitroot/medsquare/medsquare
Step 2: Obtain and compile prerequisites
There are automatic scripts to compile medsquare, to execute it: inside the medsquare/ directory there is the script called "build.sh". It will install all prerequisites automatically, downloading and installing the packages in the paste ~/medsquare/ If you prefer a semi automatic script you could use the script "install_dev.sh", localized in medsquare/install/ directory.
This last way allows you to choose which package to install. In case you prefer install manually you must to have installed the next prerequisites, before to compile medsquare.
QT 4.7.4 (http://qt.nokia.com/)
VTK 5.8 (http://www.vtk.org/)
| options: | BUILD_SHARED_LIBS = ON |
| VTK_USE_QT = ON | |
| VTK_WRAP_PYTHON = ON |
cMake 2.8 (http://www.cmake.org/)
ITK 3.20 (http://www.itk.org/)
GDCM 2.0 ( http://sourceforge.net/projects/gdcm/)
gTest 1.6 (http://code.google.com/p/googletest/ )
Step 3: Compile Medsquare
Finally to compile medsquare use these next commands: