Skip to content
Julien Lamy edited this page Dec 20, 2016 · 3 revisions

These are generic compilation information. For more precise instructions, refer to the dedicated page of your system:

Odil has the following mandatory dependencies:

In addition, optional dependencies are:

The compilation system is based on CMake, and the optional dependencies mentioned above are respectively required by the BUILD_WRAPPERS and WITH_DCMTK options, both of them defaulting to ON.

The following points try to summarize the different difficulties encountered while compiling Odil:

  • Odil uses C++11: some compilers default to C++98 and so must be explicitely switched to C++11 (or C++0x for the oldest ones)
  • The path to JSONCpp must contain json/json.h, and not directly json.h. For example, on Ubuntu 14.04, this path must be /usr/include/jsoncpp and not /usr/include/jsoncpp/json
  • Compiling the Python wrappers when multiple versions of Python and/or Boost Python are installed requires additional care
Clone this wiki locally