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

CtrlX Core SDK build sample-snap failed with GCC 7.5.0 aarch64-linux-gnu

CtrlX Core SDK build sample-snap failed with GCC 7.5.0 aarch64-linux-gnu

SimonG
Member

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.

SimonG_3-1619084270579.png

SimonG_2-1619084123713.png

 

Also this message didn't disappears. 

SimonG_0-1619083819108.png

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

4 REPLIES 4

CodeShepherd
Community Moderator
Community Moderator

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.

 

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. 

SimonG_0-1619433782881.png

 

How can I start a Cmake clean all in VScode?

 

Thanks for your suggestion.

CodeShepherd
Community Moderator
Community Moderator

Just click on the CMAKE extension on the left and then use the settings (three dots):

CodeShepherd_0-1619438648339.png

 

After starting this command same message pops up. 

SimonG_0-1619440470531.png

 

but for now it does not seem to affect me further. 

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