Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

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

Cannot able to run a python based ARM64 snap in ctrlX CORE - X3

Cannot able to run a python based ARM64 snap in ctrlX CORE - X3

KiranGS
New Poster

Based on the SDK python-samples, i could successfully build and run a AMD64 snap in the ctrlX Virtual and even in AMD64 based X7 ctrlX CORE.

But the ARM64 snap built successfully, is not able to run in the X3 ctrlX CORE. It looks like the python dependencies are not getting linked / loaded properly. Could not able to figure out, how the normal build script in SDK, which works for AMD64 snap, is not working for ARM64 snap.

It is the same issue even for simple 'hello world' kind of ARM64 snap with python dependents (like Numy etc.)

Currently i have issues with loading Numpy, which later i will be adding other python dependents.

5 REPLIES 5

Hello,

Thanks for the quick reply.

If i need to compile and build a snap in a physical ARM64 device, while pulling the dependencies from internet. - in my case, its challenging from a Bosch Lab setup

so, at least from SDK samples context, do i have only the "snapcraft remote  build" option from launch pad to build an ARM64 snap ?!  ... and ..

Unlike other snaps (C++) which can be cross compiled from AMD system, Is there any Readme in SDK, that hints us how to snap these apps for/in ARM64 device ?

Hello, 

I know is difficult, i suggest to move to an x5 which ready to sell and this month and it is an AMD64 and has an architecture similar to Your PC. There is no other way. Tomorrow i will link some numpy examples to you that i know that are working.

The SDK is meant to start using the core and the Datalayer. It covers the standard datalayer usage and standard topics and cannot answer all the questions. 

Hello,

Understood the scope of SDK, thanks for the reply, i will try your suggestion refered in other post.

Hello,

Building my snap in an ARM64 device (Pi3 with Ubuntu Server) solved this problem.

Compared to Ubuntu Core (which needs classic confinement), I found building in Ubuntu Server is highly productive.

For Continous Integration system of these non-cross compilable applications, any guideleines / suggestions from ctrlX ?!

Thanks & Regards,

Kiran

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