![]() Kivy determines automatically the sub-packages to build based on the environment it is compiled within. ![]() sh # Generate wheels for Raspberry Pi OS Buster (32 bit, Python 3.7) generate_rpi_wheels balenalib / raspberrypi3 - debian - python : 3.7 - buster # Generate wheels for Raspberry Pi OS Bullseye (32 bit, Python 3.9) generate_rpi_wheels balenalib / raspberrypi3 - debian - python : 3.9 - bullseye To cross-compile the wheels, you need to run the following commands: We have an helper, named generate_rpi_wheels, that can be used to easily generate the wheels and copy the artifacts for Raspberry Pi OS Buster/Bullseye (32 bit). Which makes it possible to include/exclude RPi specific features (like the egl_rpi window provider) during the build process. The raspberrypi3 balenalib images have almost the same environment as the real Raspberry Pi OS Buster/Bullseye (32 bit) system, The docker images are built using the Dockerfile.armv7l file in the. The base images used for cross-compilation are the balenalib images for raspberrypi3 (buster and bullseye). Kivy performs a dockerized cross-compilation for Raspberry Pi OS Buster/Bullseye (32 bit) wheels. list \Īpt - get - y install - t buster - backports cmake \įi Cross-Compilation for Raspberry Pi OS Buster/Bullseye (32 bit) ¶ Libegl1 - mesa - dev libdbus - 1 - dev libibus - 1.0 - dev libudev - dev fcitx - libs - dev apt - get install xorg wget libxrender - dev lsb - release libraspberrypi - dev raspberrypi - kernel - headers # If we're on Debian buster, we need to install cmake from backports as the cmake version # in buster is too old to build sdl2 if then \Įcho "deb buster-backports main" > / etc / apt / sources. ![]() Libxkbcommon - dev libdrm - dev libgbm - dev libgl1 - mesa - dev libgles2 - mesa - dev \ Libxrandr - dev libxcursor - dev libxfixes - dev libxi - dev libxss - dev libwayland - dev \ Libjack - dev libsndio - dev libsamplerate0 - dev libx11 - dev libxext - dev \ Pkg - config cmake ninja - build libasound2 - dev libpulse - dev libaudio - dev \ Sudo apt update apt - get - y install build - essential git make autoconf automake libtool \
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |