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

Python3 wrapper, c1: fatal error C1083: Cannot open source file: 'freenect.c': No such file or directory #676

Open hugowhite opened 10 months ago

hugowhite commented 10 months ago

I am trying to install the python3 wrapper I believe I have freenect installed correctly as the test exes work correctly but when I open the wrappers/python/setup.py this error comes up. I believe its because its trying to call it based on the assumption I have the python wrapper. Do I need to rebuild with the original python wrapper aswell as the python 3 one or do I need to edit setup.py to work with calling freenect3.c instead of freenect.c as that is the only thing I can think of as I do not have a freenect.c file. Any help would be greatly appreciated I have been slowly working through the install for the past few days but this step is really stumping me.

MysticalApple commented 6 months ago

Has any solution been found yet? I'm having the same issue.

piedar commented 6 months ago

The setup.py file was never really updated. I build the python wrapper via cmake like this.

mkdir build && cd build
cmake .. -L -DBUILD_PYTHON3=ON
make