boschrexroth / ctrlx-automation-sdk

ctrlX AUTOMATION Software Development Kit
https://boschrexroth.github.io/ctrlx-automation-sdk/
MIT License
60 stars 23 forks source link

`ctrlx-datalayer` missing on native Ubuntu SDK #46

Closed clausMeko closed 3 weeks ago

clausMeko commented 3 weeks ago

Hi,

I wanted to use ubuntu on my laptop to develop snaps. I was following your (simple) instruction.

However one package ctrlx-datalayer is missing when trying to create a sample snap:

(base) ➜  datalayer.client.ext git:(main) ✗ ./build-snap-arm64.sh
Cleaning up priming area
Cleaning up staging area
Cleaning up parts directory
*EXPERIMENTAL* --target-arch for core20 enabled.
Setting target machine to 'arm64'
Failed to fetch stage packages: Error downloading packages for part 'client': The package 'ctrlx-datalayer' was not found..

# confirming it was already installed
(base) ➜  ctrlx-automation-sdk git:(main) ✗ sudo apt install ~/Downloads/ctrlx-datalayer-2.6.1.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'ctrlx-datalayer' instead of '/home/clausbissinger/Downloads/ctrlx-datalayer-2.6.1.deb'
ctrlx-datalayer is already the newest version (2.6.1).
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.

Would you please assist to find a solution?

Cheers

albrecht-j commented 3 weeks ago

Hi,

maybe it helps if you refer directly the path to the datalayer package instead of using it in stage-packages.

which example do you want to build?

clausMeko commented 3 weeks ago

It's working now. I was only executing the scripts mentioned in readme.md.

I was missing mentioned in https://boschrexroth.github.io/ctrlx-automation-sdk/setup_windows_virtualbox_ubuntu.html#dependencies-for-crossbuild-multiarch:

sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y install libsystemd-dev:arm64
sudo apt-get -y install libsystemd-dev:amd64
sudo apt-get -y install libssl-dev:amd64
sudo apt-get -y install libssl-dev:arm64
sudo apt-get -y install libzmq3-dev:amd64
sudo apt-get -y install libzmq3-dev:arm64

Now we can actually build our snaps in a docker ci pipeline...

TY