cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

problem with snap generation

problem with snap generation

Axay
Established Member

Hello Everyone, 

I am using ctrlX Works V 1.20 and i created app buid Environment. I installed the SDK which has V 2.2. now when i am tring to generate the snap i have this error:

Axay_0-1696333840606.png

Is it because of SDK version or? also is there any way that i can use the SDK V1.20 with my current version of ctrlX Works.

I referred below post but still unable to generate the snap: https://developer.community.boschrexroth.com/t5/SDK/Error-SDK-V1-18-Not-able-to-snap-because-the-pac...

Thank you!!

 

5 REPLIES 5

Sgilk
Contributor

Hello,

If you followed the instructions in the linked post, you should have installed SDK V1.20. I'd first try to run the build script with root permission (sudo ./build-a...)

Can you build one of the Python samples? I'm wondering if this is a problem with CMake rather than the SDK libs.

Axay
Established Member

Hello, 

When we create the app buid environment and run install-sdk.sh, it install ctrlX AUTOMATION SDK with version 2.2.3 not SDK V1.20.

That is correct. The install script will grab the latest SDK. If you want to install a specific version, you can manually download from Github or modify the install script, as @nickH described in the post linked above.

 

#!/usr/bin/env bash
sudo snap install snapcraft --classic
source install-deb.sh

sudo apt-get install jq -y

rm ctrlx-automation-sdk-*.zip*
rm ctrlx-datalayer-*.deb*


wget https://github.com/boschrexroth/ctrlx-automation-sdk/releases/download/1.16.0/ctrlx-automation-sdk-1.16.0.zip


unzip -XK $(ls ctrlx-automation-sdk-*.zip) -d sdk-1-16
chmod a+x sdk-1-16/ctrlx-automation-sdk/bin/oss.flatbuffers*/ubuntu20-gcc-*/release/flatc 
chmod a+x sdk-1-16/ctrlx-automation-sdk/bin/framework/ubuntu20-gcc-*/rexroth-automation-frame
find sdk-1-16/ctrlx-automation-sdk/ -name '*.sh' -exec chmod +x {} \;

sudo dpkg -r ctrlx-datalayer
sudo dpkg -i sdk-1-16/ctrlx-automation-sdk/deb/ctrlx-datalayer-*.deb

 

 

Usalas
Established Member

Thanks for this information. i run into same issue. and i modified download-sdk.sh. them execute install-sdk.sh.

attached some images. 

nickH
Community Moderator
Community Moderator

You can also take a look at my post here

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist