Skip to main content
Miele-LXIV Easy uses a Kconfig-based configuration system to control which components are downloaded, built, and installed. The configuration is managed through the kconfig-mconf tool, which provides an interactive menu interface.

Configuration Workflow

The configuration system is accessed through:
./reconfigure.sh
This launches an interactive menu where you can enable or disable different build phases and select which modules to process.

Configuration Sections

The build system is organized into six main configuration sections:
  1. Download - Download source packages and apply patches
  2. Info - Display version information for modules
  3. Configure - Run configuration scripts for each module
  4. Build - Compile and install modules
  5. Install - Install specific modules with post-processing
  6. Symlinks - Manage symbolic links in the Binaries directory

Download Options

DOWNLOAD
boolean
default:"n"
Master switch to enable source downloads. When enabled, downloads source packages and applies available patches.

Download Modules

When DOWNLOAD is enabled, you can select individual modules to download:
DOWNLOAD_SOURCES_OPENSSL
boolean
default:"y"
Download OpenSSL cryptographic library sources.
DOWNLOAD_LIB_ICONV
boolean
default:"y"
Download libiconv character encoding conversion library.
DOWNLOAD_LIB_PNG
boolean
default:"y"
Download libpng image library.
DOWNLOAD_LIB_Z
boolean
default:"y"
Download zlib compression library.
DOWNLOAD_LIB_XML2
boolean
default:"y"
Download libxml2 XML parsing library.
DOWNLOAD_LIB_JPEG
boolean
default:"y"
Download libjpeg image library.
DOWNLOAD_LIB_TIFF
boolean
default:"y"
Download libtiff image library.
DOWNLOAD_SOURCES_VTK
boolean
default:"y"
Download VTK (Visualization Toolkit) for 3D graphics and visualization.
DOWNLOAD_SOURCES_ITK
boolean
default:"y"
Download ITK (Insight Toolkit) for medical image processing.
DOWNLOAD_SOURCES_DCMTK
boolean
default:"y"
Download DCMTK (DICOM Toolkit) for medical imaging standards.
PATCH_DCMTK
boolean
default:"y"
Apply Miele-LXIV specific patches to DCMTK after download.Depends on: DOWNLOAD_SOURCES_DCMTK
DOWNLOAD_SOURCES_OPENJPG
boolean
default:"y"
Download OpenJPEG library for JPEG 2000 compression.
PATCH_OPENJPG
boolean
default:"y"
Apply patches to OpenJPEG.Depends on: DOWNLOAD_SOURCES_OPENJPG
DOWNLOAD_SOURCES_JASPER
boolean
default:"y"
Download Jasper JPEG-2000 codec library.
DOWNLOAD_SOURCES_GLEW
boolean
default:"n"
Download GLEW (OpenGL Extension Wrangler Library).
DOWNLOAD_SOURCES_GML
boolean
default:"n"
Download GLM (OpenGL Mathematics) library.
DOWNLOAD_SOURCES_APP
boolean
default:"y"
Download the Miele-LXIV application source code from GitHub.

Info Options

INFO
boolean
default:"n"
Master switch to display version information for installed modules.

Info Modules

When INFO is enabled, select which modules to display version information for:
  • INFO_ICONV (default: y) - Display libiconv version
  • INFO_PNG (default: y) - Display libpng version
  • INFO_JPEG (default: y) - Display libjpeg version
  • INFO_TIFF (default: y) - Display libtiff version
  • INFO_VTK (default: y) - Display VTK version
  • INFO_ITK (default: y) - Display ITK version
  • INFO_DCMTK (default: y) - Display DCMTK version
  • INFO_OPENJPG (default: y) - Display OpenJPEG version
  • INFO_JASPER (default: n) - Display Jasper version
  • INFO_GLEW (default: n) - Display GLEW version
  • INFO_GLM (default: n) - Display GLM version

Configure Options

CONFIGURE
boolean
default:"y"
Master switch to run configuration scripts for modules before building.

Configure Modules

CONFIGURE_LIB_ICONV
boolean
default:"y"
Configure libiconv with ./configure script.
CONFIGURE_LIB_OPENSSL
boolean
default:"y"
Configure OpenSSL library.
CONFIGURE_LIB_PNG
boolean
default:"y"
Configure libpng using CMake.
CONFIGURE_LIB_JPEG
boolean
default:"y"
Configure libjpeg.
CONFIGURE_LIB_TIFF
boolean
default:"y"
Configure libtiff with CMake.
CONFIGURE_LIB_XML2
boolean
default:"y"
Configure libxml2.
CONFIGURE_ZLIB
boolean
default:"y"
Configure zlib compression library.
CONFIGURE_VTK
boolean
default:"y"
Configure VTK (Visualization Toolkit) with CMake.
CONFIGURE_ITK
boolean
default:"y"
Configure ITK (Insight Toolkit) with CMake.
CONFIGURE_DCMTK
boolean
default:"y"
Configure DCMTK (DICOM Toolkit) with CMake.
CONFIGURE_OPENJPG
boolean
default:"y"
Configure OpenJPEG library.
CONFIGURE_JASPER
boolean
default:"y"
Configure Jasper JPEG-2000 library.
CONFIGURE_GLEW
boolean
default:"n"
Configure GLEW (OpenGL Extension Wrangler).
CONFIGURE_GLM
boolean
default:"n"
Configure GLM (OpenGL Mathematics).

Build Options

BUILD
boolean
default:"y"
Master switch to compile and build modules.

Build Modules

COMPILE_LIB_ICONV
boolean
default:"y"
Build and install libiconv.
COMPILE_LIB_OPENSSL
boolean
default:"y"
Build and install OpenSSL.
COMPILE_LIB_PNG
boolean
default:"y"
Build and install libpng.
COMPILE_LIB_JPEG
boolean
default:"y"
Build and install libjpeg.
COMPILE_ZLIB
boolean
default:"y"
Build and install zlib.
COMPILE_LIB_XML2
boolean
default:"y"
Build and install libxml2.
COMPILE_LIB_TIFF
boolean
default:"y"
Build and install libtiff.
COMPILE_VTK
boolean
default:"y"
Build VTK framework for 3D visualization.
COLLAPSE_VTK
boolean
default:"y"
Combine all VTK static libraries into a single libVTK.a library for easier linking.Depends on: COMPILE_VTK
BUILD_ITK
boolean
default:"y"
Build ITK framework for medical image processing.
COLLAPSE_ITK
boolean
default:"y"
Combine all ITK static libraries into a single libITK.a library.Depends on: BUILD_ITK
COMPILE_DCMTK
boolean
default:"y"
Build DCMTK for DICOM medical imaging support.
BUILD_OPENJPG
boolean
default:"y"
Build OpenJPEG library.
BUILD_JASPER
boolean
default:"y"
Build and install Jasper.
COMPILE_GLEW
boolean
default:"n"
Build and install GLEW.
BUILD_GLM
boolean
default:"n"
Build GLM.

Install Options

INSTALL
boolean
default:"y"
Master switch for installation and post-processing steps.

Install Modules

INSTALL_DCMTK
boolean
default:"y"
Install DCMTK to the BIN directory.
POST_INSTALL_DCMTK
boolean
default:"y"
Perform post-installation processing for DCMTK. This copies additional headers and patches configuration files.
Do this once when new DCMTK sources are updated.
Depends on: INSTALL_DCMTK
COLLAPSE_DCMTK
boolean
default:"y"
Combine all DCMTK static libraries into a single libDCMTK.a library.Depends on: INSTALL_DCMTK
INSTALL_OPENJPG
boolean
default:"y"
Install OpenJPEG and copy additional headers.
INSTALL_GLM
boolean
default:"n"
Install GLM headers and libraries.

Symbolic links connect the compiled libraries in the BIN directory to the Miele-LXIV application’s Binaries directory, making them available to the Xcode project.
Remove all symbolic links from the Binaries directory.
Create symbolic links in the Binaries directory pointing to installed modules.
When CREATE_SYMLINKS is enabled:

Configuration Tips

Typical Workflow: Enable options in sequence:
  1. First run: Enable Download only
  2. Second run: Enable Configure, Build, and Install
  3. Final run: Enable Create Symbolic links
Changing configuration options may require rebuilding modules. The build script detects existing directories and skips downloads/builds if already present.

Build docs developers (and LLMs) love