-
-
Notifications
You must be signed in to change notification settings - Fork 381
Compiling ANTs on Windows 10
Philip Cook edited this page Apr 11, 2024
·
8 revisions
Note: These instructions may be out of date. Native Windows binaries are available on the ANTs Releases page.
These instructions require the Linux subsystem, which requires the Windows 10 anniversary update (Aug 2016). You may need to disable some antivirus software for some parts of the install.
Follow the instructions here: https://msdn.microsoft.com/en-us/commandline/wsl/install_guide
You can install your choice of Linux distributions. The instructions below are for Ubuntu, using the apt-get system to install software.
Required build tools include gcc
, g++
, and make
. If these are not installed already, install them before proceeding.
sudo apt-get -y install build-essential
sudo apt-get -y install git
sudo apt-get -y install cmake
sudo apt-get -y install cmake-curses-gui
sudo apt-get -y install zlib1g-dev
From here, it should be possible to obtain the ANTs source code and compile as one would on Linux or Mac OS.