Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
images [doc] Content editing Apr 29, 2019 [doc] Content editing Apr 29, 2019

How to install "PLCnext 2019.3" on Ubuntu 18.04 LTS

1. Install Eclipse® IDE

  1. Check whether JRE is already installed or not. The latest Java SE is recommended:
java -version

java version

If not installed, install OpenJdk:

sudo apt-get install openjdk-11-jre

Afterwards, the check should look like this:

java version ok

  1. To install Eclipse IDE for C/C++ Developers visit, select and download appropriate package:

eclipse package

or use wget to download 2019.3 R version (risk of being changed):

wget -P ~/Downloads

Extract the „eclipse-cpp-2019-03-R-linux-gtk-x86_64.tar.gz“:

cd ~/Downloads
tar -xzf eclipse-cpp-2019-03-R-linux-gtk-x86_64.tar.gz

Move extracted folder to /opt:

sudo mv eclipse /opt/

Create a desktop file in /usr/share/applications:

sudo nano /usr/share/applications/eclipse.desktop

Copy following content into desktop file:

[Desktop Entry]
Comment=Integrated Development Environment

Create a symlink in /usr/local/bin:

cd /usr/local/bin
sudo ln -s /opt/eclipse/eclipse

Eclipse is now ready to use.

2. Install Libunwind library

Check installation:

apt show libunwind8


If not installed, install Libunwind:

sudo apt-get install libunwind8

3. Install PLCnext Technology C++ Toolchain

3.1 Prerequisites

Install CMake:

sudo apt-get install cmake

3.2 Toolchain

Visit AXC F 2152 software site and download toolchain (PLCnext Technology Command Line Interface - PLCnCLI 2019.0 - and software development kit - SDK 2019.3).

Unzip PLCnCLI:

cd ~/Downloads

Unzip SDK:


Install PLCnCLI and move it to /opt/pxc/plcncli/AXCF2152/2019.0:

sudo plcncli install sdk -p 
sudo mkdir -p /opt/pxc/plcncli/AXCF2152/2019.0
sudo mv ./plcncli/* /opt/pxc/plcncli/AXCF2152/2019.0

To simplify calling the file in the console create symbolic link:

ln -s /opt/pxc/plcncli/AXCF2152/2019.0/plcncli /usr/local/bin/plcncli

Install SDK:

chmod +x ./
sudo plcncli install sdk -p -d /opt/pxc/sdk/AXCF2152/2019.3

Check SDK:

sudo /opt/pxc/plcncli/AXCF2152/2019.0/plcncli get sdks

SDK ok

4. Configure Eclipse® IDE to develop without using PLCnCLI

Set project cross settings (prefix and path):


SDK ok

Set project cross G++ Compiler dialect settings:

-march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/opt/pxc/sdk/AXCF2152/2019.3/sysroots/cortexa9t2hf-neon-pxc-linux-gnueabi -fno-gnu-unique

SDK ok

Set project cross G++ Preprocessor defines:


SDK ok

Set project cross G++ Preprocessor includes:


SDK ok

Set project cross G++ Linker flags:

--sysroot=/opt/pxc/sdk/AXCF2152/2019.3/sysroots/cortexa9t2hf-neon-pxc-linux-gnueabi -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -Wl,--no-undefined

SDK ok

You can’t perform that action at this time.