2024-07-17 09:38 PM
Hello
We have built OpenSTLinux(Openstlinux-6.1-yocto-mickledore-mp1-v23.06.21) for stm32mp157f-dk2 Board and I have built st-image-weston image. Iam new to this Yocto,so I request you to help with the following:
Thanks & Regards
Srikanth.R
Solved! Go to Solution.
2024-08-14 07:37 AM
it seems that your executable is trying to link to the dynamic library libatomic.so which cannot be found in you file system default path under /lib so either import it manually to this placement or if you can use a static link method in your QT project to ensure that your executable can run in a standalone mode.
You can list the shared library dependencies which your executable is dependent upon. The ldd <name-of-executable>
command does that for you.
you can add the libatpomic.so by following this guide (see Include a prebuilt shared library) .
Regards
2024-07-19 09:32 AM
Hello @Srikanth1 ,
regarding you first request you can do changes and generate the .dts files with CubeMX tool this can be done by following this WIKI article which depict the steps to follow:
STM32 MPU device tree - stm32mpu
How to compile the device tree with the Developer Package - stm32mpu
regarding the second point you can follow the following this GitHub link to add support for QT:
STMicroelectronics/meta-st-x-linux-qt (github.com)
Regards
2024-07-25 10:06 PM
Hello
I apologise for the late response
We have changed the version to Openstlinux-5.15-yocto-kirkstone-mp1-v23.07.26 from Openstlinux-6.1-yocto-mickledore-mp1-v23.06.21 for for stm32mp157f-dk2 board.
We have successfully and flashed the image and executed the Qt-examples.But when we are trying to run a custom application(the executable file of Qt).But we get an error message.The error message is mentioned in the attached screenshot.
2024-08-14 07:37 AM
it seems that your executable is trying to link to the dynamic library libatomic.so which cannot be found in you file system default path under /lib so either import it manually to this placement or if you can use a static link method in your QT project to ensure that your executable can run in a standalone mode.
You can list the shared library dependencies which your executable is dependent upon. The ldd <name-of-executable>
command does that for you.
you can add the libatpomic.so by following this guide (see Include a prebuilt shared library) .
Regards