How could I add GTK+ to yocto bsp 2.1.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How could I add GTK+ to yocto bsp 2.1.0

4,756 Views
adelantesey
Contributor IV

Hello all,

I have imx6solox sabresd board.

how could i use gtk+ library with yocto bsp 2.1.0?

how could i find out if it is already installed or not?

which platform (fb, x11 ...) is better to work with gtk+?

please put me in the right direction.

thanks in advanced.

0 Kudos
5 Replies

2,853 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the document as below:

https://community.nxp.com/docs/DOC-1476 

2,853 Views
adelantesey
Contributor IV

Hi Joan,

thanks for the reply.

but it is 5 years old and suggest LTIB!

is there a solution with YOCTO?

kind regards

0 Kudos

2,853 Views
joanxie
NXP TechSupport
NXP TechSupport

when you build the yocto , pls choose the image includes x11, if you build the image successfully, which should include the GTK +

2,853 Views
adelantesey
Contributor IV

Dear Joan,

Thanks for the reply.

I built core-image-sato . it has gtk+ but not the library and headers for development. just contains the examples and demo.

I also built the gtk+3 recipe : $bitbake gtk+3

it got competed successfully. but there are whole bunch of files and folders of different packages! i dont know which is needed for gtk+ because 

if just jtk+ was needed why all of them are built! 

I think I should, somehow, populate them in a rootfs imagg, but this: $bitbake gtk+3 -c rootfs -f

returns an error: do_rootfs does not exist for gtk+3

have you any idea how could i merge the built gtk+3 and its packages into a rootfs by means of bitbake?

ps: in <tmp> directory I have <sysroot> and <work>  and very different packages including gtk+ which all are built by $bitbake gtk+3

Thank you in advanced

0 Kudos

393 Views
killedByBugs
Contributor II
Hi adelantesey,

Have you solved your problem? Would you mind sharing your solution if you had one? Thanks
0 Kudos