Category - 3D Slicer

2016-07-14 15:41:42    421    0    0

This document is mainly referent to the official build document of 3D Slicer website.

And I did compile it success in my mint linux computer.

That is what I have done.

First, install common prerequisites package

Here is all what we need to install before start.

  1. sudo apt-get install subversion git-core git-svn
  2. sudo apt-get install make gcc g++ libx11-dev libxt-dev libgl1-mesa-dev libglu1-mesa-dev libfontconfig-dev libxrender-dev libncurses5-dev

Second, install cmake

We should install cmake-3.5.2-Linux-x86_64:

  1. mkdir ~/Support && cd ~/Support
  2. curl -O https://cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz
  3. tar -xzvf cmake-3.5.2-Linux-x86_64.tar.gz
  1. mkdir -p ~/bin
  2. for name in cmake ctest cpack ccmake cmake-gui; do
  3. ln -s ~/Support/cmake-3.5.2-Linux-x86_64/bin/$name ~/bin/$name
  4. done

After that, you can see your ~/bin/ directory to check if there has files like following:

  1. anderson@Peacesky-CAS ~ $ ls -l ~/bin/
  2. t