Open derpston opened 10 years ago
I don't really have any time to spend on this project for the foreseeable future, so I will not be able to assist with this problem. If you solve the problems however, I would be happy to accept pull requests for it.
py3k support is on the way thanks to @rmca: https://github.com/rmca/python-v4l2capture/tree/py3k
This module won't build under python 3:
If I attempt to work around that my hackily commenting it out, the module builds but can't be imported:
That can be fixed by using PyBytes* instead of PyString*, but then:
So I try to change that to PyLong_FromLong as suggested here and here
After fixing that, the next problem is:
According to here I should change that to InitModule, not InitModule3 or 4. But:
So, following a suggestion here to link with --export-dynamic, I tried modifying:
to
but the error remains the same:
At this point, I reached the limit of my ability to hack around with this, and I need an adult. Any ideas for what might be needed to make this module compatible with python 3?