petermoz / keyboard-anywhere

A virtual musical keyboard using the XBox Kinect, written in python and based on libfreenect.
www.youtube.com/watch?v=VgLp-KyK5g8
40 stars 15 forks source link

Problems in Ubuntu 12.04 LTS #1

Open gajo opened 12 years ago

gajo commented 12 years ago

Hi, any chance you could help me figure out how to fix keyboard_anywhere.py (or anything else) to work within Ubuntu 12.04 since it's giving out a following error: python: /build/buildd/sip4-4.13.2/siplib/siplib.c:7915: sip_api_can_convert_to_type: Assertion `(((td)->td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)' failed. As far as I can tell (a Python n00b) Python 4.8.1 is installed, and the only difference from the instructions you gave is that its now using freeglut library...and the pyQGLViewer's been installed from oneiric repos.

petermoz commented 12 years ago

Hi gajo

Sorry for the very slow reply - unfortunately I'm not running oeneric so it's going to be hard to debug. My guess is there's a PyQGLViewer problem somewhere, so I'd suggest removing the version from apt and installing it by hand.

You'll need Python 2.7 (run python --version to find out which one you have). Then get the latest version of the PyQGLViewer sources from https://gforge.inria.fr/frs/?group_id=773. You shouldn't have any issues building them, but if you do, it's probably due to missing dependencies - check the list in the README.

Peter