Trying to get PyGame working (libsdl2 will not compile)

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

Trying to get PyGame working (libsdl2 will not compile)

2,905件の閲覧回数
dominicamann
Contributor III

Building for imx6qsabresd, core-image-x11 or core-image-clutter, libsdl2 will not compile. It gives a bunch of missing egl-> members such as egl->data, egl->surface in SDL_x11_window.c.

Am I missing a pre-requisite for libsdl2?

libsdl does build, but pygame fails to run, giving bad opcode major 149 errors.

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

2,304件の閲覧回数
dominicamann
Contributor III

Replying to my own question. We now have PyGame working, but with sdl, not sdl2. Next stage is kivy (which we are completely stick on).

0 件の賞賛
返信

2,304件の閲覧回数
josedejesuspere
Contributor I

Hello Dominic,

How did you do that??

I am trying to include pygame, but I am still having the same issue..

Thanks in advance,

Jesus

0 件の賞賛
返信

2,304件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Dominic,

I have not tested pygame, neither libsdl2, however latest yocto for sabresd local.conf include the ASSUME_PROVIDED += "libsdl-native", I guess you will need to check if the libsdl2 package is included in the image graphics recipe, if not please add this package:

Yocto Package Report System

Hope this helps

0 件の賞賛
返信

2,304件の閲覧回数
dominicamann
Contributor III

BTW - I am talking about building yocto using a provided libsdl2 recipe (by adding it to my local.conf) - it is this recipe that is not working.

0 件の賞賛
返信