FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
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.
04-22-2021 11:47 AM
Hello community,
I'm trying to create the sample-snap "datalayer.register.node" for CtrlX Core. But it fails.
After switching cmake compiler to GCC 7.5.0 aarch64-linux-gnu message "Loading kit GCC 7.5.0 aarch64-linux-gnu" didn't disappears and building process failed.
Also this message didn't disappears.
If I create the snap for CtrlX virtual Core (GCC 7.5.0. x86_64-linux-gnu), building process works fine and the snap(app) is running without any problems on a virtual Core.
I think there is something wrong with the cmake cross compiler?!
Setup:
WSL Ubuntu 18.04
SDK V1.6.1 - RM20.11
Solved! Go to Solution.
04-22-2021 12:11 PM
Did you follow the installation step by step that can be found in the SDK (SDK1.6.1RM20.11/public/site/setup_windows_wsl_ubuntu.html)? Especially the "Setup Packages" and "Dependencies for Crossbuild (Multiarch)" part?
Please clean up your programming environment when changing from one target to another. E.g. do a CMake clean all or at least delete the folders set up by the process (like build, generated, ...). Probably you could have some artifacts left over.
04-26-2021 12:52 PM
While setup the SDK via WSL I obviously missed sudo apt-get install libssl-dev:arm64 🙈.
Now build process and snap is running without problems.
I have deleted the folders ( build, generated, ...).
But the messages still do not want to disappear.
How can I start a Cmake clean all in VScode?
Thanks for your suggestion.
04-26-2021 02:04 PM
Just click on the CMAKE extension on the left and then use the settings (three dots):
04-26-2021 02:40 PM
After starting this command same message pops up.
but for now it does not seem to affect me further.