You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have written a setup-aarch64.py for arm64, worked fine for me: from distutils.core import setup from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext import os os.environ['CFLAGS'] = "-I/usr/include/libusb-1.0" os.environ['LDFLAGS'] = "-L/usr/lib/aarch64-linux-gnu -lusb-1.0 -ludev -lrt"
I have written a setup-aarch64.py for arm64, worked fine for me:
from distutils.core import setup
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import os
os.environ['CFLAGS'] = "-I/usr/include/libusb-1.0"
os.environ['LDFLAGS'] = "-L/usr/lib/aarch64-linux-gnu -lusb-1.0 -ludev -lrt"
setup(
cmdclass = {'build_ext': build_ext},
ext_modules = [Extension("hid", ["hid.pyx", "hid-libusb.c"],
libraries=["usb-1.0", "udev", "rt"])]
)
The text was updated successfully, but these errors were encountered: