Re: yocto recipt from host ide
Sergey Ivanov <icegood1980@...>
toggle quoted messageShow quoted text
Thanks for efforts but none of the instructions does job well till the end (as many others that i've tried before). Main reasons :
1) For both: as i said, the project is with dependencies and cmake-based. It means, that in my cmake i have find_package things, that should be correctly resolved against stage sysroot (not against host!). It is especially crucial for qt, since without proper configuration you will not even be able to open project.
2) For qt:
2.1) there is no cmake override in setting, of course will not work. I've already tried to add override from <my_recipe>1.0.0-r0/recipe-sysroot-native but given cmake doesn't work for me.
2.2) i've almost taken as granted that i should deal with device first, but, as i said, i'm not even interest in the building of project, just 100% correct symbols resolution. While i will need a device (maybe) for other things like debugging in near future.
For resolution pitfalls you may found smth. like this:
and i just tired to explain how everything is wrong there in this regard, so bug is closed
3) For vscode:
they don't seem to be even correctly deal with custom sysroot and given instruction has nothing common with it. And seems there everything is wrong as well:
So, i'm interested in answers from devs that have 100% working environment (preferably own one) that cover 100% symbol resolution issue. And it could be just another IDE.
пт, 20 нояб. 2020 г. в 09:33, Josef Holzmayr <jester@...>:
Am Fr., 20. Nov. 2020 um 02:47 Uhr schrieb Khem Raj <raj.khem@...>: