Re: yocto recipt from host ide


Josef Holzmayr
 

Am Fr., 20. Nov. 2020 um 02:47 Uhr schrieb Khem Raj <raj.khem@gmail.com>:

On Thu, Nov 19, 2020 at 1:48 PM Sergey Ivanov <icegood1980@gmail.com> wrote:

Hi there.
Could anyone share a good approach/documentation/etc on how to
properly configure and use sysroot and sdk for a specific cmake - based c++ receipt
to be able to build it from IDE (vscode, qtcreator) on linux host i.e.

1) ide's --sysroot will be taken from
yocto-root/build/tmp/work/aarch64-poky-linux/<my_recipe>1.0.0-r0/recipe-sysroot
2) compilers and cmake (i believe) will be taken from
yocto-root/build/tmp/work/aarch64-poky-linux/<my_recipe>1.0.0-r0/recipe-sysroot-native
3) no mix of includes from host will be taken into account during the compilation

If none of ide above could do this stuff, then please recommend your one

For this moment i don't want run/debug the application right from ide, i just want to have all symbols be correctly resolved from there.
does this help ?
https://www.ics.com/blog/configuring-qt-creator-yocto-development
also, https://github.com/Wind-River/vscode-wrlinux/


--
Kind regards,
Sergey Ivanov



Join yocto@lists.yoctoproject.org to automatically receive all group messages.