![]() ![]() Zbarmodule.c:146:21: warning: initialization of ‘PyObject *’ from ‘int’ makes pointer from integer without a cast Zbarmodule.c:146:21: warning: implicit declaration of function ‘Py_InitModule’ ġ46 | PyObject *mod = Py_InitModule("zbar", zbar_functions) Zbarmodule.c:137:13: warning: ‘return’ with no value, in function returning non-void ![]() Zbarmodule.c:129:9: warning: ‘return’ with no value, in function returning non-void Zbarmodule.c:115:34: note: each undeclared identifier is reported only once for each function it appears in Zbarmodule.c:115:34: error: ‘PyInt_Type’ undeclared (first use in this function) did you mean ‘PySet_Type’?ġ15 | zbarEnumItem_Type.tp_base = &PyInt_Type Zbarmodule.c:112:9: warning: ‘return’ with no value, in function returning non-void usr/include/zbar.h:269:12: note: declared hereĢ69 | extern int zbar_version(unsigned *major, Zbarmodule.c:66:5: error: too few arguments to function ‘zbar_version’ Zbarmodule.h:42:5: error: unknown type name ‘PyIntObject’Ĥ2 | PyIntObject val /* integer value is super type */ X86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c zbarmodule.c -o build/temp.linux-x86_64-3.8/zbarmodule.o This error shows up when I install Zbar pip3 install zbarĮrror Building wheel for zbar (setup.py). ![]() It was installed earlier but this error shows up again sudo apt-get install libzbar-dev ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |