Skip to contentSkip to conversation

python3 pygame under Pyro

DISCUSSION Mauro Ziliani 2 participants 4 messages Oct 2, 2019

lore
Share & tools
lore
#0 lore raw

Hi all.

I'm trying to build python3-pygame for and imx6dl board in Pyro.

Pygame needs SDL, but I don't know how to tell to bitbake for compile sdl before pygame.

I put libsdl-native into DEPENDS but doesn't work.

bitbake try to run sdl-config but it cannot find the file.

Any idea?

Best regards,

  MZ

#1 lore raw
Quoted 9 lines · Mauro Ziliani

Hi all.

I'm trying to build python3-pygame for and imx6dl board in Pyro.

Pygame needs SDL, but I don't know how to tell to bitbake for compile sdl before pygame.

Quoted 8 lines

I put libsdl-native into DEPENDS but doesn't work.

bitbake try to run sdl-config but it cannot find the file.

Any idea?

Does, DEPENDS += "libsdl2" help ?

Quoted 11 lines

Best regards,

MZ

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw

Adding libsdl2 to DEPENDS i get sdl2-config under the folder

tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/python3-pygame/1.9.6-r0/recipe-sysroot/usr/bin/crossscripts/sdl2-config

Il 03/10/19 00:01, Khem Raj ha scritto:

Quoted 28 lines · Mauro Ziliani
Quoted 8 lines

Hi all.

I'm trying to build python3-pygame for and imx6dl board in Pyro.

Pygame needs SDL, but I don't know how to tell to bitbake for compile sdl before pygame.

Quoted 8 lines

I put libsdl-native into DEPENDS but doesn't work.

bitbake try to run sdl-config but it cannot find the file.

Any idea?

Does, DEPENDS += "libsdl2" help ?

Quoted 10 lines

Best regards,

MZ

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#3 lore raw
Quoted 5 lines · Mauro Ziliani

Adding libsdl2 to DEPENDS i get sdl2-config under the folder

tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/python3-pygame/1.9.6-r0/recipe-sysroot/usr/bin/crossscripts/sdl2-config

yes and you should be able to use it.

Quoted 29 lines

Il 03/10/19 00:01, Khem Raj ha scritto:

Quoted 28 lines · Mauro Ziliani
Quoted 8 lines

Hi all.

I'm trying to build python3-pygame for and imx6dl board in Pyro.

Pygame needs SDL, but I don't know how to tell to bitbake for compile sdl before pygame.

Quoted 8 lines

I put libsdl-native into DEPENDS but doesn't work.

bitbake try to run sdl-config but it cannot find the file.

Any idea?

Does, DEPENDS += "libsdl2" help ?

Quoted 10 lines

Best regards,

MZ

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto