Open danryu opened 10 years ago
By the way - the keyboard is working fine - it's very responsive in fact. It's just the re-positioning which isn't working yet. I haven't had a chance to debug the error I quoted yet, but I will have a dig into the code soon. If you have any suspicions or ideas, let me know! Thanks
Hi, Your project looked too fun not to try out. I have it up and running, with Ubuntu 14.04 64bit. I pieced together a few guides, and posted my process at http://techtinker.net/2014/06/19/kinect-hack-funtime/ Basically, I had to do a couple of tiny hacks. When building PyQGLViewer, this was spat out during "make":
`In file included from src/sip/domUtils.sip:29:0: /home/dan/openkin/libQGLViewer-2.3.17-py/QGLViewer/domUtils.h:25:20: fatal error: QGlobal: No such file or directory
include
compilation terminated.`
So I simply commented out that line in domUtils.h, as an experiment. It compiled, and I installed. I also did the hack for the latest version of PyQGLViewer (change line 77 of PyQGLViewer-0.12/setup.py to: return [lib, 'GLU']) which you've already advised in the issues.
Now I am running keyboard_anywhere.py and it looks great - but when I hit "1" and do Shift-Click as your instructions advise, I get this in the terminal:
Traceback (most recent call last): File "keyboard_anywhere.py", line 353, in select pos = event.pos() AttributeError: 'QPoint' object has no attribute 'pos'
Is this a result of my earlier QGlobal hack, or is this some other porting issue perhaps which will take longer to dig out? (I don't know this Python GL stuff at all by the way.)