-
Notifications
You must be signed in to change notification settings - Fork 24
Compiling
Compile from source to get all functionality and ensure compatibility with your system.
Dependencies are listed in
PKGBUILD using
Arch Linux
package naming conventions, and in
CMakeLists.txt
using Debian
package naming conventions.
There are scripts (meant to be run inside Docker
containers) to install all
dependencies, but these are not recommended for end-users. See
docker/build_bases/
for the 'implementation' scripts.
Notably, DICOMautomaton
depends on the author's Ygor
, Explicator
, and
YgorClustering
projects which are hosted at:
-
Ygor
: https://gitlab.com/hdeanclark/Ygor and https://github.com/hdclark/Ygor. -
Explicator
: https://gitlab.com/hdeanclark/Explicator and https://github.com/hdclark/Explicator. -
YgorClustering
(needed only for compilation): https://gitlab.com/hdeanclark/YgorClustering and https://github.com/hdclark/YgorClustering.
DICOMautomaton
uses CMake
. Use the usual commands to compile on Linux
:
$> git clone https://gitlab.com/hdeanclark/DICOMautomaton/ && cd DICOMautomaton/ # or
$> git clone https://github.com/hdclark/DICOMautomaton/ && cd DICOMautomaton/
$> mkdir build && cd build/
Then, if building for Debian
:
$> cmake ../ -DCMAKE_INSTALL_PREFIX=/usr
$> make && make package
$> sudo apt install -f ./*.deb
Or, if building for Arch Linux
:
$> rsync -aC --exclude build ../ ./
$> makepkg --syncdeps --noconfirm # Optionally also [--install].
Otherwise, if installing directly (i.e., bypassing your package manager):
$> cmake ../ -DCMAKE_INSTALL_PREFIX=/usr
$> make && sudo make install
Direct installation on non-Linux
systems is not officially supported. However,
Docker
images can be built that are portable across non-Linux
systems.