Reason:
The snapcraft yaml files of all sample projects got simplified. But the ctrlx-datalayer debian package gets published in the SDK. Therefore, the storage folder (ctrlx-automation-sdk/deb) of the ctrlx-datalayer debian package in the SDK needs to be registered in the sources list (/etc/apt/sources.list.d/ctrlx-automation.list).
There are three ways to solve this:
The easiest way to solve this issue is to create a App Build Environment with ctrlX WORKS V1.18 and run the script “install-sdk.sh”. After this everything is setup correct and you are able to build the samples in the SDK.
If you still want to use your Build Environment (created with V1.16 or prior) or your own ubuntu machine: You can download the install-ctrlx-datalayer-deb.sh here and bring it to your build environment (drag&drop). Change the execute permissions, go to the folder where our datalayer debian package is stored in the sdk (ctrlx-automation-sdk/deb) and run the install script (~/install-ctrlx-datalayer-deb.sh).
Besides this you can also do the steps, the script (2.) does manually:
Uninstall old ctrlx-datalayer packages sudo dpkg -r ctrlx-datalayer
go to ctrlx-automation-sdk/deb cd ctrlx-automation-sdk/deb
install the ctrlx-datalayer Debian package (V1.9.1) sudo dpkg -i ctrlx-datalayer-1.9.1.deb
Install package containing required component dpkg-scanpackages sudo apt-get install dpkg-dev
Install debian package locally so that 'apt-get install' will find it (for building sample project snaps) dpkg-scanpackages -m . > Packages
Add package to sources list sudo sh -c "echo 'deb [trusted=yes] file:/home/boschrexroth/ctrlx-automation-sdk/deb ./' > /etc/apt/sources.list.d/ctrlx-automation.list" (path = /home/boschrexroth/ctrlx-automation-sdk/deb)
Use the newest sources list
sudo apt update
Install newest ctrlx-datalayer package sudo apt-get install -y ctrlx-datalayer
... View more