Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
STIR
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Installing STIR with CMake
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Unix-type systems == Linux systems use a package management system. Unfortunately, there are many different versions, and the packages have slightly different names. Here is what we know: === debian/Ubuntu or others using APT === <pre> apt-get install gcc g++ make cmake-curses-gui libncurses-dev libx11-dev libboost-dev libpng-dev tcsh python </pre> (prefix with <tt>sudo</tt> for Ubuntu). If you intend to build the python interface to STIR as well, you will need to add the <tt>python-dev</tt> package to the above list, and install some other useful packages. For instance <pre> apt-get install swig apt-get install python-dev python-numpy ipython python-matplotlib mayavi2 </pre> Note: on old Ubuntu/debian systems (e.g. Ubuntu 14.x) you need to install the <tt>swig3.0</tt> package, not <tt>swig</tt>. If you will be compiling with MPI support, use <pre> apt-get install mpi-default-dev mpi-default-bin </pre> If you want to use ITK for extra IO capabilities (since STIR 3.0), use <pre> apt-get install libinsighttoolkit4-dev libtiff5-dev </pre> === Fedora (and others?) using yum === The following might work when your system uses yum. <pre> sudo yum install gcc gcc-c++ make cmake cmake-gui ncurses-devel libX11-devel boost boost-devel tcsh python </pre> If this fails, try to issue one "yum install" command for every package. === Arch using pacman === The following might work when your system uses pacman. <pre> $ su # pacman -Sy gcc make cmake cmake-gui ncurses libx11 boost boost-libs tcsh python </pre> If this fails, try to issue one "pacman -Ss" command for every package. === Mac OS X === You need the development environment. You would need for instance * XCode https://developer.apple.com/xcode It's probably a good idea to install [http://www.macports.org/ MacPorts]. Then you should be able to use the following: <pre> sudo port install boost cmake </pre> Alternatively, you could install extra software manually. See [[Installing_STIR_with_CMake#Other_systems_or_manual_download]]. === cygwin on Windows === Use cygwin's setup to install ''gcc, g++, make, cmake, libncurses-devel, libX11-devel, libboost-devel, tcsh, python''.
Summary:
Please note that all contributions to STIR may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
STIR:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width