
Installation 
============

CS140BahnPlaner is a Linux application that needs X11 and EGL with OpenGL-ES2. It has been tested on the following Linux versions:

    Mint 20.1 'Ulyssa'
    Ubuntu 20.04.2.0 LTS


First, extract the archive to some place of your choice, eg. into your home directory.

The application needs some shared objects which may need to be installed. Open a terminal and issue the following commands.
If prompted, enter your admin password.

To install libjpeg.so.62:

    sudo apt-get install libjpeg62


To install EGL and OpenGL-ES2, in most cases, issue the following commands:

    sudo apt-get install libegl1-mesa
    sudo apt-get install libgles2-mesa

BUT if you have NVidia graphics hardware installed, you may need to install a different package instead: nvidia-340. That I haven't tested though.


Two symbolic links may need to be created for the application to find EGL and OpenGL-ES2. In the case of the mesa packages, those are created as follows:

    sudo ln /usr/lib/x86_64-linux-gnu/libEGL.so.1     /usr/lib/x86_64-linux-gnu/libEGL.so
    sudo ln /usr/lib/x86_64-linux-gnu/libGLESv2.so.2  /usr/lib/x86_64-linux-gnu/libGLESv2.so


Now you should be able to start the application by invoking it from the terminal:

    ./CS140BahnPlaner 

On Linux Mint, starting from a file browser like caja or nautilus should also work by double-clicking on the directory entry called !Run.

