Building a core-image-weston with custom app using rust and gtk3


atch.cpp@...
 

Hello,
I'm having real difficulties in compiling a Rust app that uses gtk3 (this app successfully builds and runs on my host machine). I'm on the master branch of poky, using rust 1.59.
Is this still untested and unstabilized feature, that is gtk-rs bindings in yocto?

Thank you


Alexander Kanavin
 

It helps if you show the error messages. Otherwise, the only thing we can say in response is 'yes, apparently'.

Alex


On Sat, 2 Apr 2022 at 10:53, Artur Czajkowski <atch.cpp@...> wrote:
Hello,
I'm having real difficulties in compiling a Rust app that uses gtk3 (this app successfully builds and runs on my host machine). I'm on the master branch of poky, using rust 1.59.
Is this still untested and unstabilized feature, that is gtk-rs bindings in yocto?

Thank you




Artur Czajkowski <atch.cpp@...>
 

Hi and thank you for your reply.
Please find all the necessary info in the attachments:
a) Output from command: "bitbake rg" in file rg.bb_compile_error <- rg is a recipe with the rust application
b) rg.bb <-recipe with the rust application
c) bblayers.conf
d) local.conf
d) meta-custom-layer.7z <-compressed layer where the rg.bb recipe resides
 
As a note, I just add that the error from the output is misleading because I do have pkg-config installed. Also, I am able to build and run that rust app on my host machine without any problems.
 
Once again thank you for your interest and I hope you'll be able to help me with that issue.


Alexander Kanavin
 

There are no attachments though.

Alex

On Tue, 12 Apr 2022 at 12:57, Artur Czajkowski <atch.cpp@...> wrote:

Hi and thank you for your reply.
Please find all the necessary info in the attachments:
a) Output from command: "bitbake rg" in file rg.bb_compile_error <- rg is a recipe with the rust application
b) rg.bb <-recipe with the rust application
c) bblayers.conf
d) local.conf
d) meta-custom-layer.7z <-compressed layer where the rg.bb recipe resides

As a note, I just add that the error from the output is misleading because I do have pkg-config installed. Also, I am able to build and run that rust app on my host machine without any problems.

Once again thank you for your interest and I hope you'll be able to help me with that issue.