Building core-image-weston/x11 with custom rust/gtk3 app


Artur Czajkowski <atch.cpp@...>
 

Fair enough,
As it happens both, the layer and the rust/gtk3 app are in the github :)


Thank you
Artur


On Thu, Apr 14, 2022 at 7:39 PM Alexander Kanavin <alex.kanavin@...> wrote:
What I mean is that you publish the layer in a git repository, such as github :)

Alex

On Thu, 14 Apr 2022 at 17:48, Artur Czajkowski <atch.cpp@...> wrote:
Hi and thank you for your reply.
I've published that layer as suggested. Btw, inheriting pkgconfig didn't help. I still got exactly the same errors.
Compressed Meta-Layer: https://ufile.io/41rz18xp
Compilation errors: https://ufile.io/7qu9l10i

Thank you

On Tue, Apr 12, 2022 at 1:05 PM Alexander Kanavin <alex.kanavin@...> wrote:
The error is about not being able to find pkg-config executable, so you need to inherit pkgconfig in the recipe.

It helps if you publish the layer somewhere instead of attaching it to the email.

Alex

On Tue, 12 Apr 2022 at 12:57, 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?
P.S.
Please find all necessary files attached

Thank you


--





--


Artur Czajkowski <atch.cpp@...>
 

Hi and thank you for your reply.
I've published that layer as suggested. Btw, inheriting pkgconfig didn't help. I still got exactly the same errors.
Compressed Meta-Layer: https://ufile.io/41rz18xp
Compilation errors: https://ufile.io/7qu9l10i

Thank you


On Tue, Apr 12, 2022 at 1:05 PM Alexander Kanavin <alex.kanavin@...> wrote:
The error is about not being able to find pkg-config executable, so you need to inherit pkgconfig in the recipe.

It helps if you publish the layer somewhere instead of attaching it to the email.

Alex

On Tue, 12 Apr 2022 at 12:57, 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?
P.S.
Please find all necessary files attached

Thank you


--





Alexander Kanavin
 

What I mean is that you publish the layer in a git repository, such as github :)

Alex


On Thu, 14 Apr 2022 at 17:48, Artur Czajkowski <atch.cpp@...> wrote:
Hi and thank you for your reply.
I've published that layer as suggested. Btw, inheriting pkgconfig didn't help. I still got exactly the same errors.
Compressed Meta-Layer: https://ufile.io/41rz18xp
Compilation errors: https://ufile.io/7qu9l10i

Thank you

On Tue, Apr 12, 2022 at 1:05 PM Alexander Kanavin <alex.kanavin@...> wrote:
The error is about not being able to find pkg-config executable, so you need to inherit pkgconfig in the recipe.

It helps if you publish the layer somewhere instead of attaching it to the email.

Alex

On Tue, 12 Apr 2022 at 12:57, 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?
P.S.
Please find all necessary files attached

Thank you


--





--


Alexander Kanavin
 

The error is about not being able to find pkg-config executable, so you need to inherit pkgconfig in the recipe.

It helps if you publish the layer somewhere instead of attaching it to the email.

Alex


On Tue, 12 Apr 2022 at 12:57, 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?
P.S.
Please find all necessary files attached

Thank you


--




Artur Czajkowski <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?
P.S.
Please find all necessary files attached

Thank you


--