How could I add GTK+ to yocto bsp 2.1.0

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How could I add GTK+ to yocto bsp 2.1.0

5,554件の閲覧回数
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.

ラベル(5)
0 件の賞賛
返信
5 返答(返信)

3,651件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the document as below:

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

3,651件の閲覧回数
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 件の賞賛
返信

3,651件の閲覧回数
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 +

3,651件の閲覧回数
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 件の賞賛
返信

1,191件の閲覧回数
killedByBugs
Contributor III
Hi adelantesey,

Have you solved your problem? Would you mind sharing your solution if you had one? Thanks
0 件の賞賛
返信