view Resources/BuildInstructions.txt @ 482:b751b1383e07 OrthancDicomWeb-1.4

OrthancDicomWeb-1.4
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 18 Dec 2020 07:15:27 +0100
parents 59dc84e00a4c
children
line wrap: on
line source

Generic GNU/Linux (static linking)
==================================

# mkdir Build
# cd Build
# cmake .. -DCMAKE_BUILD_TYPE=Debug -DSTATIC_BUILD=ON
# make


Dynamic linking for Ubuntu 14.04
================================

# mkdir Build
# cd Build
# cmake .. -DCMAKE_BUILD_TYPE=Debug -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON -DUSE_SYSTEM_ORTHANC_SDK=OFF
# make


Dynamic linking for Ubuntu 12.10
================================

# mkdir Build
# cd Build
# cmake .. -DCMAKE_BUILD_TYPE=Debug \
  -DALLOW_DOWNLOADS=ON \
  -DUSE_SYSTEM_JSONCPP=OFF \
  -DUSE_SYSTEM_PUGIXML=OFF \
  -DUSE_GOOGLE_TEST_DEBIAN_SOURCE_PACKAGE=ON
# make


Cross-compiling for Windows from GNU/Linux using MinGW
======================================================

# mkdir Build
# cd Build
# cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=`pwd`/../Orthanc/Resources/MinGWToolchain.cmake
# make


Notes
=====

List the public symbols exported by the shared library under
GNU/Linux:

# nm -C -D --defined-only ./libOrthancDicomWeb.so