64 bit linux

This article is valid, if you want to use →logi.RTS and/or logi.CAD 3 on a 64 bit system of Linux.

The following steps are valid for Debian 7 and UBUNTU. If you do not perform the steps, you will not be able to load the application created in logi.CAD 3 under Linux.

logi.CAD 3 for Linux 64

The following installation steps describe the installation under a current version of Ubuntu-Linux (Ubuntu 16.04 at least).

Installing build utilities

You need wget in order to install the →Raspberry Pi compiler. Enter the following commands within a shell, such as by using gnome-terminal or xterm. Conclude each command by pressing the Enter-key.

sudo apt-get update
sudo apt-get install wget

Furthermore ninja must have been installed. This is done by the following commands entered in a shell again:

sudo wget "https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-linux.zip" -O /tmp/ninja-linux.zip \
&& unzip -o -x /tmp/ninja-linux.zip -d /usr/local/bin \
&& chmod a+x /usr/local/bin/ninja

As alternative you might want to install the ninja utility by using your package manager. However, mind that you need version 1.5 at least for the binary code creation:

sudo apt-get update
sudo apt-get install ninja

Installing compiler for built-in PLC

The built-in PLC (= platform BuiltInPlc) is a 32-bit application. gcc-5-multilib and g++-5-multilib must be installed in order to create binary code for the built-in PLC. This is done by the following commands entered in a shell again:

sudo apt-get update
sudo apt-get install gcc-5-multilib g++-5-multilib

Installing compiler for Raspberry Pi

Enter the following command in a shell in order to install the Raspberry Pi compiler:

sudo mkdir -p /usr/local/toolchains && wget "ftp://ftp.logicals.com/logiCAD3/arm-rpi-4.9.3-linux-gnueabihf.tar.gz" -O - | tar -x -C /usr/local/toolchains

Mind that the compiler for ARM CPUs arm-linux-gnueabihf-gcc that is filed in the package archive of the Ubuntu and Debian project is only suited for Raspberry Pis in version 2 or 3. Therefore, it is not installed during this instruction.

Installing and starting logi.CAD 3 for Linux

  1. Install the logi.CAD 3 version for Linux that you have received from the support team of logi.cals.

  2. Before starting logi.CAD 3, enhance the PATH variable by the directory to the Raspberry Pi compiler. In order to avoid graphics glitches, it is also necessary to set the SWT_GTK3 variable to value 0.
    Enter the following commands in a shell:

    cd <installation-path-of-the-development-environment>
    export PATH=/usr/local/toolchains/arm-rpi-4.9.3-linux-gnueabihf/bin:${PATH}
    export SWTK_GTK3=0
    ./logiCAD3
  3. Start logi.CAD 3 by double-clicking the start file logiCAD3.
    In logi.CAD 3 you can now create a project, enter ST-code for the application, transfer the application onto the controller and test it on the controller.

logi.RTS for Linux 64

On a 64 bit system of Linux perform the following steps:

  1. Install the logi.RTS version for Linux that you have received from the support team of logi.cals.
    Proceed analogously to the procedure described starting with "Installing logi.RTS on Raspberry Pi".

  2. Open a terminal window under Linux.

  3. Enter the following commands – one after each other. Conclude each command by pressing the Enter-key.

    sudo dpkg --add-architecture i386
    sudo apt-get update
    sudo apt-get install libc6-i386 libssl1.0.0:i386 zlib1g:i386 libuuid1:i386
  4. Install a license for logi.RTS. Details: siehe "Requesting and installing license"

  5. Start logi.RTS and add logi.RTS to the system start.
    Proceed analogously to the procedure described starting with "Starting logi.RTS on Raspberry Pi".

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg logi.cals recommends to install and use the most current versions of logi.CAD 3 and the runtime system so that the latest features and problem fixes according to the release notes are provided in the used version.


Did this article help you? Did you find the requested information in this user documentation?
If not, contact the support team of logi.cals. State your questions or suggestions to improve/enhance the user documentation as detailed as possible.