Skip to content

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

Open

Description

@hugowhite

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.

Activity

  1. MysticalApple commented on Dec 10, 2023

    @MysticalApple

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

  2. piedar commented on Jan 1, 2024

    @piedar
    Contributor

    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
    
  3. XHao1997 commented on Apr 3, 2025

    @XHao1997

    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
    

    I tried this, but still doesn't work. I test it in Ubuntu 20.04

  4. hbmartin commented on May 14, 2025

    @hbmartin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions