Skip to content

Install Sources from github

Introduction

If you want to contribute the ctrlX AUTOMATION SDK you have to clone the github repository https://github.com/boschrexroth/ctrlx-automation-sdk.git.

After this step you have to merge the runtime content of ths ctrlX AUTOMATION SDKs zip archive into this repo.

These jobs can be initiated by install-sdk-from-github.sh located in the ctrlX AUTOMATION SDK folder scripts/

Installing a Runnable Repository

When the script is finished the ctrlX AUTOMATION SDK is installed into the directory ctrlx-automation-sdk and sample projects can be build at once.

Build Sample Project

To build a sample project do following steps:

Change directory e.g.:

cd ctrlx-automation-sdk/public/samples-cpp/datalayer.provider.all-data

Build snap:

build-snap-amd64.sh

Troubleshooting

github grants only a a limited number of accesses to its repositories. If you are behind a proxy this number can be exceeded very fast. In this case the download of the zip archive fails.

To avoid this you need a github account and a personal access token - see Creating a personal access token

Open the script install-sdk-from-github.sh search the line beginning with LATEST=$(curl -s and add this information:

From

LATEST=$(curl -s ...

change to e.g.

LATEST=$(curl -s -u usrxyz:tokenxyz ...