First, download and extract orthanc.
$ wget -O Orthanc-1.5.7.tar.gz https://www.orthanc-server.com/downloads/get.php?path=/orthanc/Orthanc-1.5.7.tar.gz
$ tar xvf Orthanc-1.5.7.tar.gz
$ cd Orthanc-1.5.7
Check the LinuxCompilation.txt in the source root directory and follow it.
$ mkdir ~\orthanc
$ cd ~
$ wget https://github.com/Kitware/CMake/releases/download/v3.15.4/cmake-3.15.4-Linux-x86_64.sh
$ sh cmake-3.15.4-Linux-x86_64.sh
Type y to accept the license when prompted.
$ sudo su
vim ~/.bashrc and add the below lines.
export CXX=/home/pkathi2/cmake-3.15.4-Linux-x86_64/bin
export PATH=$PATH:$CXX
Save and exit.
$ source ~/.bashrc
$ sudo chmod 777 -R /home/pkathi2/cmake-3.15.4-Linux-x86_64/bin/
$ sudo su
$ cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release /opt/localdrive/Orthanc-1.5.7
Monday, September 30, 2019
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
You are welcome to provide your opinions in the comments. Spam comments and comments with random links will be deleted.