Mercurial > hg > orthanc-book
diff Sphinx/source/plugins/wsi.rst @ 129:61050d813d74
build wsi
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 04 Jan 2018 11:06:35 +0100 |
parents | f8aa67501041 |
children | 011b01ccf52d |
line wrap: on
line diff
--- a/Sphinx/source/plugins/wsi.rst Wed Jan 03 15:32:44 2018 +0100 +++ b/Sphinx/source/plugins/wsi.rst Thu Jan 04 11:06:35 2018 +0100 @@ -24,6 +24,9 @@ Compilation ----------- +Static linking +^^^^^^^^^^^^^^ + .. highlight:: text The procedure to compile the WSI framework is similar of that for the @@ -35,6 +38,7 @@ $ cd Applications/Build $ cmake .. -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release $ make + # Secondly, compile the viewer plugin $ mkdir ../../ViewerPlugin/Build $ cd ../../ViewerPlugin/Build @@ -47,10 +51,38 @@ * ``Applications/Build/OrthancWSIDicomToTiff``, which contains the DICOM-to-TIFF converter. * ``ViewerPlugin/Build/OrthancWSI``, which is a shared library containing the viewer plugin for Orthanc. +Microsoft Windows +^^^^^^^^^^^^^^^^^ + Note that pre-compiled binaries for Microsoft Windows `are available <http://www.orthanc-server.com/browse.php?path=/whole-slide-imaging>`__. +Dynamic linking +^^^^^^^^^^^^^^^ + +.. highlight:: text + +If static linking is not desired, here are build instructions for +Ubuntu 16.04 (provided build dependencies for the :ref:`core of +Orthanc <compiling>` have already been installed):: + + $ sudo apt-get install libopenjpeg-dev + + # Firstly, compile the command-line tools + $ mkdir Applications/Build + $ cd Applications/Build + $ cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_ORTHANC_SDK=OFF + $ make + + # Secondly, compile the viewer plugin + $ mkdir ../../ViewerPlugin/Build + $ cd ../../ViewerPlugin/Build + $ cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_ORTHANC_SDK=OFF -DALLOW_DOWNLOADS=ON + $ make + + + Usage of the plugin -------------------