-
Notifications
You must be signed in to change notification settings - Fork 1
Installation Windows
markus-stoll edited this page May 7, 2015
·
24 revisions
#Installation Windows MSML uses a lot of other libraries for his native operators and requires some Python packages for itself. You should start with cloning the repository in your directory of choice $ git clone https://github.com/CognitionGuidedSurgery/msml.git
Build for 64bit with Visual Studio 2010 (2013 is not supported)
- Download and install CMake (tested version 2.8.11.2)
- Download and install Boost (tested version: http://sourceforge.net/projects/boost/files/boost-binaries/1.55.0-build2/ - comp.\aatible with Python 2.7.5)
- Make sure you have a enviroment variable BOOST_ROOT pointing to your boost directory.
- In BOOST_ROOT: Rename the the folder which contains the compile libraries to lib.
- Download and build VTK(with Python Module) with CMake(version 6.1 tested)
- Download and build CGAL with CMake (version 4.3 tested, 4.5 is not supported) https://gforge.inria.fr/frs/download.php/32993/CGAL-4.3-Setup.exe
- CGAL 4.3 doesn't ship their third party libraries. Take a look at: http://doc.cgal.org/latest/Manual/installation.html#secessential3rdpartysoftware
- Download and build Tetgen with CMake (version 1.5 tested) http://wias-berlin.de/software/tetgen/1.5/src/tetgen1.5.0.zip
- Download and install SWIG http://www.swig.org/download.html
- Install a SVN client with svn.exe command line tool ( e.g. Tortoise SVN with custom installation and enabled command line client tools)
- Use CMake to configure and generate the MSML visual studio .sln file
- Select the "operator" subdirectory of the msml repository as the source folder and choose build folder.
- Fill in notFound paths
- If compressed data is to be used (*.ctx.gz for example) in a workflow, gunzip will be needed on PATH
- Download and install Python (take care for boost compatibility, version 2.7.5 tested) http://www.python.org/ftp/python/2.7.5/python-2.7.5.amd64.msi or from http://p-nand-q.com/python/building-python-27-with-vs2010.html (includes a debug lib)
- Download and install Eclipse (Kepler Service Release 1 tested) http://artfiles.org/eclipse.org//technology/epp/downloads/release/kepler/SR1/eclipse-standard-kepler-SR1-win32-x86_64.zip
- Download and copy Pydev to eclipse folder (http://sourceforge.net/projects/pydev/files/pydev/PyDev%203.3.3/ tested)
- Install http://pyyaml.org/wiki/PyYAML
- Use PIP (https://pip.pypa.io/en/latest/installing.html) to install other required python packages (pip.exe install -r requirements.txt)
- Get SciPy for Optimization tasks with MSML http://sourceforge.net/projects/scipy/?source=directory (make sure you use the amd64 version)
##FAQ Python Error "Error is DLL load failed: The module was not found.": means the dll was found but a dependency could not be loaded. Try to use the dependecy walker. Have you included all shared dll dirs in path?