FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
04-03-2024 10:00 AM
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.
Solved! Go to Solution.
04-03-2024 11:56 AM
Hello,
Same problem as Here: https://developer.community.boschrexroth.com/t5/SDK/SNAP-with-OpenCV-python-No-module-named-numpy-co...
04-03-2024 04:12 PM - edited 04-03-2024 04:16 PM
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 ?
04-03-2024 04:58 PM - edited 04-03-2024 04:59 PM
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.
04-04-2024 09:33 AM
Hello,
Understood the scope of SDK, thanks for the reply, i will try your suggestion refered in other post.
04-11-2024 07:34 PM - edited 04-11-2024 07:35 PM
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