Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hugowhite opened this issue Aug 13, 2023 · 2 comments

Comments

@hugowhite
Copy link

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
Copy link

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

@piedar
Copy link
Contributor

piedar commented Jan 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants