OpenKinect / libfreenect

Drivers and libraries for the Xbox Kinect device on Windows, Linux, and OS X
http://openkinect.org
3.55k stars 1.15k forks source link

Error python3 install #597

Closed Huitzoo closed 4 years ago

Huitzoo commented 4 years ago

Hello, I'm trying install libfreenect in python 3.7.3. I followed the steps for compile libraries in the github page, but I'm getting the next error:

command 'x86_64-linux-gnu-gcc' failed with exit status 1.

I used this command for compile: cmake .. -DBUILD_PYTHON3=ON I installed python3-dev, cython == 0.27.3 and numpy==1.16.0 I use pop-os like operating system.

I would like If somebody can help me.

Huitzoo commented 4 years ago

I solved this changing the lines in the file freenect.c

tstate->exc_type for tstate->curexc_type tstate->exc_value for tstate->curexc_valuetmp_value tstate->exc_traceback for tstate->curexc_traceback.