Skip to content

Latest commit

 

History

History
91 lines (65 loc) · 2.61 KB

install_cmake.md

File metadata and controls

91 lines (65 loc) · 2.61 KB

How to Process MRI Images:

  1. Beginner's Guide to Command-Line Interface
  2. Installation Instructions
  3. Preprocessing T1 images
  4. Hippocampus Segmentation


Linux

  • Download the latest version:
#!console
# cd /usr/local/
# wget http://www.cmake.org/files/v3.0/cmake-3.0.0.tar.gz
  • Unzip the downloaded file:
#!console
# tar xzf cmake-3.0.0.tar.gz
  • Configure, compile, and install:
#!console
# cd cmake-3.0.0
# ./configure --prefix=/usr/local && make && make install

Mac

  • Download the dmg file from here.

  • Open the dmg file to run the installer.

  • You should only have to drag and drop the app into the Application folder.

  • Open the CMake.app and go to Tools > Install For Command Line Use. You will need to make sure you have admin permissions.

  • If you get errors, open up the CMake application from terminal:

#!console
$ sudo /Applications/CMake.app/Contents/MacOS/CMake

Windows

  • Download the latest version.
  • Run the CMake installer (for this version it was referred to as "cmake-3.0.0-win32-x86" in my downloads).

The welcome scree should open. Click Next.

It then shows the license agreement. Click I Agree.

Install options will appear. Select the Add CMake to the system PATH for all users and click next.

Now choose the location you'd like to install CMake.

Now click Install.

  • Go to the Installation tab and select Apply Changes