Installation Guide


This document describes how to install MeVisLab on the supported platforms.

System Requirements

For the system requirements, see here.

[Note] Note

The PathTracer framework requires CUDA support, which is only available on Nvidia graphics cards.

A screen resolution of 1920 × 1080 or higher is recommended.

Windows Guide

Installation on Windows

For Windows, a typical installation of the SDK results in the following programs being installed:

  • MeVisLab in release and debug versions.

  • MeVisLab MATE, an integrated text editor that supports typical MeVisLab files with syntax highlighting, auto-completion, error checking, and more.

  • MeVisLab ToolRunner, a meta-tool for creating installers.

The installer offers to create desktop shortcuts for these programs, as well as for the Launcher.

[Note] Note

Debug versions can only be started if a development environment, such as Visual Studio, is installed on the computer.

[Note] Note

MeVisLab can be started without scanning, which is faster and suitable for typical development. If new modules have been added, start MeVisLab with scanning.

To create a shortcut for starting MeVisLab without scanning, copy its shortcut, rename it, and add the command line option -quick.

Module Development on Windows

For C++ module development, a later Visual Studio version can usually be used with a MeVisLab version created for an earlier Visual Studio version.

There may also be differences between Visual Studio Express editions and the full Visual Studio editions (Standard or Professional). Ensure that the compiler version you intend to use is supported by your Visual Studio installation.

CMake is used for compilation. See the CMake Manual for more information.

MeVisLab Launcher

The Launcher detects installed versions and provides a central place to launch and manage them. It allows you to start a specific version, manage installed versions and their variants, and select the default version or variant used by the application shortcuts.

Installed versions are detected automatically. Additional versions can be added via the settings (cog icon). Existing versions can be hidden or their installation folders can be opened. It is persisted whether a version has been added or hidden.

A version can have multiple renamable variants, each associated with a different .prefs file. To create a variant, open the version's settings (click its cog icon) and browse to a .prefs file. The number of variants is displayed on the version's cog icon.

[Note] Note

Variants can be removed, whereas versions can only be hidden.

Versions and their variants are shown on the Launcher's main page. Any of them can be started directly. They can also be promoted to become the default.

If a version or variant has been promoted to the default, it is started when the corresponding application is launched using its desktop shortcut. For example, if version 3.x is the default, starting the MATE shortcut launches MATE for version 3.x.

[Note] Note

The Launcher is installed only if its version is newer than the installed Launcher, or if no Launcher is installed yet. The Launcher's installer offers the options for creating desktop shortcuts.

If you want to add missing desktop shortcuts later, uninstall only the Launcher and reinstall MeVisLab. This reinstalls the Launcher and offers the shortcut options again.

Linux Guide

MeVisLab on Linux

This section shows how to handle MeVisLab on Linux.

Installing MeVisLab

Get MeVisLab from https://www.mevislab.de/download/. Only a 64-bit version is available, so a 64-bit version of Ubuntu is required. After downloading, make the installer executable by running chmod u+x and then executing the .bin file. Select an installation directory; it will be referred to as InstallDirectory from now on.

Running MeVisLab

You can start MeVisLab from the applications menu entry. Alternatively, you can run InstallDirectory/bin/MeVisLab. InstallDirectory/bin/MeVisLab_d will start the debug version of MeVisLab.

Module Development on Linux

MeVisLab offers "Module Wizards", which are accessible via MeVisLab's file menu. They create the skeleton of ML and Open Inventor modules.

[Note] Note

The environment variable MLAB_ROOT is required to build C++ modules and must point to InstallDirectory/Packages.

CMake is used for compilation. See the CMake Manual for more information.

Docker Guide

Installation on Docker

The MeVisLab SDK for Linux can also be installed and used within a Docker image.

Since MeVisLab for Linux was built for Ubuntu, it is best to use Ubuntu as the base image.

Additionally, MeVisLab always requires a running X server. Therefore, xvfb is used for the installation. To use MeVisLab after installation, an X server must also be provided. This can be done in several ways, including using xvfb.

A multistage build is used to make the final image slightly smaller.

# ----------------------
# common base container
# ----------------------
FROM ubuntu:24.04 AS base

ARG DEBIAN_FRONTEND=noninteractive

ENV XDG_RUNTIME_DIR='/tmp/runtime-root'

RUN apt-get update \
 && apt-get upgrade -y \
 && apt-get install -y --no-install-recommends \
    apt-utils \
    fontconfig \
    libfontconfig1-dev \
    libgl1-mesa-dev \
    libglu1 \
    libglu1-mesa-dev \
    libgomp1 \
    libgstreamer-plugins-base1.0 \
    libgstreamer1.0-0 \
    libnss3 \
    libopengl0 \
    libxcb-cursor0 \
    libxcb-icccm4 \
    libxcb-image0 \
    libxcb-keysyms1 \
    libxcb-randr0 \
    libxcb-render-util0 \
    libxcb-xinerama0 \
    libxcb-xinput0 \
    libxcb-xkb1 \
    libxkbcommon-x11-0 \
    locales \
    mesa-common-dev \
    ttf-bitstream-vera \
    wget \
    xorg \
    xvfb \
    file \
 && sed -i -e 's/# en_US/en_US/' /etc/locale.gen \
 && locale-gen \
 && apt-get autoremove \
 && apt-get clean

ENV LANG='en_US.utf8'
ENV LC_ALL='en_US.utf8'
ENV LANGUAGE='en_US.UTF-8:en'

# ---------------------------------------------
# intermediate container for the installation
# ---------------------------------------------
FROM base AS installer

RUN wget -O /MeVisLabInstaller.bin\
  https://mevislabdownloads.mevis.de/Download/MeVisLab5.0.0/\
Linux/GCC13-64/MeVisLabSDK5.0.0_gcc13-64.bin
RUN chmod +x /MeVisLabInstaller.bin
RUN xvfb-run /MeVisLabInstaller.bin \
  --mode silent --prefix /opt/mevislab --no-desktop-files

# ---------------------------------------------
# final image
# ---------------------------------------------

FROM base AS sdk

ENV MLAB_ROOT=/opt/mevislab/Packages
COPY --from=installer /opt/mevislab /opt/mevislab