view Resources/BuildInstructions.txt @ 25:c1223564bc80

Use of Orthanc built-in API for multipart answers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Jun 2015 11:19:57 +0200
parents d5f459244111
children d6904d8d165a
line wrap: on
line source

Generic Linux (static linking)
==============================

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


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

# mkdir Build
# cd Build
# cmake .. -DCMAKE_BUILD_TYPE=Debug -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE=ON
# 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_GTEST_DEBIAN_SOURCE_PACKAGE=ON
# make


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

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


Notes
=====

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

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