Customized version of Slicer for Matter and Soft-Matter analysis
-
Microsoft Windows 7 or above recommended
-
Supported Microsoft Visual Studio versions:
- Visual Studio 2015
-
CMake, version 3.11 or above
-
Qt, version 5.10 or above
-
Setting up your git account:
-
Create a Github account.
-
Setup your SSH keys following these instructions at the exception of
step 2where you should NOT enter a passphrase. -
Setup your git username and your git email.
-
If not already done, email
Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>to be granted access to the phcerdan/SlicerMatter repository.
-
- Start Git Bash
- Checkout the source code into a directory
C:\W\by typing the following commands:
cd /c
mkdir W
cd /c/W
git clone https://github.com/phcerdan/SlicerMatter.git SlicerMatterNote: use short source and build directory names to avoid the maximum path length limitation.
Note: The build process will take approximately 3 hours.
Option 1: CMake GUI and Visual Studio (Recommended)
- Start CMake GUI, select source directory
C:\W\SlicerMatterand set build directory toC:\W\SlicerMatter-rel. - Add an entry
QT_QMAKE_EXECUTABLEpointing toC:\D\Support\qt-4.8.7-64-vs2013-rel. - Generate the project.
- Open
C:\W\SlicerMatter-rel\SlicerMatter.sln, selectReleaseand build the project.
Option 2: Command Line
- Start the Command Line Prompt
- Configure and build the project in
C:\W\SlicerMatter-relby typing the following commands:
cd C:\W\
mkdir SlicerMatter-rel
cd SlicerMatter-rel
cmake -G "Visual Studio 14 2015 Win64" -DQT_QMAKE_EXECUTABLE:PATH=C:\Qt\5.9.1\msvc2015_64\bin\qmake.exe ..\SlicerMatter
cmake --build . --config ReleaseInstall NSIS 2
Option 1: CMake and Visual Studio (Recommended)
- In the
C:\W\SlicerMatter-rel\Slicer-builddirectory, openSlicer.slnand build thePACKAGEtarget
Option 2: Command Line
- Start the Command Line Prompt
- Build the
PACKAGEtarget by typing the following commands:
cd C:\W\SlicerMatter-rel\Slicer-build
cmake --build . --config Release --target PACKAGE
