Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi:~/rpi-fb-matrix/rpi-rgb-led-matrix/bindings/python $ sudo apt-get update && sudo apt-get install python3-dev python3-pillow -y
- Пол:1 http://archive.raspberrypi.org/debian bullseye InRelease [23,5 kB]
- Пол:2 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [242 kB]
- Пол:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB]
- Пол:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13,2 MB]
- Получено 13,5 MB за 11с (1.241 kB/s)
- Чтение списков пакетов… Готово
- N: Репозиторий «http://archive.raspberrypi.org/debian bullseye InRelease» изменил значение поля «Suite» с «unstable» на «stable»
- Чтение списков пакетов… Готово
- Построение дерева зависимостей… Готово
- Чтение информации о состоянии… Готово
- Заметьте, вместо «python3-pillow» выбирается «python3-pil»
- Уже установлен пакет python3-dev самой новой версии (3.9.2-3).
- python3-dev помечен как установленный вручную.
- Уже установлен пакет python3-pil самой новой версии (8.1.2+dfsg-0.3).
- python3-pil помечен как установленный вручную.
- Следующий пакет устанавливался автоматически и больше не требуется:
- libfuse2
- Для его удаления используйте «sudo apt autoremove».
- Обновлено 0 пакетов, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 92 пакетов не обновлено.
- pi@raspberrypi:~/rpi-fb-matrix/rpi-rgb-led-matrix/bindings/python $ make build-python PYTHON=$(which python3)
- make -C ../../lib
- make[1]: вход в каталог «/home/pi/rpi-fb-matrix/rpi-rgb-led-matrix/lib»
- g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o gpio.o gpio.cc
- g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o led-matrix.o led-matrix.cc
- g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o options-initialize.o options-initialize.cc
- g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o framebuffer.o framebuffer.cc
- g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o thread.o thread.cc
- g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o bdf-font.o bdf-font.cc
- g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o graphics.o graphics.cc
- g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o transformer.o transformer.cc
- g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o led-matrix-c.o led-matrix-c.cc
- cc -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -c -o hardware-mapping.o hardware-mapping.c
- g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o content-streamer.o content-streamer.cc
- g++ -I../include -Wall -O3 -g -fPIC -DDEFAULT_HARDWARE='"regular"' -Wextra -Wno-unused-parameter -fno-exceptions -c -o multiplex-transformers.o multiplex-transformers.cc
- ar rcs librgbmatrix.a gpio.o led-matrix.o options-initialize.o framebuffer.o thread.o bdf-font.o graphics.o transformer.o led-matrix-c.o hardware-mapping.o content-streamer.o multiplex-transformers.o
- g++ -shared -Wl,-soname,librgbmatrix.so.1 -o librgbmatrix.so.1 gpio.o led-matrix.o options-initialize.o framebuffer.o thread.o bdf-font.o graphics.o transformer.o led-matrix-c.o hardware-mapping.o content-streamer.o multiplex-transformers.o -lpthread -lrt -lm -lpthread
- make[1]: выход из каталога «/home/pi/rpi-fb-matrix/rpi-rgb-led-matrix/lib»
- /usr/bin/python3 setup.py build --build-lib .
- running build
- running build_py
- running build_ext
- building 'core' extension
- creating build
- creating build/temp.linux-armv7l-3.9
- creating build/temp.linux-armv7l-3.9/rgbmatrix
- arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../../include -I/usr/include/python3.9 -c rgbmatrix/core.cpp -o build/temp.linux-armv7l-3.9/rgbmatrix/core.o -O3 -Wall
- rgbmatrix/core.cpp: In function ‘PyObject* PyInit_core()’:
- rgbmatrix/core.cpp:8478:38: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
- 8478 | __pyx_type_9rgbmatrix_4core_Canvas.tp_print = 0;
- | ^~~~~~~~
- rgbmatrix/core.cpp:8489:43: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
- 8489 | __pyx_type_9rgbmatrix_4core_FrameCanvas.tp_print = 0;
- | ^~~~~~~~
- rgbmatrix/core.cpp:8500:41: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
- 8500 | __pyx_type_9rgbmatrix_4core_RGBMatrix.tp_print = 0;
- | ^~~~~~~~
- rgbmatrix/core.cpp:8506:48: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
- 8506 | __pyx_type_9rgbmatrix_4core_RGBMatrixOptions.tp_print = 0;
- | ^~~~~~~~
- In file included from /usr/include/python3.9/unicodeobject.h:1026,
- from /usr/include/python3.9/Python.h:97,
- from rgbmatrix/core.cpp:4:
- rgbmatrix/core.cpp: In function ‘int __Pyx_ParseOptionalKeywords(PyObject*, PyObject***, PyObject*, PyObject**, Py_ssize_t, const char*)’:
- /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- | ^
- /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
- 261 | PyUnicode_WSTR_LENGTH(op) : \
- | ^~~~~~~~~~~~~~~~~~~~~
- rgbmatrix/core.cpp:8884:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
- 8884 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
- 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- | ^
- rgbmatrix/core.cpp:8884:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
- 8884 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
- 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- | ^~~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- | ^
- /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
- 264 | PyUnicode_WSTR_LENGTH(op)))
- | ^~~~~~~~~~~~~~~~~~~~~
- rgbmatrix/core.cpp:8884:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’
- 8884 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
- 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- | ^
- /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
- 261 | PyUnicode_WSTR_LENGTH(op) : \
- | ^~~~~~~~~~~~~~~~~~~~~
- rgbmatrix/core.cpp:8884:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
- 8884 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
- 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- | ^
- rgbmatrix/core.cpp:8884:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
- 8884 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
- 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- | ^~~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- | ^
- /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
- 264 | PyUnicode_WSTR_LENGTH(op)))
- | ^~~~~~~~~~~~~~~~~~~~~
- rgbmatrix/core.cpp:8884:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’
- 8884 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
- 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- | ^
- /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
- 261 | PyUnicode_WSTR_LENGTH(op) : \
- | ^~~~~~~~~~~~~~~~~~~~~
- rgbmatrix/core.cpp:8900:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
- 8900 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
- 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- | ^
- rgbmatrix/core.cpp:8900:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
- 8900 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
- 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- | ^~~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- | ^
- /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
- 264 | PyUnicode_WSTR_LENGTH(op)))
- | ^~~~~~~~~~~~~~~~~~~~~
- rgbmatrix/core.cpp:8900:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’
- 8900 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
- 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- | ^
- /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
- 261 | PyUnicode_WSTR_LENGTH(op) : \
- | ^~~~~~~~~~~~~~~~~~~~~
- rgbmatrix/core.cpp:8900:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
- 8900 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
- 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:262:52: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- | ^
- rgbmatrix/core.cpp:8900:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
- 8900 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
- 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- | ^~~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:451:75: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- | ^
- /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’
- 264 | PyUnicode_WSTR_LENGTH(op)))
- | ^~~~~~~~~~~~~~~~~~~~~
- rgbmatrix/core.cpp:8900:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’
- 8900 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
- 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
- make: *** [Makefile:67: build-python] Ошибка 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement