Closed GrantEdwards closed 9 years ago
In order to get it to build I had to: 1) Get rid of this line in setup.py:
include_dirs = ["/usr/src/linux/include"],
2) Get rid of this line in spidev_module.c:
#define PyLong_Check(val) PyInt_Check(val)
Now it builds cleanly and installs. Don't know if it works yet...
Can you try with the latest commit?
I'm trying to install for Python 2.7 with kernel 3.18, and I get dozens of compiler errors (see below). So far, Google hasn't found me any answers (only people reporting the same problem). Any ideas?